Skip to main content

Obsidian Semantic Search

io.github.DalecB/obsidian-semantic-mcp

v0.2.1Updated Jun 3, 2026stdio · npm

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add obsidian-semantic-mcp -e 'OBSIDIAN_VAULT_ROOT=<your-obsidian-vault-root>' -- npx -y @dalecb/[email protected]

Configuration

8 settings.

  • OBSIDIAN_VAULT_ROOT
    Env var· required
    Absolute path to the local Obsidian vault.
  • OBSIDIAN_SEMANTIC_MCP_HOME
    Env var· optional
    Directory for the external SQLite index, logs, and cache.
  • OBSIDIAN_EMBED_MODEL
    Env var· optional
    Ollama embedding model name. Defaults to bge-m3.
  • OLLAMA_BASE_URL
    Env var· optional
    Ollama API base URL. Defaults to http://localhost:11434.
  • OBSIDIAN_SEMANTIC_STARTUP_INDEX
    Env var· optional
    Set to true to run incremental indexing when the server starts.
  • OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE
    Env var· optional
    Set to true to allow include_sensitive tool calls.
Show 2 more
  • OBSIDIAN_SEMANTIC_EXCLUDE
    Env var· optional
    Comma- or newline-separated folders to always exclude from indexing, search, and read.
  • OBSIDIAN_SEMANTIC_SENSITIVE_PATHS
    Env var· optional
    Comma- or newline-separated folders treated as sensitive (blocked unless unlocked). Defaults to 08_PersonalInfo/.

Listed in the official MCP Registry since Jun 3, 2026. Mirrored daily; last checked Nov 26, 2026.