Zettelkasten MCP logo

Zettelkasten MCP

by entanglr

Manage linked Markdown notes through MCP with search, graph exploration, tagging, and SQLite indexing.

Install Zettelkasten MCP

Run the project’s own setup commands, in order.

Setup steps from the project

entanglr/zettelkasten-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/entanglr/zettelkasten-mcp.git
    
  2. 2. Configure
    cd zettelkasten-mcp
    
  3. 3. Configure
    uv venv
    
  4. 4. Install
    uv add "mcp[cli]"
    
  5. 5. Install
    uv sync --all-extras
    
  6. 6. Configure
    cp .env.example .env
    

Overview

entanglr/zettelkasten-mcp MCP server gives MCP clients tools for creating, editing, linking, searching, and analyzing atomic notes. It stores Markdown files as the source of truth and uses SQLite for indexing and graph queries. Reach for it when an agent needs to maintain a local Zettelkasten knowledge base rather than only retrieve documents. Claude Desktop configuration and command-line startup instructions are provided.

Use cases

  • Capture atomic research notes with tags
  • Link related ideas into a knowledge graph
  • Search notes by content, tags, or relationships
  • Find central and orphaned notes
  • Rebuild an index after editing Markdown files

Key features

  • Markdown notes with YAML frontmatter
  • SQLite indexing and graph traversal
  • Bidirectional and semantic note links
  • Content, tag, and link search
  • Similarity and connectivity analysis
  • Index rebuilding from Markdown

Tools14

What Zettelkasten MCP lets your agent do. Expand a tool for its parameters.

Self-reported~181 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 118d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars168Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed14Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Zettelkasten MCP works

What entanglr/zettelkasten-mcp MCP server does

entanglr/zettelkasten-mcp MCP server exposes a Zettelkasten-style knowledge base through MCP tools. It lets an MCP client create notes with titles, content, and optional tags; retrieve them by ID or title; change their content or metadata; and delete them. Notes use Markdown with YAML frontmatter, making the files readable and editable outside the server.

The model is based on small, single-idea notes connected by meaningful relationships. Supported note categories include fleeting, literature, permanent, structure, and hub notes. Link relationships include references, extensions, refinements, contradictions, questions, support, and generic related links. Some relationships have inverse forms, allowing the note graph to represent direction as well as symmetric connections.

How it works

The entanglr/zettelkasten-mcp MCP server uses two storage layers. Markdown files hold the notes and act as the authoritative data. A SQLite database indexes those files to support searches, relationship traversal, and other queries. The database can be removed and regenerated from the Markdown collection.

Direct edits to the Markdown files are supported, but the index must be refreshed afterward with zk_rebuild_index. This makes the notes suitable for ordinary text editors, Git-based version control, and standard file backups while retaining an indexed representation for MCP operations. The server uses a synchronous operation model.

Setup and configuration

Clone the repository, create a virtual environment with uv, activate it, and install the MCP dependency. The documented setup uses:

bash
uv venv
source .venv/bin/activate
uv add "mcp[cli]"

On Windows, use the corresponding .venv\\Scripts\\activate command. Start the server with:

bash
python -m zettelkasten_mcp.main

The notes directory and SQLite database can be supplied as command-line options, for example --notes-dir ./data/notes and --database-path ./data/db/zettelkasten.db. Configuration can also be placed in a .env file copied from .env.example. The documented variables are ZETTELKASTEN_NOTES_DIR, ZETTELKASTEN_DATABASE_PATH, and ZETTELKASTEN_LOG_LEVEL.

Claude Desktop connects through a stdio configuration that launches the repository's Python environment and module. The configuration supplies the notes directory, database path, and log level in the server's env section.

Tools and capabilities

The entanglr/zettelkasten-mcp MCP server provides tools for:

  • Creating, retrieving, updating, and deleting notes.
  • Adding and removing links between notes.
  • Searching by note content, tags, or links.
  • Finding notes connected to a selected note.
  • Listing all tags.
  • Finding similar, highly connected, or unconnected notes.
  • Listing notes by creation or update date.
  • Rebuilding the SQLite index from Markdown files.

Together, these operations support both direct knowledge capture and graph exploration. An MCP client can follow links within a topic, investigate connections across topics, identify central notes, or locate orphaned notes that have no relationships.

Limitations and notes

The Markdown collection is the source of truth; the SQLite database is an index rather than the primary record. Any external Markdown changes therefore require zk_rebuild_index before indexed searches and graph operations reflect them.

The repository also provides optional system prompts, project knowledge files, and chat prompts for knowledge creation, exploration, and synthesis. These documents guide client behavior but are separate from the MCP tools themselves. The server is intended for MCP-compatible clients; the supplied connection example specifically covers Claude Desktop.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Zettelkasten MCP

entanglr/zettelkasten-mcp is an MCP server that connects MCP clients to a local Zettelkasten stored in Markdown files with a SQLite index. Its main tools create, retrieve, update, delete, search, tag, link, and analyze notes, including finding similar, central, and orphaned notes.

Install it by cloning the repository, creating a `uv` virtual environment, activating it, and adding `mcp[cli]`. Start it with `python -m zettelkasten_mcp.main`, or provide explicit notes and database paths with `--notes-dir` and `--database-path`.

Configure it with a `.env` file copied from `.env.example`, or pass settings through the launch configuration. The documented variables are `ZETTELKASTEN_NOTES_DIR`, `ZETTELKASTEN_DATABASE_PATH`, and `ZETTELKASTEN_LOG_LEVEL`.

Yes, it works with Claude Desktop through a stdio MCP configuration. The documented example launches the server's virtual-environment Python executable with `python -m zettelkasten_mcp.main` and supplies the notes directory, database path, and log level.

Run the `zk_rebuild_index` tool after editing Markdown notes outside the server. It rebuilds the SQLite indexing layer from the Markdown files, which remain the source of truth.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewZettelkasten MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/entanglr-zettelkasten-mcp?style=directory)](https://allmcps.com/mcp/entanglr-zettelkasten-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/entanglr-zettelkasten-mcp"><img src="https://allmcps.com/api/badge/entanglr-zettelkasten-mcp?style=directory" alt="Zettelkasten MCP on AllMCPs" /></a>