DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to connect Claude Code to your Obsidian vault over MCP with Compass

Point Claude Code at Local REST API so it can read, search, and patch notes.

Short answer: Enable the Local REST API community plugin in the vault and note the per-install key it generates on first load; then Confirm the MCP server is running at http://127.0.0.1:27123/mcp; register the server with claude mcp add --scope user and the URL above, storing the key outside the vault. All steps.

Credentials. The Local REST API key grants access to the vault, so store it outside the vault and never commit .mcp.json or agent sessions.

Who it is forA developer or power user who already uses Claude Code and wants it to work directly on their Compass vault.

The problemCopying notes into an agent chat is slow and loses structure, and the agent cannot act on the vault without a safe connection.

The outcomeClaude Code connected to the vault's MCP server, with read-only tools pre-approved and the key kept outside the vault.

What you need first

  • Obsidian 1.13.1 or newer
  • The Compass zip from Releases, or a clone of the repository
  • A desktop computer for Agent Client and the Local REST API bridge (these are desktop-only)
  • For the agent use cases: a local agent such as Claude Code, Codex, or Gemini CLI

Steps

  1. Enable the Local REST API community plugin in the vault and note the per-install key it generates on first load.
  2. Confirm the MCP server is running at http://127.0.0.1:27123/mcp.
  3. Register the server with claude mcp add --scope user and the URL above, storing the key outside the vault. (inferred, check the README)
  4. Review .mcp.example.json and .claude/settings.json to see the read-only tool allowlist.
  5. Ask Claude Code to search the vault and read one note to confirm the connection works.

Prompt for your agent

Using the Obsidian MCP server at http://127.0.0.1:27123/mcp for the Compass vault at <vault path>, list the available tools and search for notes tagged example. Expected output: the tool names and a count of matching notes. Verify that no note was written or patched during the check.

Caveat. The README says the Local REST API bridge is desktop-only and the MCP server exposes 16 tools, so check which of them you allow before enabling write tools.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for AgriciDaniel/compass and "Connect Claude Code to your Obsidian vault over MCP"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer