Obsidian
Interact with your Obsidian vault from your IDE or Claude Desktop.
Obsidian MCP Server
An advanced MCP (Model Context Protocol) server that turns your Obsidian vault into a dynamic brain for your AI (Claude Desktop, Cursor, Claude Code, Cline, etc.). Much more than a file reader: it is an ecosystem of tools for knowledge management, workflow automation, and semantic analysis.
Features
Tool Ecosystem (30+)
The server exposes a wide variety of tools categorized by function:
- Navigation: Intelligent listing, recursive reading, and advanced searching.
- Creation and Editing: Automatic template usage, location suggestions, and non-destructive editing preserving metadata (frontmatter/YAML).
- Analysis and Quality: Vault statistics, tag synchronization with the official registry, and integrity checks.
- Graphs and Connections: Backlink analysis, orphan note detection, and local graph visualization.
- Skills (Agents): Dynamic loading of AI personalities/roles from your vault (
{vault}/.agents/skills/). - Semantic Search (RAG): Meaning-based searches, suggestions for non-obvious connections, and vector indexing.
- YouTube: Extraction of transcripts to feed your knowledge base.
Built-in Intelligence
- Vault-Agnostic Architecture: Independent of your folder structure; it uses intelligent auto-detection to find templates and resources.
- Security: Strict protection of sensitive folders via
.forbidden_pathsand vault privacy configurations. - Customizable Skills: Define specific AI roles directly within your vault (
.agents/skills/) for specialized tasks.
Quick Setup
Prerequisites
- Python 3.11+
- uv (Recommended)
Steps
-
Clone:
git clone https://github.com/Vasallo94/obsidian-mcp-server.git cd obsidian-mcp-server -
Install:
make install # For semantic search capabilities (RAG): pip install "obsidian-mcp-server[rag]" -
Configure:
cp .env.example .env # Edit .env with the absolute path to your Obsidian vault
Usage
The MCP server connects to compatible clients using the uv run obsidian-mcp-server command. Below are setup instructions for popular AI clients.
Claude Desktop Integration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"obsidian": {
"command": "uv",
"args": ["run", "obsidian-mcp-server"],
"env": {
"OBSIDIAN_VAULT_PATH": "/Absolute/Path/To/Your/Vault"
}
}
}
}
Cursor & Cline Integration
For other clients like Cursor or Cline, you can add it as a new MCP server in their settings panel by specifying:
- Type:
command - Command:
uv run obsidian-mcp-server - Ensure the
OBSIDIAN_VAULT_PATHenvironment variable is available to the instance running the command.
Technical Documentation
To dive deeper into how the server works and how to customize it, check our detailed guides located in the docs/ folder:
- Architecture: Modular structure and data flow of the project.
- Tool Reference: Complete list of available MCP tools and their parameters.
- Server Configuration: Guide on environment variables and technical configuration.
- Agent Setup: How to organize your vault (
.agents/) with skills and contextual rules. - Semantic Search (RAG): Deep dive into vector indexing and RAG mechanics.
- Future Roadmap: Planned improvements and next steps for the server.
Development & Quality
| Command | Description |
|---|---|
make test | Run the test suite (pytest) |
make lint | Run static checks (Ruff + Mypy + Pylint) |
make format | Automatically format code |
make dev | Run the MCP inspector for live testing |
License
This project is licensed under the MIT License.
Servidores relacionados
Bexio MCP
Complete Swiss accounting integration for Bexio via MCP. Works with Claude Desktop, n8n, and any MCP client. 221 tools for invoices, contacts, projects & more.
YNAB
Interact with your YNAB (You Need A Budget) budgets and financial data.
Mercado Pago
Mercado Pago's official MCP server, offering tools to interact with our API, simplifying tasks and product integration.
Wishfinity
Save any product to a universal wishlist — converts any product URL into a one-click wishlist save link.
HubSpot
Interact with the HubSpot CRM API to manage contacts, companies, and deals.
WordPress MCP
A Model Context Protocol (MCP) server that gives AI agents full control over WordPress sites. 46 tools for posts, pages, media, SEO, comments, redirects, blocks, patterns, TablePress, and more.
Rework
Integrate AI applications with the Rework platform to manage projects, tasks, workflows, and jobs.
ERPNext
Integrate with ERPNext, a popular open-source ERP system.
Lexware Office MCP Server
MCP server for the Lexware Office API — manage invoices, contacts, articles, vouchers, and more. 65 tools across 20 resource domains.
Pantry Persona
AI-powered kitchen management - track pantry inventory, plan meals, manage recipes, build shopping lists