obsidian-mcp
obsidian-mcp
Ein MCP-Server, der jedes Obsidian-Vault in einen KI-abfragbaren Wissensgraphen verwandelt.
Was diesen von den 24+ bestehenden Obsidian-MCP-Servern unterscheidet:
Graph-orientiert — BFS, kürzester Pfad, zusammenhängende Komponenten, Brückenerkennung über
[[wikilinks]]Null-Infrastruktur — Keine Datenbank, kein laufendes Obsidian, keine API-Schlüssel
Vault-agnostisch — Funktioniert mit jedem bestehenden Vault, keine erforderliche Struktur
Backlink-bewusste Schreiboperationen —
move_noteaktualisiert automatisch alle Referenzen im gesamten VaultWinzig — 4 Laufzeitabhängigkeiten, ~42KB Bundle
Schnellstart
npx obsidian-mcp --vault ~/my-obsidian-vaultClaude Desktop
Füge Folgendes zu ~/Library/Application Support/Claude/claude_desktop_config.json hinzu:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "--vault", "/path/to/vault"]
}
}
}Claude Code
claude mcp add obsidian -- npx -y obsidian-mcp --vault /path/to/vaultRelated MCP server: some-vault-some-mcp
Tools (12)
Lesen & Entdecken
Tool | Beschreibung |
| Übersicht: Gesamtzahl der Notizen, Tags, Links, verwaiste Notizen, Komponenten, Top-Tags/Hubs |
| Voller Inhalt + Frontmatter + Links + Backlinks + Abschnitte |
| Filtern nach Tags, Ordner, Frontmatter, Stichwort. Alles kombinierbar |
Graph-Traversierung
Tool | Beschreibung |
| Direkte Links + Backlinks für eine Notiz |
| BFS/DFS von einer Notiz aus, N Ebenen tief mit Tag-Filterung |
| Kürzeste Link-Kette zwischen zwei Notizen |
| Komponenten, verwaiste Notizen, Brücken, Hubs, tote Links |
Schreiben & Manipulation
Tool | Beschreibung |
| Erstellen mit Inhalt + Frontmatter |
| Abschnitt anhängen, voranstellen oder ersetzen. Frontmatter aktualisieren |
| Umbenennen/Verschieben + automatische vault-weite Aktualisierung aller Backlinks |
| Löschen + kaputte Links melden |
| Tags hinzufügen/entfernen/umbenennen (vault-weites Umbenennen unterstützt) |
Konfiguration
Standardmäßig ohne Konfiguration. Optionale .obsidian-mcp.json im Vault-Stammverzeichnis:
{
"ignore": ["templates/", "daily-notes/", ".trash/"],
"watchDebounce": 100,
"maxTraversalDepth": 10,
"maxSearchResults": 500
}CLI-Flags
--vault <path> Path to Obsidian vault (required)
--verbose Enable debug logging
--log-level <level> error | warn | info | debug (default: info)So funktioniert's
Beim Start werden alle
.md-Dateien gescannt und ein In-Memory-Graph erstellt (~1-3s für 1k Notizen)Ein File-Watcher erkennt Änderungen und aktualisiert den Graphen inkrementell (~5ms pro Änderung)
Claude fragt den Graphen über MCP-Tools ab — kein erneutes Scannen nötig
Schreiboperationen aktualisieren sowohl das Dateisystem als auch den Graphen atomar
Hartkodierte Ausschlüsse: .obsidian/, .trash/, node_modules/
Entwicklung
npm install
npm test # Run 66 tests
npm run build # Build to dist/
npm run dev -- --vault test/fixtures/vault # Dev modeLizenz
MIT
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
- AlicenseNot gradedqualityBmaintenanceAn open-source MCP server that makes your Obsidian vault accessible from any AI client with hybrid search, read/write, and graph analysis capabilities.3023MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that gives AI models read/write access to Obsidian vaults with semantic search, link graph analysis, canvas manipulation, and incremental indexing.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.31MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that enables AI agents to read, search, and write to your Obsidian vault.4MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
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/seynurmammad0v/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server