Zettelkasten MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Zettelkasten MCP Serverfind notes related to the concept of emergence"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Zettelkasten MCP Server
Dieses Repository implementiert einen Model Context Protocol (MCP) Server, der als Brücke zwischen Claude Desktop / Claude Code und deinem Zettelkasten (basierend auf tools4zettelkasten) fungiert.
Warum dieser MCP Server?
Die Bibliothek tools4zettelkasten bietet mächtige Python-Werkzeuge zur Verwaltung eines Zettelkastens (Dateinamen-Logik, Strukturen, Links). Dieser MCP Server macht diese Werkzeuge für KI-Assistenten wie Claude zugänglich.
Der Nutzen:
Direkter Zugriff: Claude kann deinen Zettelkasten nicht nur "sehen" (als Dateien), sondern versteht die Struktur (Verwandte Zettel, Hierarchien).
Sichere Manipulation: Statt dass die KI versucht, Dateien 'blind' umzubenennen, nutzt sie die getestete Logik der Bibliothek, um konsistente Dateinamen und IDs zu erzeugen.
Komplexe Analysen: Claude kann Fragen beantworten wie "Welche Themen hängen damit zusammen?", indem es die Graphen-Analyse der Bibliothek nutzt.
Architektur
┌─────────────────────────────────────────────────────────────┐
│ Claude Desktop / Claude Code │
└─────────────────────┬───────────────────────────────────────┘
│ stdio (JSON-RPC)
▼
┌─────────────────────────────────────────────────────────────┐
│ zettelkasten_mcp/server.py │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ MCP Protocol Handler (FastMCP) │ │
│ └───────────────────────────────────────────────────────┘ │
│ │ │
│ ┌───────────────────────▼───────────────────────────────┐ │
│ │ 12 Tools │ │
│ │ • list_input_files • search_zettel │ │
│ │ • stage_file • get_zettel │ │
│ │ • preview_staging • list_zettel │ │
│ │ • get_statistics • get_links │ │
│ │ • find_related • analyze_structure │ │
│ │ • preview_reorganize • execute_reorganize │ │
│ └───────────────────────────────────────────────────────┘ │
│ │ │
│ ┌───────────────────────▼───────────────────────────────┐ │
│ │ tools4zettelkasten (importlib) │ │
│ │ • persistency.PersistencyManager │ │
│ │ • handle_filenames │ │
│ │ • reorganize │ │
│ │ • analyse │ │
│ └───────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ ~/Dropbox/zettelkasten/ │
│ ├── mycelium/ (567 Zettel) │
│ └── input/ (neue Notizen) │
└─────────────────────────────────────┘Related MCP server: obsidian-emergent-mcp
Projektstruktur
~/Dropbox/zettelkasten_mcp/
├── README.md # Diese Datei
├── venv/ # Python 3.11 Virtual Environment
│ └── bin/python # Python-Interpreter für MCP
└── zettelkasten_mcp/
├── __init__.py
├── __main__.py # Entry point: python -m zettelkasten_mcp
└── server.py # MCP Server mit allen ToolsAbhängigkeiten
Python-Version: 3.11+ (MCP erfordert >= 3.10)
Installierte Packages im venv:
mcp[cli]- MCP Protocol Libraryflask,flask-wtf,flask-pagedown- Flask-Abhängigkeiten von tools4zettelkastengraphviz,pyfiglet,inquirerpy,colorama,markdown- Weitere Abhängigkeiten
Externe Abhängigkeit (tools4zettelkasten):
Repository: rreben/tools4zettelkasten
Beschreibung: Python-Tools für das "Folgezettel"-Prinzip, Verwaltung alphanumerischer Sortierungen und Strukturanalyse.
Integration: Dieses Projekt importiert die Bibliothek direkt (via
PYTHONPATH), um deren Logik für Parsing und Dateisystem-Operationen zu nutzen.
Konfiguration
Claude Desktop / Claude Code
Datei: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"zettelkasten": {
"command": "/Users/rupertrebentisch/Dropbox/zettelkasten_mcp/venv/bin/python",
"args": ["-m", "zettelkasten_mcp"],
"env": {
"PYTHONPATH": "/Users/rupertrebentisch/Library/CloudStorage/Dropbox/tools4zettelkasten",
"TOOLS4ZETTELKASTEN_PATH": "/Users/rupertrebentisch/Library/CloudStorage/Dropbox/tools4zettelkasten",
"ZETTELKASTEN": "/Users/rupertrebentisch/Dropbox/zettelkasten/mycelium",
"ZETTELKASTEN_INPUT": "/Users/rupertrebentisch/Dropbox/zettelkasten/input"
},
"cwd": "/Users/rupertrebentisch/Dropbox/zettelkasten_mcp"
}
}
}Umgebungsvariablen
Variable | Beschreibung | Standard |
| Pfad zum Hauptordner des Zettelkastens |
|
| Pfad zum Input-Ordner für neue Notizen |
|
| Pfad zum tools4zettelkasten-Repository |
|
| Muss tools4zettelkasten enthalten | (wie TOOLS4ZETTELKASTEN_PATH) |
Tools-Übersicht
Input-Management
Tool | Parameter | Beschreibung |
| - | Zeigt alle Dateien im Input-Ordner |
| - | Vorschau der geplanten Umbenennungen |
|
| Benennt eine Datei nach Titel um |
Zettelkasten-Abfragen
Tool | Parameter | Beschreibung |
|
| Liest einen einzelnen Zettel |
|
| Volltextsuche |
|
| Listet Zettel (optional nach Topic) |
| - | Statistiken über den Zettelkasten |
Struktur & Analyse
Tool | Parameter | Beschreibung |
|
| Ein-/ausgehende Links eines Zettels |
|
| Verwandte Zettel (Links + Hierarchie) |
|
| Strukturanalyse (Tree + Links) |
Reorganisation
Tool | Parameter | Beschreibung |
| - | Zeigt geplante Änderungen |
|
| Führt Reorganisation durch |
Technische Hinweise
Import-Workaround
tools4zettelkasten hat in seiner __init__.py ein from .cli import *, das Click-Commands exportiert und dabei Modulnamen wie reorganize überschreibt. Der MCP-Server umgeht dies durch direkten Import via importlib:
import importlib
ro = importlib.import_module("tools4zettelkasten.reorganize")Manuelles Testen
cd ~/Dropbox/zettelkasten_mcp
# Server-Import testen
PYTHONPATH="$HOME/Library/CloudStorage/Dropbox/tools4zettelkasten" \
ZETTELKASTEN="$HOME/Dropbox/zettelkasten/mycelium" \
ZETTELKASTEN_INPUT="$HOME/Dropbox/zettelkasten/input" \
./venv/bin/python -c "from zettelkasten_mcp.server import mcp; print('OK')"
# Tools testen
PYTHONPATH="$HOME/Library/CloudStorage/Dropbox/tools4zettelkasten" \
ZETTELKASTEN="$HOME/Dropbox/zettelkasten/mycelium" \
ZETTELKASTEN_INPUT="$HOME/Dropbox/zettelkasten/input" \
./venv/bin/python -c "
from zettelkasten_mcp.server import get_statistics
print(get_statistics())
"MCP-Status in Claude Code prüfen
claude mcp listOder im Chat: /mcp
Deployment-Checkliste
Python 3.11+ installiert? (
python3.11 --version)venv erstellt? (
python3.11 -m venv venv)Dependencies installiert?
./venv/bin/pip install "mcp[cli]" flask flask-wtf flask-pagedown \ graphviz pyfiglet inquirerpy colorama markdown mistuneclaude_desktop_config.json konfiguriert?
Pfade korrekt? (Dropbox-Symlinks beachten!)
Claude Desktop/Code neu gestartet?
Beispiel-Nutzung
Du: "Was liegt im Input-Ordner?"
Claude: [ruft list_input_files auf]
Du: "Zeige mir den Zettel über Kreativität"
Claude: [ruft search_zettel(query="Kreativität") auf]
Du: "Welche Zettel sind mit 01_001 verwandt?"
Claude: [ruft find_related(identifier="01_001") auf]
Du: "Gib mir Statistiken"
Claude: [ruft get_statistics auf]Erstellt am: 27. Januar 2026
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceImplements the Zettelkasten knowledge management methodology, allowing you to create, link, explore and synthesize atomic notes through Claude and other MCP-compatible clients.146MIT
- Alicense-qualityDmaintenanceProvides Claude Code with deep access to an Obsidian vault through 28 tools for structural analysis, semantic retrieval, and git-backed timeseries tracking. It transforms your vault into a live knowledge base that Claude can search, navigate, and reason about using its knowledge graph.2MIT
- FlicenseAqualityCmaintenanceEnables Claude Code to interact with Obsidian vaults by providing tools for multi-term searching, reading notes, and exploring tag-based relationships. It allows users to query, analyze, and manage their personal knowledge base directly through natural language.9
- Alicense-qualityCmaintenanceEnables Claude Code to serve as the primary interface for a personal knowledge vault (zk or Obsidian), allowing full read, write, search, and synthesis operations on notes.Apache 2.0
Related MCP Connectors
AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/rreben/zettelkasten-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server