MCP server for Obsidian Smart Connections. Semantic search using your vault's embeddings.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A security-first MCP server for Smart Connections. Read-only. Path-validated. Auditable.
Exposes Smart Connections embeddings to Claude Code and other MCP clients for semantic search of your Obsidian vault.
We needed semantic search of our Obsidian vault from Claude Code. Existing options have problems:
This implementation:
| Property | Guarantee |
|---|---|
| Path confinement | All file access validated against vault root |
| No traversal | ../ and symlink attacks blocked |
| Read-only | No write operations exposed |
| Bounded responses | Capped results (50), content length (10KB) |
| Fail closed | Errors deny access, never bypass |
| Audit logging | Security events logged with context |
Add to your Claude Code config:
Or manually add to ~/.claude.json:
Restart Claude Code to load the server.
Once configured, Claude Code can use these tools:
| Tool | Description |
|---|---|
search_by_text | Search using freeform text (computes embedding locally) |
search_similar | Find notes semantically similar to a given note |
search_by_embedding | Search using a raw embedding vector |
get_note | Get content of a specific note (path validated) |
get_model_info | Get embedding model configuration |
list_indexed | List all indexed notes |
| Variable | Required | Description |
|---|---|---|
VAULT_PATH | Yes | Absolute path to Obsidian vault |
~/.cache/huggingface/See CONTRIBUTING.md. Security-focused PRs welcome.
To report security vulnerabilities, please email gogogadgetcode@proton.me. Do not open public issues for security concerns.
MIT - see LICENSE
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/smart-connections)<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>