ZizkaDB — Claude Code MCP server: features and setup
The ZizkaDB MCP server for Claude Code stores agent memory and an auditable event history. It searches past records, traces causes, and lets an agent inspect earlier states.
AGPL-3.0 ★ 164 updated 2026-11-16
claude mcp add --env ZIZKADB_HOST=<ZIZKADB_HOST> --env ZIZKADB_API_KEY=<ZIZKADB_API_KEY> --env ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> --transport stdio mcp -- uvx zizkadb-mcpWhat ZizkaDB does
ZizkaDB records events from an AI agent so they can be found later by keyword or meaning. It also supports causal debugging and viewing the history across time. The verify_chain tool checks whether the stored event history has been altered.
Cloud use requires an account at db.zizka.ai, an agent created in its dashboard, and that agent’s key in ZIZKADB_API_KEY. The name used in log_event must match the agent tied to the key. Running the server with uvx requires uv; for a self-hosted instance, set ZIZKADB_HOST. On localhost, a development key is supplied automatically.
What it helps with
- retain an AI agent’s event history
- find earlier records by keyword or meaning
- trace causes across recorded events
- check whether an event chain was altered
Example prompts for the agent
- Save the agent’s events so I can search them later by meaning.
- Find the records around this failure and trace what led to it.
- Check the agent’s history with
verify_chain.
How to install ZizkaDB
Platform CLI
claude mcp add --env ZIZKADB_HOST=<ZIZKADB_HOST> --env ZIZKADB_API_KEY=<ZIZKADB_API_KEY> --env ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> --transport stdio mcp -- uvx zizkadb-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from zizkadb-mcp <command>
Platform CLI
codex mcp add mcp --env ZIZKADB_HOST=<ZIZKADB_HOST> --env ZIZKADB_API_KEY=<ZIZKADB_API_KEY> --env ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> -- uvx zizkadb-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from zizkadb-mcp <command>
Config file
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"zizkadb-mcp"
],
"env": {
"ZIZKADB_HOST": "<ZIZKADB_HOST>",
"ZIZKADB_API_KEY": "<ZIZKADB_API_KEY>",
"ZIZKADB_TELEMETRY": "<ZIZKADB_TELEMETRY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from zizkadb-mcp <command>
Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"zizkadb-mcp"
],
"env": {
"ZIZKADB_HOST": "<ZIZKADB_HOST>",
"ZIZKADB_API_KEY": "<ZIZKADB_API_KEY>",
"ZIZKADB_TELEMETRY": "<ZIZKADB_TELEMETRY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from zizkadb-mcp <command>
Platform CLI
gemini mcp add -e ZIZKADB_HOST=<ZIZKADB_HOST> -e ZIZKADB_API_KEY=<ZIZKADB_API_KEY> -e ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> mcp uvx zizkadb-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from zizkadb-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about ZizkaDB
How do I install ZizkaDB in Claude Code?
Run claude mcp add zizkadb-mcp -e ZIZKADB_API_KEY=<ZIZKADB_API_KEY> -- uvx zizkadb-mcp. The uvx command requires uv to be installed.
What does ZizkaDB do?
It stores an AI agent’s event history and supports keyword and semantic search, causal debugging, and time-based history browsing. verify_chain checks the history for changes.
What does ZizkaDB need to work?
For the cloud service, create an account and agent at db.zizka.ai, then set its API key as ZIZKADB_API_KEY. The agent name in log_event must match the one associated with that key. Install uv to run the server with uvx; self-hosting also requires ZIZKADB_HOST.