Skip to content
Claude Code

kdbx for Claude Code

io.github.yarrasys/kdbx

Read-only access to secrets in a local KeePassXC vault. Runs commands with them injected.

client:Claude Code transport:stdio runtime:oci

Install kdbx 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 kdbx -e KEEPASSXC_DIR=<KEEPASSXC_DIR> -e KDBX_ENV=<KDBX_ENV> -- docker run -i --rm ghcr.io/yarrasys/kdbx:0.3.1

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

kdbx in other clients