Skip to content
Claude Code

Obsidian Semantic Search for Claude Code

io.github.dalecb/obsidian-semantic-mcp

Read-only semantic search MCP server for Obsidian vaults using local Ollama embeddings.

client:Claude Code transport:stdio runtime:npm

Install Obsidian Semantic Search in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add obsidian-semantic-mcp -e OBSIDIAN_VAULT_ROOT=<OBSIDIAN_VAULT_ROOT> -e OBSIDIAN_SEMANTIC_MCP_HOME=<OBSIDIAN_SEMANTIC_MCP_HOME> -e OBSIDIAN_EMBED_MODEL=<OBSIDIAN_EMBED_MODEL> -e OLLAMA_BASE_URL=<OLLAMA_BASE_URL> -e OBSIDIAN_SEMANTIC_STARTUP_INDEX=<OBSIDIAN_SEMANTIC_STARTUP_INDEX> -e OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE=<OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE> -e OBSIDIAN_SEMANTIC_EXCLUDE=<OBSIDIAN_SEMANTIC_EXCLUDE> -e OBSIDIAN_SEMANTIC_SENSITIVE_PATHS=<OBSIDIAN_SEMANTIC_SENSITIVE_PATHS> -- npx -y @dalecb/obsidian-semantic-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Obsidian Semantic Search in other clients