An MCP server that provides a semantic search over an Obsidian vault and exposes recent notes as resources.
The server exposes recently modified notes in your vaults as resources to MCP clients.
obsidian://<VAULT_NAME>/<NOTE_PATH>
URL schemetext/markdown
media typeThe server implements one tool:
search-notes
: Performs semantic search over indexed notesuv 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 accordinglyOn MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
To prepare the package for distribution:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
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.
Seamless access to top MCP servers powering the future of AI integration.