AFFiNE MCP Server
Read, write and organise AFFiNE workspaces, docs, databases and comments from an MCP client
Search, save, tag and organise bookmarks, lists and highlights in a Karakeep instance
Official · Karakeep App JavaScript Local · stdio ProductivityKnowledge and memory
56 popularity score ★ 30k ↓ 1.0k/wk
Opens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.
It needs KARAKEEP_API_ADDR, KARAKEEP_API_KEY. Replace each <NAME> with your value.
claude mcp add karakeep -e KARAKEEP_API_ADDR=<KARAKEEP_API_ADDR> -e KARAKEEP_API_KEY=<KARAKEEP_API_KEY> -- npx -y @karakeep/mcp{
"mcpServers": {
"karakeep": {
"command": "npx",
"args": [
"-y",
"@karakeep/mcp"
],
"env": {
"KARAKEEP_API_ADDR": "<KARAKEEP_API_ADDR>",
"KARAKEEP_API_KEY": "<KARAKEEP_API_KEY>"
}
}
}
}{
"mcpServers": {
"karakeep": {
"command": "npx",
"args": [
"-y",
"@karakeep/mcp"
],
"env": {
"KARAKEEP_API_ADDR": "<KARAKEEP_API_ADDR>",
"KARAKEEP_API_KEY": "<KARAKEEP_API_KEY>"
}
}
}
}{
"servers": {
"karakeep": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@karakeep/mcp"
],
"env": {
"KARAKEEP_API_ADDR": "<KARAKEEP_API_ADDR>",
"KARAKEEP_API_KEY": "<KARAKEEP_API_KEY>"
}
}
}
}[mcp_servers.karakeep]
command = "npx"
args = ["-y", "@karakeep/mcp"]
[mcp_servers.karakeep.env]
KARAKEEP_API_ADDR = "<KARAKEEP_API_ADDR>"
KARAKEEP_API_KEY = "<KARAKEEP_API_KEY>"gemini mcp add --scope user -e KARAKEEP_API_ADDR=<KARAKEEP_API_ADDR> -e KARAKEEP_API_KEY=<KARAKEEP_API_KEY> karakeep npx -- -y @karakeep/mcpKARAKEEP_API_ADDR |
Required: Address of your Karakeep server, e.g. https://cloud.karakeep.app. |
|---|---|
KARAKEEP_API_KEY |
Required: API key from your Karakeep settings page. |
KARAKEEP_CUSTOM_HEADERS |
Optional: JSON object of extra HTTP headers sent to the server, e.g. Cloudflare Access client id and secret. |
The Karakeep MCP Server connects an assistant to Karakeep, the bookmark manager, so it can work with your saved data. It can search bookmarks and read their content, create text and URL bookmarks, update and delete them, and manage lists (including smart lists), tags and highlights. It can also get temporary signed download links for stored assets. The server only offers tools; it exposes no resources.
It is published by the Karakeep project from the apps/mcp folder of the main Karakeep repository, as the npm package @karakeep/mcp and the container image ghcr.io/karakeep-app/karakeep-mcp.
To use it you need a Karakeep instance, either self-hosted or the hosted cloud.karakeep.app, and an API key from your Karakeep settings page. The address of the instance and the key are passed as environment variables. Extra HTTP headers can be added, for example Cloudflare Access credentials when the instance sits behind Cloudflare Access.
| Runtime | Node.js |
|---|
search-bookmarksget-bookmarkget-bookmark-contentget-bookmark-listscreate-bookmarkupdate-bookmarkdelete-bookmarkget-listsget-listcreate-listupdate-listdelete-listget-list-bookmarksadd-bookmark-to-listremove-bookmark-from-listget-tagsget-tagupdate-tagdelete-tagget-tag-bookmarksattach-tag-to-bookmarkdetach-tag-from-bookmarkget-assetlist-highlightsget-bookmark-highlightsget-highlightcreate-highlightupdate-highlightdelete-highlight