← Back to Plugins
MCP Server MCP

Obsidian Semantic Search

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @dalecb/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@dalecb/obsidian-semantic-mcp",
      "version": "0.2.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Absolute path to the local Obsidian vault.",
          "isRequired": true,
          "format": "string",
          "name": "OBSIDIAN_VAULT_ROOT"
        },
        {
          "description": "Directory for the external SQLite index, logs, and cache.",
          "format": "string",
          "name": "OBSIDIAN_SEMANTIC_MCP_HOME"
        },
        {
          "description": "Ollama embedding model name. Defaults to bge-m3.",
          "format": "string",
          "name": "OBSIDIAN_EMBED_MODEL"
        },
        {
          "description": "Ollama API base URL. Defaults to http://localhost:11434.",
          "format": "string",
          "name": "OLLAMA_BASE_URL"
        },
        {
          "description": "Set to true to run incremental indexing when the server starts.",
          "format": "string",
          "name": "OBSIDIAN_SEMANTIC_STARTUP_INDEX"
        },
        {
          "description": "Set to true to allow include_sensitive tool calls.",
          "format": "string",
          "name": "OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE"
        },
        {
          "description": "Comma- or newline-separated folders to always exclude from indexing, search, and read.",
          "format": "string",
          "name": "OBSIDIAN_SEMANTIC_EXCLUDE"
        },
        {
          "description": "Comma- or newline-separated folders treated as sensitive (blocked unless unlocked). Defaults to 08_PersonalInfo/.",
          "format": "string",
          "name": "OBSIDIAN_SEMANTIC_SENSITIVE_PATHS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...