Read-only semantic search MCP server for Obsidian vaults using local Ollama embeddings.
registry version 0.2.1
npm
npx -y @dalecb/obsidian-semantic-mcpnpm
npx -y @dalecb/obsidian-semantic-mcp@0.2.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp@0.2.1"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env OBSIDIAN_VAULT_ROOT=<YOUR_OBSIDIAN_VAULT_ROOT> obsidian-semantic-mcp -- npx -y @dalecb/obsidian-semantic-mcp
claude mcp add --env OBSIDIAN_VAULT_ROOT=<YOUR_OBSIDIAN_VAULT_ROOT> obsidian-semantic-mcp -- npx -y @dalecb/obsidian-semantic-mcp@0.2.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp@0.2.1"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}{
"servers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp@0.2.1"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}{
"mcpServers": {
"obsidian-semantic-mcp": {
"command": "npx",
"args": [
"-y",
"@dalecb/obsidian-semantic-mcp@0.2.1"
],
"env": {
"OBSIDIAN_VAULT_ROOT": "<YOUR_OBSIDIAN_VAULT_ROOT>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
OBSIDIAN_VAULT_ROOT required — 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/.⭐ 1 stars · 最近更新于 98 天前 · MIT license
Obsidian Semantic Search MCP Read only semantic retrieval for agents that need to find the right Obsidian note without write access.…
Summary from the project README — github.com/DalecB/obsidian-semantic-mcp
Distributed as npm, listed under Productivity. Review our MCP security guide before granting access to real data.
Obsidian Semantic Search MCP Read only semantic retrieval for agents that need to find the right Obsidian note without write access.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/DalecB/obsidian-semantic-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/obsidian-semantic-mcp/)
HTML
<a href="https://mcpnav.net/server/obsidian-semantic-mcp/"><img src="https://mcpnav.net/badge/obsidian-semantic-mcp.svg" alt="Listed on MCPNav" height="20"></a>