Documentation

Build on VaultKeeper MCP.

Install the server, connect a harness, and read the write contract. Everything runs on the host that holds your vault.

Quick start

Get the code

Clone the repository, install the locked dependencies, and run the test suite. You need Node.js 20 or newer.

Terminal
# clone and buildgit clone https://github.com/nhangen/obsidian-mcp.gitcd obsidian-mcpnpm ci && npm run build && npm test

Point it at your vault

The stdio server starts in the read profile. Set MCP_STDIO_PROFILE=write to expose the write tools.

Terminal
# read-onlyclaude-obsidian-mcp --vault /absolute/path/to/vault # with guarded writesMCP_STDIO_PROFILE=write claude-obsidian-mcp \  --vault /absolute/path/to/vault --daily-path Daily/

Or install the plugin Recommended

Claude Code and Codex users can skip both steps. The plugin installs or reuses a verified runtime for you.

Terminal
# claude codeclaude plugin install nhangen/obsidian # then, inside a session/obsidian:setup

Connect a harness

Each guide registers obsidian for reads and obsidian-write for guarded writes.

The Keeper contract

What a write accepts, what it returns, and how to retry it safely.

Capture and hooks

How sessions and commits reach the vault without a second writer.

Deploy over HTTP

Serve one vault to remote clients with scoped tokens.