Catalog PyPI
PACKAGE EXPLORERView in registry

agentdb-mcp

PyPI

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

agentdbagentsaiclaudecursormcpmemoryobservability
Versions collected1
Direct dependencies2From release 0.1.1
Last observed20 Oct, 21:47 UTC

README

Version 0.1.1 documentation

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": {
        "AGENTDB_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": {
        "AGENTDB_API_KEY": "agdb_live_xxxx"
      }
    }
  }
}

Self-hosted AgentDB

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

Available Tools

ToolWhat it does
log_eventLog an agent action (tool call, decision, message) with optional causal link
search_memorySemantically search past events by meaning
get_contextGet a formatted memory block ready to paste into a system prompt
whyTrace the causal chain that led to any event
query_eventsList recent events for an agent, optionally filtered by type
time_travelReplay exact agent state at any past timestamp
memory_diffSummarise what happened in a session
forgetGDPR 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

VariableDefaultDescription
AGENTDB_HOSThttps://agentdb.zizka.aiAPI base URL (change for self-hosted)
AGENTDB_API_KEY(empty)Your API key from the dashboard

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.112 May 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
zizka-ai/agentdb

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:47 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e65f343971c15d380d7128b49fcdaceb24833db6b43b619ece8f763035d649c4