by istefox
Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client. Runs inside Obsidian, on-device semantic search, no cloud round-trip, no binary to download.
# Add to your Claude Code skills
git clone https://github.com/istefox/obsidian-mcp-connectorGuides for using mcp servers skills like obsidian-mcp-connector.
obsidian-mcp-connector is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by istefox. Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client. Runs inside Obsidian, on-device semantic search, no cloud round-trip, no binary to download. It has 144 GitHub stars.
obsidian-mcp-connector's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/istefox/obsidian-mcp-connector" and add it to your Claude Code skills directory (see the Installation section above).
obsidian-mcp-connector is primarily written in TypeScript. It is open-source under istefox on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh obsidian-mcp-connector against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
[!NOTE] Blank window on Obsidian 1.14 (Electron 43): fixed in 3.1.1. If Obsidian's window went white while this plugin loaded, update to 3.1.1 or later. Both causes were in the plugin. Read with Electron's own symbol files, the crash reports hold two signatures. The first is V8 stopping inside a read of Node's
AsyncLocalStorage: Node 24 (Electron 40 and later) keeps its frames in a V8 slot that Chromium also writes to, and 3.1.0 no longer uses it inside Obsidian. The second is V8 running out of JavaScript heap: every reload of the plugin kept the previous instance in memory, about 40 MB each, through a$arkglobal that the plugin's schema library registers and never removes, and 3.1.1 removes it at unload. On one Mac, toggling the plugin off and on: 3.0.3 crashed on the first reload and 3.1.0-alpha.2 once in 200 (Obsidian 1.14.5, Electron 43.8.3), 3.1.1 never in 420 (Obsidian 1.15.0, Electron 43.8.3). The reporter of #597 confirmed it on Obsidian 1.14.4 with 3.1.1 and closed the issue. #609 stays open until its reporter confirms. Details in ADR-0032 and on the Obsidian forum.
Your Obsidian vault, exposed to AI clients over the Model Context Protocol. The MCP server runs inside Obsidian, on loopback, with no binary to download and no cloud round-trip. Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf and VS Code all connect to the same endpoint.
What's new Β· Quick start Β· Tools Β· Rendered search results Β· Adaptive tool loading Β· Per-client tokens Β· Prompts Β· Protocol Β· Clients Β· Troubleshooting Β· Security Β· For developers
Obsidian (Electron) your AI client
βββββββββββββββββββββββββββββββββββββββ
β shared broker, hosted by one vault ββββHTTPβββΊ Claude Code, Codex, Cursor,
β 127.0.0.1:27200/v1/<route-id>/mcp β POST only Cline, Continue, Windsurf,
ββββββββββββββββββββ¬βββββββββββββββββββ VS Code
β forwards by route
ββββββββββββββββββββΌβββββββββββββββββββ
β MCP Connector plugin, every vault β
β ββ MCP server (in-process) β
β ββ 66 tools β
β ββ prompt renderer β
β ββ on-device embeddings ββββstdioββΊ Claude Desktop
βββββββββββββββββββββββββββββββββββββββ via .mcpb shim
127.0.0.1:27201-27212/mcp
Client configs point at the shared broker on 127.0.0.1:27200. One open vault hosts it inside Obsidian, every open vault registers a route with it, and it forwards each request to that vault's own port. A vault's port can change between restarts without breaking a saved config. If the hosting vault closes, another open vault takes over after a short outage. Details in ADR-0027
Four things follow from that shape:
app.vault and app.metadataCache APIs, so Obsidian's permission model still applies.| Change | Why it matters |
|---|---|
| Picking EmbeddingGemma or multilingual-e5 starts the download | The model download and the index build start as soon as you choose the provider, with no "Rebuild now" press. |
| The banner says what the build is doing | Building (with chunks so far), not built yet, or failed with Retry. "Rebuild now" answers with a notice, and a notice says when the index is ready. |
| Change | Why it matters |
|---|---|
| EmbeddingGemma finds the right notes | Gemma now runs on the CPU and reads the model's real sentence vector. On a 12-note test vault the expected note came first in 7 queries out of 7, against 1 in 7 before. The Gemma index is rebuilt once after the update. |
| Download progress for every model | The settings bar shows the EmbeddingGemma and multilingual-e5 downloads too, by name, with Retry. |
| Change | Why it matters |
|---|---|
| Fewer tools per session for older tokens | Access Control points out tokens still on All tools and moves them to Adaptive after a preview: about 12k tokens less of tool list in every session. |
| No search-results view for Codex and Claude Code | Installing for Codex or copying the Claude Code config turns the view off for that token, about 1k tokens less per search. |
show_file_in_obsidian never writes |
The read-only tool no longer creates a missing file. |
| Clients in Docker or Podman | The broker URL works from a container with host.docker.internal. See Clients in Docker or Podman. |
The full list is in the CHANGELOG.
| Change | Why it matters |
|---|---|
| No more blank windows on Obsidian 1.14 | The plugin no longer uses AsyncLocalStorage inside Obsidian, and 3.1.1 stops a reload from keeping the previous instance in memory. On one Mac: a crash on the first reload with 3.0.3, one in 200 with 3.1.0-alpha.2, none in 420 with 3.1.1. See the note at the top. |
| Headless mode | obsidian-mcp-headless serves the vault tools from a folder without Obsidian running. See Headless mode. |
| Lighter plugin load | The semantic search engine loads the first time a search needs it, not at startup. |
| Smaller tool results | Each result carries its data once instead of twice. |
The full list is in the CHANGELOG.
[!IMPORTANT] 3.0.0 is a major release, and it changes how every client connects. The shared broker now runs inside Obsidian on port 27200 and serves Claude Code, Claude Desktop, Codex, Cursor and the rest from one stable address. Existing Codex entries return
401until you reinstall them from the new Codex menu. Read Upgrading from 2.x before you update.
Every release is announced on the Obsidian forum thread, where questions and ideas are welcome too.
| Change | Why it matters |
|---|---|
| One broker for every client | Copy buttons and the Claude Desktop sync now give http://127.0.0.1:27200/v1/<route-id>/mcp. The address survives vault port changes and the port swaps caused by opening vaults in a different order. If the hosting vault closes, another open vault takes over after a short outage. Each client's own bearer token reaches the vault, so per-client tokens and tool profiles apply as on a direct port. |
| No separate process | The detached Node.js broker and its executable in application data are gone. The broker is plugin code in Obsidian's renderer, so there is nothing outside Obsidian to start, update or kill. |
| A Codex menu on every token row | Copy the config.toml snippet, copy a codex mcp add command, install into your Codex config, or install into a project. An install shows a preview first, then writes with a backup, a lock, an atomic write and a read-back. |
| Safe Codex installs | The installer refuses an entry that belongs to another vault, so two equally named vaults cannot overwrite each other. It migrates entries written by 2.11 and 2.12, and keeps your tool approvals and policy keys. |
| Register one project | Set Project path in Access Control. Claude Code copies a local-scope claude mcp add command for that project, and Codex installs into the project's .codex/config.toml. A project install never writes your token: it reads OBSIDIAN_MCP_TOKEN. |
| All tools offer for Codex | Codex does not refetch the tool list during a session, so an install on an Adaptive token offers to switch it to All tools. It is unticked by default and applied only after a successful |