mcp

v0.35.0
@karakeep/mcp Checked 6 hours ago Published 15 days ago

MCP server for Karakeep

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get-asset

Get a temporary signed URL for downloading an asset by its asset ID.

ParameterTypeDescription
assetId *stringThe ID of the asset to retrieve.

search-bookmarks

Search for bookmarks matching a specific query using full-text, semantic, or hybrid search.

ParameterTypeDescription
query *stringBy default, this will do a full-text search, but you can also use qualifiers to filter the results. You can search bookmarks using specific qualifiers. is:fav finds favorited bookmarks, is:archiv…
limitnumberThe number of results to return in a single query.
nextCursorstringThe next cursor to use for pagination. The value for this is returned from a previous call to this tool.
searchModestringSearch strategy. 'fts' uses full-text search, 'semantic' uses embeddings, and 'hybrid' combines both. Semantic and hybrid modes only support relevance sorting. Defaults to 'fts'.
sortOrderstringSort by relevance or creation date. Defaults to relevance.

get-bookmark

Get a bookmark by id.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to get.

get-bookmark-lists

List every list that contains a bookmark.

ParameterTypeDescription
bookmarkId *stringThe id of the bookmark whose lists to retrieve.

create-bookmark

Create a link bookmark or a text bookmark

ParameterTypeDescription
content *stringIf type is text, the text to be bookmarked. If the type is link, then it's the URL to be bookmarked.
type *stringThe type of bookmark to create.
titlestringThe title of the bookmark

update-bookmark

Update fields on an existing bookmark. Only the fields you pass are modified; omitted fields stay unchanged. Returns the updated bookmark.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to update.
archivedbooleanWhether the bookmark is archived.
authorstring | nullLink author. Pass null to clear it.
createdAtstringOverride the bookmark's createdAt timestamp (ISO 8601).
descriptionstring | nullLink description. Pass null to clear it.
favouritedbooleanWhether the bookmark is favourited.
notestringA free-form note on the bookmark.
publisherstring | nullLink publisher. Pass null to clear it.
summarystring | nullThe bookmark's summary. Pass null to clear it.
titlestring | nullThe bookmark's user-set title. Pass null to clear it.
urlstringNew URL for a link bookmark.

get-bookmark-content

Get the content of the bookmark in markdown

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to get content for.

delete-bookmark

Delete a bookmark by id. This is destructive — the bookmark, its highlights, and its assets are removed.

ParameterTypeDescription
bookmarkId *stringThe id of the bookmark to delete.

list-highlights

List highlights across all bookmarks, newest first.

ParameterTypeDescription
cursorstringCursor from a previous response to fetch the next page.
limitintegerMaximum number of highlights to return per page.

get-bookmark-highlights

List every highlight on a bookmark.

ParameterTypeDescription
bookmarkId *stringThe id of the bookmark whose highlights to retrieve.

get-highlight

Retrieve a single highlight by id.

ParameterTypeDescription
highlightId *stringThe id of the highlight to retrieve.

create-highlight

Create a text highlight on a bookmark using character offsets from the bookmark's readable content.

ParameterTypeDescription
bookmarkId *stringThe id of the bookmark to highlight.
endOffset *integerZero-based exclusive character offset.
note *string | nullAn optional note attached to the highlight.
startOffset *integerZero-based inclusive character offset.
text *string | nullThe highlighted text, or null if unavailable.
colorstringHighlight color. Defaults to yellow.

update-highlight

Update a highlight's color or note.

ParameterTypeDescription
highlightId *stringThe id of the highlight to update.
colorstringNew highlight color.
notestring | nullNew note. Pass null to clear it.

delete-highlight

Delete a highlight by id.

ParameterTypeDescription
highlightId *stringThe id of the highlight to delete.

get-lists

Retrieves a list of lists.

get-list

Retrieve a single list by its id.

ParameterTypeDescription
listId *stringThe id of the list to retrieve.

update-list

Update a list. Only the fields you pass are changed. Length caps and smart-list query rules come from the shared list schema.

ParameterTypeDescription
listId *stringThe id of the list to update.
descriptionNew description for the list. Pass null to clear.
iconstringNew emoji icon for the list.
namestringNew name for the list.
parentIdstring | nullNew parent list id. Pass null to move to the root.
publicbooleanWhether the list is publicly accessible.
querystringNew smart-list query. Only meaningful for smart lists.

delete-list

Delete a list by id. Bookmarks inside the list are not deleted. Child lists are also not deleted. Any child lists become root-level lists (their parentId is set to null). If that isn't the tree change you want, move or re-parent the children before calling this.

ParameterTypeDescription
listId *stringThe id of the list to delete.

add-bookmark-to-list

Add a bookmark to a list.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to add.
listId *stringThe listId to add the bookmark to.

remove-bookmark-from-list

Remove a bookmark from a list.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to remove.
listId *stringThe listId to remove the bookmark from.

get-list-bookmarks

List bookmarks in a list by its stable id. Smart lists are evaluated using their saved query.

ParameterTypeDescription
listId *stringThe id of the list whose bookmarks to retrieve.
cursorstringCursor from a previous response to fetch the next page.
includeContentbooleanWhether to include each bookmark's full content.
limitintegerMaximum number of bookmarks to return per page.
sortOrderstringSort by creation date. Defaults to newest first.

create-list

Create a list.

ParameterTypeDescription
icon *stringThe emoji icon of the list.
name *stringThe name of the list.
parentIdstringThe parent list id of this list.

attach-tag-to-bookmark

Attach a tag to a bookmark.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to attach the tag to.
tagsToAttach *arrayThe tag names to attach.

detach-tag-from-bookmark

Detach a tag from a bookmark.

ParameterTypeDescription
bookmarkId *stringThe bookmarkId to detach the tag from.
tagsToDetach *arrayThe tag names to detach.

get-tags

List tags with their bookmark counts. Supports filtering and pagination.

ParameterTypeDescription
attachedBystringFilter by how the tag was attached.
cursorstringCursor from a previous response to fetch the next page.
limitintegerMaximum number of items to return per page.
nameContainsstringFilter tags whose name contains this substring.
sortstringSort order. 'relevance' requires nameContains. Defaults to 'usage'.

get-tag

Retrieve a single tag by id, including its bookmark counts.

ParameterTypeDescription
tagId *stringThe id of the tag to retrieve.

update-tag

Rename a tag. The new name is normalized by the server.

ParameterTypeDescription
name *stringNew name for the tag. Will be normalized by the server.
tagId *stringThe id of the tag to update.

delete-tag

Delete a tag by id. Bookmarks that had this tag are not deleted; the tag is just removed from them.

ParameterTypeDescription
tagId *stringThe id of the tag to delete.

get-tag-bookmarks

List bookmarks that have a given tag, with pagination.

ParameterTypeDescription
tagId *stringThe id of the tag whose bookmarks to fetch.
cursorstringCursor from a previous response to fetch the next page.
includeContentbooleanIf true, include each bookmark's full content. Defaults to false.
limitintegerMaximum number of bookmarks to return per page.
sortOrderstringSort order by creation date. Defaults to 'desc'.