# ZizkaDB

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 164 repo stars
- Author: ZIZKA-AI-SL
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ZIZKA-AI-SL/ZizkaDB/tree/HEAD/mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — warning: a command downloads a script from astral.sh and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/zizkadb

## What it 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.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `ZIZKADB_HOST`, `ZIZKADB_API_KEY`, `ZIZKADB_TELEMETRY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
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-mcp
```
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>

### Codex

**Platform CLI**
```bash
codex mcp add mcp --env ZIZKADB_HOST=<ZIZKADB_HOST> --env ZIZKADB_API_KEY=<ZIZKADB_API_KEY> --env ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> -- uvx zizkadb-mcp
```
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>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ZIZKADB_HOST=<ZIZKADB_HOST> -e ZIZKADB_API_KEY=<ZIZKADB_API_KEY> -e ZIZKADB_TELEMETRY=<ZIZKADB_TELEMETRY> mcp uvx zizkadb-mcp
```
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>

## When to use it
- 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
- 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`.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
