Install guide · Claude Desktop
Install Obsidian Brain for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Add to Cursor: Obsidian BrainInstall in VS Code: Obsidian BrainInstall in VS Code Insiders: Obsidian Brain
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "sweir1-obsidian-brain": { "command": "npx", "args": [ "-y", "obsidian-brain@1.8.5" ], "env": { "VAULT_PATH": "", "DATA_DIR": "", "EMBEDDING_PRESET": "english", "EMBEDDING_MODEL": "", "EMBEDDING_PROVIDER": "transformers", "OLLAMA_BASE_URL": "http://localhost:11434", "OLLAMA_EMBEDDING_DIM": "", "OLLAMA_NUM_CTX": "", "OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL": "", "OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL": "", "EMBEDDING_BASE_URL": "http://localhost:8080", "EMBEDDING_DIM": "", "EMBEDDING_API_KEY": "", "OBSIDIAN_BRAIN_NO_WATCH": "", "OBSIDIAN_BRAIN_NO_CATCHUP": "", "OBSIDIAN_BRAIN_IGNORE": "", "OBSIDIAN_BRAIN_HONOR_EXCLUDED_FILES": "", "OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS": "3000", "OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS": "60000", "OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS": "30000", "OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS": "", "OBSIDIAN_BRAIN_CONFIG_DIR": "", "OBSIDIAN_BRAIN_DEBUG": "", "OBSIDIAN_BRAIN_LOG_FORMAT": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |