- Explore MCP Servers
- mcp-obsidian-index
Mcp Obsidian Index
What is Mcp Obsidian Index
mcp-obsidian-index is an MCP server that provides semantic search capabilities over Obsidian vaults, allowing users to access and search their notes effectively.
Use cases
Use cases for mcp-obsidian-index include enhancing note retrieval in personal knowledge management, improving research efficiency by quickly finding relevant notes, and facilitating better organization of information within Obsidian vaults.
How to use
To use mcp-obsidian-index, run the server with the command: uv run obsidian-index mcp --vault <VAULT_PATH> --database <DATABASE_PATH> --reindex --watch. Replace <VAULT_PATH> and <DATABASE_PATH> with the appropriate paths for your Obsidian vault and local database.
Key features
Key features include exposing recently modified notes as resources, supporting a text/markdown media type, and implementing a search-notes tool for performing semantic searches over indexed notes.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Obsidian Index
mcp-obsidian-index is an MCP server that provides semantic search capabilities over Obsidian vaults, allowing users to access and search their notes effectively.
Use cases
Use cases for mcp-obsidian-index include enhancing note retrieval in personal knowledge management, improving research efficiency by quickly finding relevant notes, and facilitating better organization of information within Obsidian vaults.
How to use
To use mcp-obsidian-index, run the server with the command: uv run obsidian-index mcp --vault <VAULT_PATH> --database <DATABASE_PATH> --reindex --watch. Replace <VAULT_PATH> and <DATABASE_PATH> with the appropriate paths for your Obsidian vault and local database.
Key features
Key features include exposing recently modified notes as resources, supporting a text/markdown media type, and implementing a search-notes tool for performing semantic searches over indexed notes.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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
Development/Unpublished Servers Configuration
``` "mcpServers": { "obsidian-index": { "command": "uv", "args": [ "--directory", "Published Servers Configuration
``` "mcpServers": { "obsidian-index": { "command": "uvx", "args": [ "obsidian-index", "--database", "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.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










