MCP directory
OH

Obsidian Hybrid Search

by github.com/flowing-abyss · v0.17.8 · updated Nov 23, 2026

Search Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • OBSIDIAN_VAULT_PATHrequired

    Absolute path to the Obsidian vault to index and search.

  • OBSIDIAN_PREFIX

    Optional prefix for MCP tool names when configuring multiple vaults.

  • OBSIDIAN_IGNORE_PATTERNS

    Comma-separated glob patterns to exclude from indexing.

  • OBSIDIAN_RESPECT_GITIGNORE

    Read applicable .gitignore files and repository info/exclude rules when indexing; set to false, 0, or no to disable both.

  • OBSIDIAN_INCLUDE_PATTERNS

    Comma-separated patterns to re-include notes ignored only by Git ignore rules.

  • OBSIDIAN_CONTENT_IGNORE_PATTERNS

    Comma-separated regex rules for note body text to leave out of search, e.g. /%%[\s\S]*?%%/g. Original files and read stay unchanged.

  • OPENAI_API_KEYsecret

    Optional API key for OpenAI-compatible remote embeddings; omit to use local embeddings.

  • OPENAI_BASE_URL

    Optional OpenAI-compatible API base URL for OpenRouter, Ollama, LM Studio, or similar providers.

  • OPENAI_EMBEDDING_MODEL

    Remote embedding model name when using an OpenAI-compatible API.

  • LOCAL_EMBEDDING_MODEL

    Local embedding model used when no remote embedding API is configured.

  • RERANKER_MODEL

    Optional ONNX cross-encoder reranker model used when reranking is requested.

More MCP servers