Smart Connections MCP Server
Provides semantic search and knowledge graph capabilities for Obsidian vaults using Smart Connections embeddings, enabling AI agents to search notes, find similar content, build connection graphs, and access note content with block-level granularity.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Smart Connections MCP Serverfind notes similar to my project planning document"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Smart Connections MCP Server
Give Claude true semantic memory of your Obsidian vault. An MCP server that searches your notes by meaning — reusing the embeddings the Smart Connections Obsidian plugin already generated, and running the same embedding model locally to understand your queries. No cloud calls; your vault never leaves your machine.
What it does
search_notes— semantic search across one or many vaults. Matches whole notes and individual sections (blocks), returns similarity-ranked results with content snippets.get_similar_notes— notes similar to a given note (stored embeddings).get_connection_graph— walk similarity links outward to map related ideas.get_note_content— read a note, or extract specific blocks.list_vaults/get_stats— what's loaded, counts, models, load errors.
Related MCP server: Semantic Search MCP
Requirements
Node.js 20+
An Obsidian vault with the Smart Connections plugin installed and embeddings generated (v2 tested against Smart Connections 3.x data)
An MCP client (Claude Desktop, Claude Code, …)
Setup (Claude Desktop)
Add to claude_desktop_config.json and restart Claude Desktop:
{
"mcpServers": {
"smart-connections": {
"command": "npx",
"args": ["-y", "smart-connections-mcp"],
"env": {
"SMART_VAULT_PATH": "/path/to/Vault One,/path/to/Vault Two"
}
}
}
}One vault or several — separate paths with commas.
SMART_VAULT_PATHS (plural) is also accepted as an alias for SMART_VAULT_PATH and takes
precedence over it if both are set.
Claude Code
claude mcp add smart-connections -e SMART_VAULT_PATH="/path/to/vault" -- npx -y smart-connections-mcpHow it works
Smart Connections stores an embedding vector for every note and block in
.smart-env/. This server loads those vectors into memory and, when you search,
embeds your query with the same model your vault used (downloaded once,
~25MB, runs locally via transformers.js). Results are ranked by cosine
similarity. Edits you make in Obsidian are picked up automatically.
If the embedding model can't load (e.g. no network on very first run), search
degrades to literal keyword matching and says so explicitly
("mode": "keyword-fallback"). When only some vaults fall back, mode stays
"semantic", those rows carry "match": "keyword", and they always rank
after the true semantic rows.
Migrating from v1
get_embedding_neighborswas removed.search_notesis now genuinely semantic and its response includesvault,scope,block,snippet, andmodefields.Everything else is backward compatible; single-vault
SMART_VAULT_PATHconfigs work unchanged.
Development
npm install
npm test # build + CI-tier tests (no network)
npm run test:live # + real-model tests (downloads ~25MB once)
npm run smoke -- "/path/to/vault" "your query"MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/msdanyg/smart-connections-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server