obsidian-mcp
Obsidian MCP
Ein MCP-Server (Model Context Protocol), der KI-Assistenten (Claude, Cursor, etc.) Zugriff auf deinen Obsidian-Vault gibt. Navigiere in Ordnern, lies Notizen, erstelle, bearbeite, verschiebe, benenne sie um und lösche sie – alles aus deinem KI-Chat.
Voraussetzungen
Python 3.10+
uv (empfohlen) oder pip
Ein Obsidian-Vault auf deinem lokalen Rechner
Related MCP server: mcp-obsidian
Installation
# Clone the repo
git clone https://github.com/your-username/obsidian-mcp
cd obsidian-mcp
# Copy the env template and set your vault path
cp .env.example .envBearbeite .env und setze deinen Vault-Pfad:
OBSIDIAN_VAULT_PATH="/Users/you/Documents/MyVault"So findest du deinen Vault-Pfad in Obsidian: Einstellungen → Über → Vault-Pfad.
Server ausführen
Entwicklung (mit MCP Inspector UI)
uv run mcp dev server.pyDadurch wird der MCP Inspector in deinem Browser geöffnet, wo du alle Tools interaktiv testen kannst.
Produktion
uv run server.pyVerbindung zu Cursor herstellen
Füge dies zu deiner .cursor/mcp.json hinzu (oder zu den globalen MCP-Einstellungen von Cursor):
{
"mcpServers": {
"obsidian": {
"command": "python",
"args": ["/absolute/path/to/obsidian-mcp/server.py"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}Ersetze /absolute/path/to/obsidian-mcp/server.py durch den tatsächlichen Pfad zu server.py auf deinem Rechner und /path/to/your/vault durch deinen Vault-Pfad (findest du ihn in Obsidian: Einstellungen → Über → Vault-Pfad).
Verbindung zu Claude Desktop herstellen
Füge dies zu deiner claude_desktop_config.json hinzu:
{
"mcpServers": {
"obsidian": {
"command": "uv",
"args": ["run", "/absolute/path/to/obsidian-mcp/server.py"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}Verfügbare Tools
Tool | Beschreibung |
| Liste Unterordner und Notizen in einem Vault-Ordner auf. Leer lassen für das Vault-Wurzelverzeichnis. |
| Lies den vollständigen Inhalt einer Notiz (Pfad relativ zum Vault-Wurzelverzeichnis). |
| Erstelle eine neue Notiz. Erstellt bei Bedarf Zwischenordner. |
| Ersetze den vollständigen Inhalt einer vorhandenen Notiz. |
| Lösche eine Notiz aus dem Vault. |
| Benenne eine Notiz um und behalte sie im selben Ordner. |
| Verschiebe eine Notiz in einen anderen Ordner. Kann beim Verschieben auch umbenennen. Erstellt bei Bedarf Zielordner. |
| Lösche einen Ordner. Verwende |
Alle Pfade sind relativ zum Vault-Wurzelverzeichnis, z. B. "Projects/App/roadmap.md".
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.37MIT
- FlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to interact with Obsidian vaults by providing tools for note management, full-text search, and link analysis. It supports comprehensive file operations, frontmatter manipulation, and daily note creation while ensuring security through path validation.191-
- AlicenseNot gradedqualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.2MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to access and manage your local Obsidian vault through a standardized protocol.1410,513 npm2Apache 2.0