Skip to main content
Glama

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 Schreiboperationenmove_note aktualisiert automatisch alle Referenzen im gesamten Vault

  • Winzig — 4 Laufzeitabhängigkeiten, ~42KB Bundle

Schnellstart

npx obsidian-mcp --vault ~/my-obsidian-vault

Claude 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/vault

Related MCP server: some-vault-some-mcp

Tools (12)

Lesen & Entdecken

Tool

Beschreibung

vault_stats

Übersicht: Gesamtzahl der Notizen, Tags, Links, verwaiste Notizen, Komponenten, Top-Tags/Hubs

read_note

Voller Inhalt + Frontmatter + Links + Backlinks + Abschnitte

search_notes

Filtern nach Tags, Ordner, Frontmatter, Stichwort. Alles kombinierbar

Graph-Traversierung

Tool

Beschreibung

graph_neighbors

Direkte Links + Backlinks für eine Notiz

graph_traverse

BFS/DFS von einer Notiz aus, N Ebenen tief mit Tag-Filterung

graph_shortest_path

Kürzeste Link-Kette zwischen zwei Notizen

graph_analyze

Komponenten, verwaiste Notizen, Brücken, Hubs, tote Links

Schreiben & Manipulation

Tool

Beschreibung

create_note

Erstellen mit Inhalt + Frontmatter

patch_note

Abschnitt anhängen, voranstellen oder ersetzen. Frontmatter aktualisieren

move_note

Umbenennen/Verschieben + automatische vault-weite Aktualisierung aller Backlinks

delete_note

Löschen + kaputte Links melden

manage_tags

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

  1. Beim Start werden alle .md-Dateien gescannt und ein In-Memory-Graph erstellt (~1-3s für 1k Notizen)

  2. Ein File-Watcher erkennt Änderungen und aktualisiert den Graphen inkrementell (~5ms pro Änderung)

  3. Claude fragt den Graphen über MCP-Tools ab — kein erneutes Scannen nötig

  4. 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 mode

Lizenz

MIT

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    B
    maintenance
    An open-source MCP server that makes your Obsidian vault accessible from any AI client with hybrid search, read/write, and graph analysis capabilities.
    30
    23
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.
    3
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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