Skip to content
Claude Code

Lokra for Claude Code

io.github.lokrahq/lokra

Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger.

client:Claude Code transport:stdio runtime:pypi

Install Lokra 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 lokra -e LOKRA_CONFIG=<LOKRA_CONFIG> -e LOKRA_TOKEN=<LOKRA_TOKEN> -- uvx lokra

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

Lokra in other clients