mcp-obsidian-index
MCP server providing sementic search over Obsidian vaults
Documentation
Obsidian Index MCP server
An MCP server that provides a semantic search over an Obsidian vault and exposes recent notes as resources.
Components
Resources
The server exposes recently modified notes in your vaults as resources to MCP clients.
- Notes are addressed by an `obsidian:///` URL scheme
- Notes have the `text/markdown` media type
Tools
The server implements one tool:
- `search-notes`: Performs semantic search over indexed notes
Run the server
uv run obsidian-index mcp --vault --database --reindex --watch- `--vault`: Path to the Obsidian vault (can be specified multiple times)
- `--database`: Path to the local database file (will be created if it doesn't exist)
- `--reindex`: Reindex all notes in the vault (you probably want this every time right now)
- `--watch`: Watch for changes in the vault and update the index accordingly
Quickstart
Install
Claude Desktop
On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
Development/Unpublished Servers Configuration
"mcpServers": {
"obsidian-index": {
"command": "uv",
"args": [
"--directory",
"",
"run",
"obsidian-index",
"--database",
"",
"--vault",
"",
"--reindex",
"--watch"
]
}
}Published Servers Configuration
"mcpServers": {
"obsidian-index": {
"command": "uvx",
"args": [
"obsidian-index",
"--database",
"",
"--vault",
"",
"--reindex",
"--watch"
]
}
}Development
Building and Publishing
To prepare the package for distribution:
1. Sync dependencies and update lockfile:
uv sync2. Build package distributions:
uv buildThis will create source and wheel distributions in the `dist/` directory.
3. Publish to PyPI:
uv publishNote: You'll need to set PyPI credentials via environment variables or command flags:
- Token: `--token` or `UV_PUBLISH_TOKEN`
- Or username/password: `--username`/`UV_PUBLISH_USERNAME` and `--password`/`UV_PUBLISH_PASSWORD`
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via `npm` with this command:
npx @modelcontextprotocol/inspector uv --directory run obsidian-indexUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Frequently asked questions
What is mcp-obsidian-index?
mcp-obsidian-index is MCP server providing sementic search over Obsidian vaults
How do I install mcp-obsidian-index?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-obsidian-index open source?
Yes — it is hosted on GitHub at https://github.com/tcsavage/mcp-obsidian-index and has 9 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP