Skip to main content
Glama

zettelkasten-mcp

by Liam-Deacon
MIT License
2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZETTELKASTEN_LOG_LEVELNoLogging level (e.g., INFO, DEBUG)INFO
ZETTELKASTEN_NOTES_DIRYesDirectory where notes are stored as Markdown files
ZETTELKASTEN_DATABASE_PATHYesPath to the SQLite database file used for indexing

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
zk_create_note

Create a new Zettelkasten note. Args: title: The title of the note content: The main content of the note note_type: Type of note (fleeting, literature, permanent, structure, hub) tags: Comma-separated list of tags (optional)

zk_get_note

Retrieve a note by ID or title. Args: identifier: The ID or title of the note

zk_update_note

Update an existing note. Args: note_id: The ID of the note to update title: New title (optional) content: New content (optional) note_type: New note type (optional) tags: New comma-separated list of tags (optional)

zk_delete_note

Delete a note. Args: note_id: The ID of the note to delete

zk_create_link

Create a link between two notes. Args: source_id: ID of the source note target_id: ID of the target note link_type: Type of link (reference, extends, refines, contradicts, questions, supports, related) description: Optional description of the link bidirectional: Whether to create a link in both directions

zk_remove_link

Remove a link between two notes. Args: source_id: ID of the source note target_id: ID of the target note bidirectional: Whether to remove the link in both directions

zk_search_notes

Search for notes by text, tags, or type. Args: query: Text to search for in titles and content tags: Comma-separated list of tags to filter by note_type: Type of note to filter by limit: Maximum number of results to return

zk_get_linked_notes

Get notes linked to/from a note. Args: note_id: ID of the note direction: Direction of links (outgoing, incoming, both)

zk_get_all_tags

Get all tags in the Zettelkasten.

zk_find_similar_notes

Find notes similar to a given note. Args: note_id: ID of the reference note threshold: Similarity threshold (0.0-1.0) limit: Maximum number of results to return

zk_find_central_notes

Find notes with the most connections (incoming + outgoing links). Notes are ranked by their total number of connections, determining their centrality in the knowledge network. Due to database constraints, only one link of each type is counted between any pair of notes.

Args: limit: Maximum number of results to return (default: 10)
zk_find_orphaned_notes

Find notes with no connections to other notes.

zk_list_notes_by_date

List notes created or updated within a date range. Args: start_date: Start date in ISO format (YYYY-MM-DD) end_date: End date in ISO format (YYYY-MM-DD) use_updated: Whether to use updated_at instead of created_at limit: Maximum number of results to return

zk_rebuild_index

Rebuild the database index from files.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Liam-Deacon/zettelkasten-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server