About Memlane
Memlane connects a personal library of saved links and notes to AI assistants, with semantic search and tools to read and organize saved content. It supports a local API-key setup and a hosted endpoint using OAuth.
Key features
- 01Semantic search across saved items
- 02Browse and filter library entries
- 03Read full saved articles
- 04Capture URLs and edit notes
- 05Organize items by project and topic
Use cases
- 01Find saved material by meaning
- 02Read the full text of saved articles
- 03Save a URL or edit a note
- 04Add or remove topics on saved items
MCP support
Exposes tools for searching, browsing, reading, capturing, and organizing Memlane library items to MCP clients. The local server uses an API key; remote clients can connect through an OAuth endpoint.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
10Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Natural-language search query |
| limit | integer | No |
Details
From the project README@memlane/mcp
Connect Memlane, your personal library of saved links and notes, to AI assistants that support local MCP servers.
Prerequisites
Configuration
This server runs locally via stdio. Most compatible hosts use the same JSON shape:
{
"mcpServers": {
"memlane": {
"command": "npx",
"args": ["-y", "@memlane/mcp"],
"env": {
"MEMLANE_API_KEY": "ml_live_…"
}
}
}
}
| Variable | Required | Default |
|---|---|---|
MEMLANE_API_KEY | Yes | n/a |
MEMLANE_API_URL | No | https://api.memlane.io |
After npm install -g @memlane/mcp, you can use "command": "memlane-mcp" instead of npx.
Supported hosts
| Host | Where to add the config |
|---|---|
| Cursor | Settings → MCP, or .cursor/mcp.json in a project |
| Claude Code | claude mcp add memlane -- npx -y @memlane/mcp (pass -e MEMLANE_API_KEY=…) |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code + Copilot | .vscode/mcp.json — see below |
| Gemini CLI | ~/.gemini/settings.json |
For ChatGPT and Claude Desktop, use the remote MCP endpoint instead (OAuth, no API key).
Restart the host app after editing config files.
VS Code
VS Code uses "servers" as the root key (not "mcpServers"):
{
"servers": {
"memlane": {
"command": "npx",
"args": ["-y", "@memlane/mcp"],
"env": {
"MEMLANE_API_KEY": "ml_live_…"
}
}
}
}
Enable MCP in VS Code settings: "chat.mcp.enabled": true.
ChatGPT and remote MCP hosts
ChatGPT, Claude Desktop, Claude on the web, and other remote MCP clients cannot run npx. Use Memlane's hosted endpoint instead:
URL: https://api.memlane.io/mcp
- In your AI app, add a custom MCP connector with that URL.
- Complete the OAuth sign-in flow (Memlane account: magic link or future social providers).
- Approve access on the consent screen.
No API key required. Disconnect by removing the connector in your AI app's settings.
Tools
The local server exposes 10 MCP tools. Full function reference:
- docs/TOOLS.md — what each tool does, parameters, return shapes, and workflow tips
- docs/API.md — REST mappings, auth scopes, and curl examples
| Tool | Description |
|---|---|
search_saves | Semantic search over your library |
list_saves | Browse saves with filters (project, topic, kind, status) |
get_save | Fetch metadata; optional full markdown body |
capture_url | Save a URL (enrichment runs in the background) |
create_note / update_note | Create or edit markdown notes |
list_projects / list_topics | List projects and topics |
add_topic_to_save / remove_topic_from_save | Tag or untag a save |
Security
API keys are secrets. Store them in your MCP host's environment config. Never commit them to version control. Revoke a leaked key in Manage → Connections → API keys.
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.