Skip to main content

MCP server for ZizkaDB — give any AI agent persistent memory and observability

Project description

agentdb-mcp

MCP server for AgentDB. Gives any MCP-compatible AI agent persistent memory, semantic search, causal debugging, and time travel — no SDK, no code changes.

Works with Claude Desktop, Cursor, Windsurf, Zed, LangChain MCP, CrewAI, AutoGen, and any framework that supports the Model Context Protocol.

Install

pip install agentdb-mcp

Or run directly with uvx (no install needed):

uvx agentdb-mcp

Quickstart

Get an API key at agentdb.zizka.ai, then add AgentDB to your MCP config.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "agentdb": {
      "command": "uvx",
      "args": ["agentdb-mcp"],
      "env": {
        "ZIZKADB_API_KEY": "agdb_live_xxxx"
      }
    }
  }
}

Restart Claude Desktop. You'll see AgentDB tools appear in the tool list.

Cursor

Edit your MCP config at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "agentdb": {
      "command": "uvx",
      "args": ["agentdb-mcp"],
      "env": {
        "ZIZKADB_API_KEY": "agdb_live_xxxx"
      }
    }
  }
}

Self-hosted AgentDB

{
  "mcpServers": {
    "agentdb": {
      "command": "uvx",
      "args": ["agentdb-mcp"],
      "env": {
        "ZIZKADB_HOST": "http://localhost:8000",
        "ZIZKADB_API_KEY": ""
      }
    }
  }
}

Available Tools

Tool What it does
log_event Log an agent action (tool call, decision, message) with optional causal link
search_memory Semantically search past events by meaning
get_context Get a formatted memory block ready to paste into a system prompt
why Trace the causal chain that led to any event
query_events List recent events for an agent, optionally filtered by type
time_travel Replay exact agent state at any past timestamp
memory_diff Summarise what happened in a session
forget GDPR erasure — delete all events matching a filter

Example: Claude with persistent memory

Once configured, Claude can call AgentDB tools in any conversation:

"Remember that the user prefers short replies" → Claude calls log_event("assistant", "preference", {"note": "user prefers short replies", "user_id": "u_123"})

"What do I know about this user?" → Claude calls search_memory("user preferences and history", agent="assistant")

"What did you tell this user last week?" → Claude calls time_travel("assistant", "2026-05-03T00:00:00Z")

Environment Variables

Variable Default Description
ZIZKADB_HOST https://agentdb.zizka.ai API base URL (change for self-hosted)
ZIZKADB_API_KEY (empty) Your API key from the dashboard

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zizkadb_mcp-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zizkadb_mcp-0.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file zizkadb_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: zizkadb_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for zizkadb_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8c0385f562f248213dc29e808c912b82dbf8b53cb37214b6f72dbc165058ae5
MD5 b79cfd69a41851cff1c05b621557df47
BLAKE2b-256 41c842a93558539fe133340ae55c08f20bef3b961ec2bc552f04ef3fa6a1a01a

See more details on using hashes here.

File details

Details for the file zizkadb_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: zizkadb_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for zizkadb_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50df9470fcd334f28d5481b84093d647ea17d60193b59022ac79a01016468dc7
MD5 125e1352367e77a87dcae309b3cea7e0
BLAKE2b-256 2f47a0f40eb05dbbe5f954ef160236fd1573e2be3304f52423b6b502efe82f5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page