# entanglr/zettelkasten-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/entanglr/zettelkasten-mcp  
**GitHub Stars:** 168  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/entanglr-zettelkasten-mcp

## Description
A Model Context Protocol (MCP) server that implements the Zettelkasten knowledge management methodology, allowing you to create, link, and search atomic notes through Claude and other MCP-compatible clients.

## Tools
Capabilities this server exposes over MCP:

- **zk_create_note** — Create a new note with a title, content, and optional tags
- **zk_get_note** — Retrieve a specific note by ID or title
- **zk_update_note** — Update an existing note's content or metadata
- **zk_delete_note** — Delete a note
- **zk_create_link** — Create links between notes
- **zk_remove_link** — Remove links between notes
- **zk_search_notes** — Search for notes by content, tags, or links
- **zk_get_linked_notes** — Find notes linked to a specific note
- **zk_get_all_tags** — List all tags in the system
- **zk_find_similar_notes** — Find notes similar to a given note
- **zk_find_central_notes** — Find notes with the most connections
- **zk_find_orphaned_notes** — Find notes with no connections
- **zk_list_notes_by_date** — List notes by creation/update date
- **zk_rebuild_index** — Rebuild the database index from Markdown files

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/entanglr/zettelkasten-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/entanglr/zettelkasten-mcp.git
```

2. Configure:

```sh
cd zettelkasten-mcp
```

3. Configure:

```sh
uv venv
```

4. Install:

```sh
uv add "mcp[cli]"
```

5. Install:

```sh
uv sync --all-extras
```

6. Configure:

```sh
cp .env.example .env
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/entanglr-zettelkasten-mcp/readme_

