Obsidian Index MCP Server
Provides semantic search capability over Obsidian vaults and exposes recent notes as resources to Claude through the MCP protocol.
tcsavage
README
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://<VAULT_NAME>/<NOTE_PATH>URL scheme - Notes have the
text/markdownmedia type
Tools
The server implements one tool:
search-notes: Performs semantic search over indexed notes
Run the server
uv run obsidian-index mcp --vault <VAULT_PATH> --database <DATABASE_PATH> --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
<details> <summary>Development/Unpublished Servers Configuration</summary>
"mcpServers": {
"obsidian-index": {
"command": "uv",
"args": [
"--directory",
"<PATH_TO_PROJECT>",
"run",
"obsidian-index",
"--database",
"<PATH_TO_DATABASE>",
"--vault",
"<PATH_TO_VAULT>",
"--reindex",
"--watch"
]
}
}
</details>
<details> <summary>Published Servers Configuration</summary>
"mcpServers": {
"obsidian-index": {
"command": "uvx",
"args": [
"obsidian-index",
"--database",
"<PATH_TO_DATABASE>",
"--vault",
"<PATH_TO_VAULT>",
"--reindex",
"--watch"
]
}
}
</details>
Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--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 <PATH_TO_PROJECT> run obsidian-index
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Recommended Servers
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Todoist MCP
An MCP server that enables LLMs to interact with Todoist tasks, projects, and other features through the Todoist API.
Notion API MCP Server
Enables advanced todo list management and content organization using Notion's API, supporting features like creating databases, dynamic filtering, and collaborative task tracking.
Airtable MCP Server
A Model Context Protocol server that provides tools for programmatically managing Airtable bases, tables, fields, and records through Claude Desktop or other MCP clients.