-
Open your Claude Desktop configuration file:
open ~/Library/Application\ Support/Claude/claude_desktop_config.json
-
Add the Smart Connections server configuration. If the file is empty or only has
{}, replace it with:{ "mcpServers": { "smart-connections": { "command": "npx", "args": ["-y", "smart-connections-mcp"], "env": { "SMART_VAULT_PATH": "/path/to/Vault One,/path/to/Vault Two" } } } }npxfetches and runs the published package — no clone, no build. PointSMART_VAULT_PATHat the vault folder that contains your.smart-envdirectory. One vault or several — separate paths with commas.If you already have other MCP servers configured, just add the
"smart-connections"entry to your existingmcpServersobject.
- Quit Claude Desktop completely (Cmd+Q)
- Reopen Claude Desktop
- Look for the 🔌 icon in the interface (indicates MCP servers are connected)
Try these prompts in Claude:
-
Get stats about your knowledge base:
Use the Smart Connections server to show me statistics about my Obsidian vault -
Search for content (true semantic search):
Search my notes for information about [your topic] -
Find similar notes:
Find notes similar to "YourNoteName.md" -
Build a connection graph:
Show me a connection graph starting from [your note name] -
List configured vaults (if you set up more than one):
List my configured vaults
- Check Claude Desktop logs (if available in the app)
- Verify the configuration file is valid JSON (no trailing commas, proper quotes)
- Make sure
SMART_VAULT_PATHpoints to a vault that contains a.smart-envdirectory - Try running the server manually:
You should see log lines confirming the vault(s) loaded successfully. Press Ctrl+C to stop.
SMART_VAULT_PATH="/path/to/vault" npx -y smart-connections-mcp
Make sure your Obsidian vault has:
- Smart Connections plugin installed
- Embeddings generated (check the
.smart-env/multi/directory exists and has files)
Check the full README.md and TROUBLESHOOTING.md for detailed documentation and troubleshooting steps.
Once connected, Claude can:
- 🔍 Search your Obsidian notes semantically (whole notes and individual blocks)
- 🕸️ Discover hidden connections between notes
- 📊 Analyze your knowledge graph
- 📝 Read and extract specific sections from notes
- 💡 Answer questions using your entire knowledge base — across multiple vaults if configured
All of this happens locally — embeddings and the query model both run on your machine, nothing is sent to the cloud.