RAG Obsidian MCP Server
Enables semantic search across an Obsidian vault using ChromaDB for vector storage and all-MiniLM-L6-v2 for embeddings.
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., "@RAG Obsidian MCP Serversearch my vault for notes on Python automation"
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.
RAG Obsidian MCP Server
Semantic search over your Obsidian vault via an MCP server. Uses ChromaDB for vector storage and all-MiniLM-L6-v2 for embeddings.
Prerequisites
Python 3.13+
uv (recommended) or pip
Related MCP server: Personal Semantic Search MCP
Setup
uv syncEdit config.yaml to point to your vault:
vault_path: "/path/to/your/Obsidian/vault"
chroma_db_path: "./data/chroma_db"
embedding_model: "all-MiniLM-L6-v2"
collection_name: "obsidian_vault"
chunk_size: 1000
chunk_overlap: 100
top_k_default: 5Indexing
Initial index (first run)
uv run python index.pyThis walks all .md files in the vault, embeds them in chunks, and stores them in ChromaDB.
Incremental index (after adding or editing notes)
Run the same command — it skips files whose modification time hasn't changed:
uv run python index.pyOnly new or modified notes are re-indexed. Deleted notes are removed from the database automatically.
Force full re-index
To re-embed everything from scratch (e.g. after changing chunk_size or embedding_model):
uv run python index.py --forceOverride vault path
uv run python index.py --vault "/path/to/other/vault"Starting the MCP Server
Run the server in stdio mode (the transport Claude Code and other MCP clients expect):
uv run python server.pyRegistering with Claude Code
Add the server to your Claude Code MCP config (.claude/settings.json or global settings):
{
"mcpServers": {
"obsidian-vault": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/path/to/RAG_Obsidian"
}
}
}Available MCP Tools
Tool | Description |
| Semantic search across indexed notes. Returns top-k chunks with relevance scores and |
| Read the full content of a note by its relative path (e.g. |
| List all notes in the vault or a subfolder. |
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
- Flicense-qualityFmaintenanceEnables semantic search across Obsidian vaults using vector embeddings and ChromaDB. Supports multiple vaults with real-time indexing and provides both MCP server and CLI interfaces for natural language querying of notes.Last updated4
- Flicense-qualityDmaintenanceEnables semantic search over local notes and documents using natural language queries. Supports multiple file types (Markdown, Python, HTML, JSON, CSV, text) with fast local embeddings and persistent ChromaDB vector storage.Last updated1
- Alicense-qualityDmaintenanceProvides semantic search and keyword search over Obsidian notes, along with direct note retrieval, allowing external AI agents to query and access the vault.Last updated18BSD Zero Clause
- Alicense-qualityCmaintenanceEnables semantic search over an Obsidian vault using natural language, retrieving relevant notes and extracted conclusions.Last updatedMIT
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
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/lion9/RAG_Obsidian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server