Smart Connections logo

Smart Connections

Read-only semantic search for an Obsidian vault using Smart Connections embeddings and locally computed text queries.

Install Smart Connections

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for smart-connections, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The smart-connections MCP server exposes Obsidian Smart Connections embeddings to MCP clients for read-only semantic vault search. It searches by text, note similarity, or raw embedding, and can retrieve validated note content or list indexed notes. Text queries are embedded locally with Transformers.js, while note embeddings come from the Smart Connections plugin. Reach for it when an agent needs to find and inspect Obsidian notes without write access or a running Obsidian process.

Use cases

  • Search an Obsidian vault with natural-language questions
  • Find notes related to a known note
  • Retrieve validated note content for an agent
  • Inspect indexed notes and embedding configuration

Key features

  • Semantic text search with local embeddings
  • Similarity search between indexed notes
  • Raw embedding vector search
  • Path-validated note retrieval
  • Read-only vault access
  • Bounded results and security logging

Tools6

What Smart Connections lets your agent do. Expand a tool for its parameters.

Self-reported~80 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 9/10/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.

How Smart Connections works

What the smart-connections MCP server does

The smart-connections MCP server connects an MCP client to one configured Obsidian vault and its Smart Connections index. It provides semantic retrieval rather than relying only on literal keyword matching, so an agent can search for a concept in freeform language or find notes related to an existing note.

The server is read-only. It does not edit notes, execute shell commands, or expose mutation operations. It also works while Obsidian is not running, provided the vault has already been indexed and the required embedding data is available.

How it works

Smart Connections supplies the embeddings for indexed notes. For a plain-text query, the server computes an embedding locally with Transformers.js and compares it against the available index. Similarity searches can instead start from a note, while callers that already have a vector can use the raw-embedding search tool.

File access is confined to the configured vault root. Paths are resolved and checked before access, with traversal and symlink-based escapes rejected. Results are bounded: searches return no more than 50 results, and note content is limited to 10 KB. Security events are logged with context, and failures deny access rather than bypassing validation.

Setup and configuration

Run the server with Node.js 18 or newer. Install the Smart Connections plugin in Obsidian, open the vault, and allow the plugin to build its embeddings before starting the MCP server.

Clone the repository, install its npm dependencies, and build the TypeScript project:

bash
git clone https://github.com/gogogadgetbytes/smart-connections-mcp
cd smart-connections-mcp
npm install
npm run build

Set VAULT_PATH to the absolute path of the Obsidian vault, then launch dist/index.js through the MCP client's stdio configuration. The server can be added to Claude Code with its MCP command or by placing the node command and environment variable in the client's configuration. On first use, the local text-embedding model downloads approximately 50 MB and is cached under ~/.cache/huggingface/.

Tools and capabilities

The smart-connections MCP server exposes these tools:

  • search_by_text embeds a freeform query locally and searches the vault.
  • search_similar finds notes semantically related to a specified note.
  • search_by_embedding searches with a supplied embedding vector.
  • get_note reads a note after validating its path.
  • get_model_info reports the embedding model configuration.
  • list_indexed lists notes present in the index.

These tools support workflows such as locating notes about a topic, finding related research from a known note, checking which notes are indexed, and retrieving a bounded amount of note content for further processing.

Limitations and notes

Each server instance handles one vault only. Note vectors must come from the Smart Connections plugin, so the vault needs to be indexed before semantic note searches can work. Plain-text searches use the locally downloaded model instead.

The server intentionally has no write capability; edits must be made in Obsidian or another file-management workflow. VAULT_PATH is required, and it must identify the vault the process is allowed to read. The implementation is distributed under the MIT license.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Smart Connections

smart-connections is an MCP server that connects MCP clients to an Obsidian vault indexed by the Smart Connections plugin. Its main tools search by text, find similar notes, search raw embeddings, retrieve validated note content, report model information, and list indexed notes. It is read-only and uses local inference for text queries.

Install it by cloning the repository, running `npm install`, and building with `npm run build`. Node.js 18 or newer and the Obsidian Smart Connections plugin are required. Set `VAULT_PATH` to the absolute vault path, then configure the MCP client to run `dist/index.js`.

Yes, smart-connections works with Claude Code through its stdio MCP configuration. Add the server with the node executable, point it to `dist/index.js`, and provide `VAULT_PATH`. Restart Claude Code after configuring the server.

No, smart-connections cannot modify notes. It exposes read-only search and retrieval tools, with no write operations or shell execution. Use Obsidian or another editing workflow to change vault content.

No, smart-connections can work without Obsidian running after Smart Connections has built the vault embeddings. The plugin is still required to create the note index, while text-query embeddings are computed locally by the server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSmart Connections AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/smart-connections?style=directory)](https://allmcps.com/mcp/smart-connections)
HTML Embed
<a href="https://allmcps.com/mcp/smart-connections"><img src="https://allmcps.com/api/badge/smart-connections?style=directory" alt="Smart Connections on AllMCPs" /></a>