Skip to content
Claude Code

vaultguard for Claude Code

io.github.ashishrao-4/vaultguard

AI agents use your Obsidian secrets by name — values never reach their context.

client:Claude Code transport:stdio runtime:npm

Install vaultguard in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add vaultguard -e VAULTGUARD_PASSPHRASE=<VAULTGUARD_PASSPHRASE> -e VAULTGUARD_VAULT_PATH=<VAULTGUARD_VAULT_PATH> -e VAULTGUARD_HOME=<VAULTGUARD_HOME> -e VAULTGUARD_ALLOW_GET_SECRET=<VAULTGUARD_ALLOW_GET_SECRET> -- npx -y @ashishrao-4/vaultguard

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

vaultguard in other clients