Smart Connections Mcp

io.github.msdanygPublished by GitHub account msdanygv2.0.1Updated Oct 24, 2026

Local semantic search over Obsidian vaults via Smart Connections embeddings. Multi-vault, private.

The publisher's own server: Connections

VerifiedSTDIODesktop onlyFiles & StorageKnowledge & Memory

Overview

AI-generated overview

Local MCP server that gives an assistant semantic search over one or more Obsidian vaults, reusing Smart Connections embeddings.

What you can do
  • Search notes and individual blocks across one or many vaults by meaning, with similarity-ranked snippets
  • Find notes similar to a given note and walk similarity links outward to map related ideas
  • Read a note or extract specific blocks
  • List loaded vaults and report counts, models and load errors
When to use it
Useful when you keep notes in Obsidian with the Smart Connections plugin and want an assistant to recall related ideas by meaning rather than exact keywords, including across several vaults, without sending notes to a cloud service.
Requirements
Runs locally via npx, so Node.js 20+ is needed. An Obsidian vault with the Smart Connections plugin installed and embeddings already generated. The SMART_VAULT_PATH environment variable (alias SMART_VAULT_PATHS, which takes precedence) must list one or more absolute vault paths, comma-separated. An MCP client such as Claude Desktop or Claude Code. The embedding model (~25MB) is downloaded once on first use, so network access is needed then.
Before you install
The server reads your vault contents and returns note text and snippets to the assistant, so anything in those notes becomes visible to the model. It is read-only in the tools described, but it loads embedding data from the vault's .smart-env folder. Without network on the first run, or for vaults without embeddings, search silently degrades to keyword matching, flagged in the response mode and warning fields.

Installation

In SourceWeft

  1. Open Smart Connections Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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.

[MCP] [Obsidian] [License: MIT] [GitHub stars]

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.

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:

json
{  "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

bash
claude mcp add smart-connections -e SMART_VAULT_PATH="/path/to/vault" -- npx -y smart-connections-mcp

How 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), or a vault has no embeddings yet, search degrades to literal keyword matching and says so explicitly ("mode": "keyword-fallback" plus a warning naming the cause). 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_neighbors was removed.
  • search_notes is now genuinely semantic and its response includes vault, scope, block, snippet, and mode fields.
  • Everything else is backward compatible; single-vault SMART_VAULT_PATH configs work unchanged.

Development

bash
npm installnpm 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.

Source: README.md at commit 5b484f4

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v2.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Connections integrations