Fully Integrated MCP Plugin

Turn Obsidian Into an Automated Knowledge Base

Automatically capture commits, merges, research notes, and daily chats from AI agent sessions. Agents use your vault as a context library for future sessions.

Keeper's record
obsidian_find_notes
"refresh token race" · 3 matches
Read
obsidian_daily_append
Daily/2026-11-24.md · section added
Committed
obsidian_daily_append
retry · same key and payload
Skipped
obsidian_keeper_save
same key, new content · nothing written
Conflict
The Keeper records each write’s outcome, lists the exact vault paths it touched, and prevents retries from creating duplicate notes.
Install

Installs in just two commands.

Install the plugin in Claude Code or Codex, then connect your Obsidian vault within a session. The plugin handles runtime setup and keeps your existing credentials and host settings intact.

Node.js 20+ · Python 3.11+ for the client

terminal
# Claude Code: install the plugin
claude plugin install nhangen/obsidian
# then connect your vault from inside a session
/obsidian:setup
# Codex: add the marketplace and install
codex plugin marketplace add nhangen/claude-obsidian-plugin
codex plugin add obsidian@nhangen-codex-plugins
# then run the packaged setup skill in a new session
Other harnesses

Works in any harness.

Connect OpenCode, Gemini CLI, or any MCP-compatible client to the same VaultKeeper server. Select your client to see its configuration.

VaultKeeper
● obsidian● obsidian-write
Single writer as gatekeeper
{{file}}{{mode}}
{{config}}

{{note}}

How it works

The Vault Keeper

The Keeper holds the keys.

Agents submit structured write requests with a target folder and an idempotency key. The Keeper handles every vault edit: it writes the note, reconciles the folder’s INDEX, and reports every path it touched.

obsidian_keeper_save · result
{
"status": "committed",
"idempotency_key": "session-2026-11-24-a1b2",
"path": "Projects/Development/sessions/token-race.md",
"affected_paths": [
"Projects/Development/sessions/token-race.md",
"Projects/Development/sessions/INDEX.md"
],
"recovery": { "required": false },
"retryable": false
}
one session, hook by hook
SessionStartwriter owner resolved UserPromptSubmitturn boundary marked PostToolUsegit commit a1b2c3d captured Stopactivity gate passed, summarizer launched once receiptcommitted · Projects/Development/sessions/… StopFailureheld for inspection · retry with --retry
Plugin stop hooks

Sessions save themselves at Stop.

The Claude Code plugin uses the Stop hook to check for work worth saving whenever Claude finishes a response. The hook marks each new segment of the transcript so it’s picked up only once, then hands it to a background process that summarizes the work and sends the note to the Keeper. If processing fails, the plugin waits for you to retry.

Access

Enforced read limits and access controls.

Vault access starts in read-only mode. Remote requests need a token and can only perform actions that the token permits. Tokens are sent separately from the URL.

scopes by surface
vault:readfind_notes, resources, prompts repo:readcommit_meta vault:writekeeper_save, daily_append
rejected
tokens in query strings
unknown stdio profiles
hosts and origins outside the allowlist

Try VaultKeeper in your next agent session.

Install it, connect your Obsidian vault, and run a session as you normally would. Open an issue if something breaks or you have an idea for how we can improve VaultKeeper.