Karakeep MCP (karakeep-mcp)
Use the karakeep-mcp MCP tools as the primary interface for searching, reading, organizing, and annotating bookmarks in Karakeep.
Core Workflows
- Search & read content (two-step):
search-bookmarksandget-bookmarkreturn compact metadata only (includeContent: false). Always callget-bookmark-contentto read the full bookmark body (link HTML is returned as Markdown). - Search syntax & modes:
search-bookmarkssupportsis:fav,is:archived,is:tagged,is:inlist,is:link,is:text,is:media,url:<substr>,#<tag>,list:<name>(without emoji icon; quote names with spaces),after:YYYY-MM-DD,before:YYYY-MM-DD,-<qualifier>negation, andand/or. ChoosesearchMode:fts(default),semantic, orhybrid. - Save & update bookmarks: Use
create-bookmark(type: "link"with URL incontent, ortype: "text"with note text incontent). Useupdate-bookmarkfor partial updates (title,note,summary,archived,favourited,url,description,author,publisher,createdAt); passnullto clear nullable fields (title,summary,description,author,publisher). - Lists & tags:
- Use
get-lists/get-list-bookmarks(evaluates both manual and smart lists),create-list,update-list,add-bookmark-to-list, andremove-bookmark-from-list. - Use
attach-tag-to-bookmark/detach-tag-from-bookmarkwith tag names (tagsToAttach/tagsToDetach), whereasget-tag,update-tag,delete-tag, andget-tag-bookmarkstake atagId.
- Use
- Highlights & assets: Use
create-highlightwith character offsets (startOffset,endOffset) from the bookmark's readable content and color (yellow,red,green,blue). Useget-assetto obtain a temporary signed download URL.
Read references/tools-reference.md for all 29 tools and their parameters.
Gotchas
- Bound
get-tagscalls:get-tagshas no defaultlimitand can return massive responses on large libraries. Always passlimit(andnameContains/attachedBy/sortwhen filtering), and paginate withcursor(note:get-tagsusescursor, whereassearch-bookmarksusesnextCursor). - Cursor pagination & search modes: Paginated tools use cursor-based pagination, not offsets.
semanticandhybridsearch modes only supportsortOrder: "relevance". - No
list-bookmarkstool or MCP resources:karakeep-mcpexposes tools only (no MCP resources) and lists bookmarks viasearch-bookmarks,get-list-bookmarks, orget-tag-bookmarks. - Archived-search pagination quirk: Karakeep's
is:archivedsearch can returnnextCursor: nullwhile returning a subset of archived items; when bulk-processing archived items, re-runsearch-bookmarks(is:archived) until empty. delete-listorphans child lists: Deleting a list does not delete its bookmarks or child lists—child lists become root-level (parentId: null). Re-parent child lists before deleting if needed.delete-bookmarkis permanent: Permanently removes the bookmark, its highlights, and its assets. (delete-tagonly detaches the tag and keeps bookmarks.)
Setup & Configuration
Read references/setup-and-config.md when configuring @karakeep/mcp (npx or Docker), KARAKEEP_API_ADDR, KARAKEEP_API_KEY, or KARAKEEP_CUSTOM_HEADERS.


