Smart Connections MCP Server
Smart Connections MCP Server
Geben Sie Claude ein echtes semantisches Gedächtnis für Ihren Obsidian-Vault. Ein MCP-Server, der Ihre Notizen nach Bedeutung durchsucht — er greift auf die Embeddings zurück, die das Smart Connections-Obsidian-Plugin bereits erzeugt hat, und führt dasselbe Embedding-Modell lokal aus, um Ihre Anfragen zu verstehen. Keine Cloud-Aufrufe; Ihr Vault verlässt nie Ihren Rechner.
Was es tut
search_notes— semantische Suche über einen oder mehrere Vaults. Findet ganze Notizen und einzelne Abschnitte (Blöcke) und liefert nach Ähnlichkeit sortierte Ergebnisse mit Textausschnitten.get_similar_notes— Notizen, die einer bestimmten Notiz ähnlich sind (gespeicherte Embeddings).get_connection_graph— Ähnlichkeitsverknüpfungen nach außen verfolgen, um verwandte Ideen abzubilden.get_note_content— eine Notiz lesen oder bestimmte Blöcke extrahieren.list_vaults/get_stats— was geladen ist, Anzahl, Modelle, Ladefehler.
Related MCP server: ob-smart-connections-mcp
Voraussetzungen
Node.js 20+
Ein Obsidian-Vault mit installiertem Smart Connections-Plugin und erzeugten Embeddings (v2 gegen Smart Connections 3.x-Daten getestet)
Ein MCP-Client (Claude Desktop, Claude Code, …)
Einrichtung (Claude Desktop)
Fügen Sie Folgendes zu claude_desktop_config.json hinzu und starten Sie Claude Desktop neu:
{
"mcpServers": {
"smart-connections": {
"command": "npx",
"args": ["-y", "smart-connections-mcp"],
"env": {
"SMART_VAULT_PATH": "/path/to/Vault One,/path/to/Vault Two"
}
}
}
}Ein Vault oder mehrere — Pfade mit Kommas trennen.
SMART_VAULT_PATHS (Plural) wird ebenfalls als Alias für SMART_VAULT_PATH akzeptiert und hat Vorrang, wenn beide gesetzt sind.
Claude Code
claude mcp add smart-connections -e SMART_VAULT_PATH="/path/to/vault" -- npx -y smart-connections-mcpSo funktioniert es
Smart Connections speichert für jede Notiz und jeden Block in .smart-env/ einen Embedding-Vektor. Dieser Server lädt diese Vektoren in den Speicher und erzeugt bei einer Suche ein Embedding Ihrer Anfrage mit demselben Modell, das Ihr Vault verwendet hat (einmal heruntergeladen, ~25MB, läuft lokal über transformers.js). Die Ergebnisse werden nach Kosinus-Ähnlichkeit sortiert. Änderungen, die Sie in Obsidian vornehmen, werden automatisch erkannt.
Falls das Embedding-Modell nicht geladen werden kann (z. B. beim allerersten Start ohne Netzwerk) oder ein Vault noch keine Embeddings hat, fällt die Suche auf wörtliche Stichwortsuche zurück und weist ausdrücklich darauf hin ("mode": "keyword-fallback" plus ein warning, das die Ursache nennt). Wenn nur einige Vaults zurückfallen, bleibt mode auf "semantic"; diese Zeilen weisen "match": "keyword" auf und werden immer hinter den echten semantischen Zeilen eingeordnet.
Migration von v1
get_embedding_neighborswurde entfernt.search_notesist jetzt wirklich semantisch und seine Antwort enthält die Feldervault,scope,block,snippetundmode.Alles andere ist abwärtskompatibel; Ein-Vault-Konfigurationen mit
SMART_VAULT_PATHfunktionieren unverändert.
Entwicklung
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 — siehe 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.
Related MCP Connectors
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to perform semantic search across your Obsidian vault using Smart Connections vector database. Provides meaning-based search, related note discovery, and context retrieval for RAG queries instead of basic keyword matching.10
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to find semantic connections and perform text searches in Obsidian vaults using the Smart Connections plugin data.12414MIT
- AlicenseNot gradedqualityCmaintenanceEnables semantic search over an Obsidian vault using natural language, retrieving relevant notes and extracted conclusions.MIT
- AlicenseNot gradedqualityAmaintenanceEnables semantic search and retrieval over an Obsidian vault using local or API-based embeddings, allowing AI assistants to find notes by meaning, get related content, and pull context during conversations.15MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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