AgentHubAgentHub

Obsidian Semantic Search

MCP ServerMCP Registry官方收录

io.github.DalecB/obsidian-semantic-mcp · v0.2.1

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

概览

Obsidian Semantic Search 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "obsidian-semantic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dalecb/obsidian-semantic-mcp"
      ],
      "env": {
        "OBSIDIAN_VAULT_ROOT": "<OBSIDIAN_VAULT_ROOT>"
      }
    }
  }
}

环境变量

OBSIDIAN_VAULT_ROOT必填

Absolute path to the local Obsidian vault.

OBSIDIAN_SEMANTIC_MCP_HOME可选

Directory for the external SQLite index, logs, and cache.

OBSIDIAN_EMBED_MODEL可选

Ollama embedding model name. Defaults to bge-m3.

OLLAMA_BASE_URL可选

Ollama API base URL. Defaults to http://localhost:11434.

OBSIDIAN_SEMANTIC_STARTUP_INDEX可选

Set to true to run incremental indexing when the server starts.

OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE可选

Set to true to allow include_sensitive tool calls.

OBSIDIAN_SEMANTIC_EXCLUDE可选

Comma- or newline-separated folders to always exclude from indexing, search, and read.

OBSIDIAN_SEMANTIC_SENSITIVE_PATHS可选

Comma- or newline-separated folders treated as sensitive (blocked unless unlocked). Defaults to 08_PersonalInfo/.

相关资源

统一 Manifest

{
  "id": "io.github.DalecB/obsidian-semantic-mcp",
  "type": "mcp-server",
  "version": "0.2.1",
  "displayName": "Obsidian Semantic Search",
  "description": "Read-only semantic search MCP server for Obsidian vaults using local Ollama embeddings.",
  "repository": {
    "url": "https://github.com/DalecB/obsidian-semantic-mcp",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@dalecb/obsidian-semantic-mcp",
        "version": "0.2.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "OBSIDIAN_VAULT_ROOT",
            "description": "Absolute path to the local Obsidian vault.",
            "isRequired": true
          },
          {
            "name": "OBSIDIAN_SEMANTIC_MCP_HOME",
            "description": "Directory for the external SQLite index, logs, and cache."
          },
          {
            "name": "OBSIDIAN_EMBED_MODEL",
            "description": "Ollama embedding model name. Defaults to bge-m3."
          },
          {
            "name": "OLLAMA_BASE_URL",
            "description": "Ollama API base URL. Defaults to http://localhost:11434."
          },
          {
            "name": "OBSIDIAN_SEMANTIC_STARTUP_INDEX",
            "description": "Set to true to run incremental indexing when the server starts."
          },
          {
            "name": "OBSIDIAN_SEMANTIC_ALLOW_SENSITIVE",
            "description": "Set to true to allow include_sensitive tool calls."
          },
          {
            "name": "OBSIDIAN_SEMANTIC_EXCLUDE",
            "description": "Comma- or newline-separated folders to always exclude from indexing, search, and read."
          },
          {
            "name": "OBSIDIAN_SEMANTIC_SENSITIVE_PATHS",
            "description": "Comma- or newline-separated folders treated as sensitive (blocked unless unlocked). Defaults to 08_PersonalInfo/."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.DalecB/obsidian-semantic-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.DalecB%2Fobsidian-semantic-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Obsidian Semantic Search — MCP Server 安装与配置 · AgentHub