MADB — Agent Memory Database runs on your own machine — the client starts it, so there is no endpoint to ping. 855 installs a week from pypi. Last commit 7 Jul 2026.
Durable causal memory for AI agents — semantic recall, causal lineage, and skills. Local-first.
We read the source, 17 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
self.proc = subprocess.Popen(
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add madb-memory -- uvx madb-mcp-server
{
"mcpServers": {
"madb-memory": {
"args": [
"madb-mcp-server"
],
"command": "uvx"
}
}
}
[mcp_servers.madb-memory]
command = "uvx"
args = ["madb-mcp-server"]
{
"mcpServers": {
"madb-memory": {
"args": [
"madb-mcp-server"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"madb-memory": {
"args": [
"madb-mcp-server"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
MADB_DATA_DIR (Where MADB stores your causal memory — local, on your machine (default ~/.madb/data).), MADB_TENANT_ID (Tenant namespace key for separating memory streams (e.g. per project). Defaults to a built-in namespace.), MADB_TELEMETRY (Set to 'off' to disable anonymous, count-only usage telemetry.).
The author declared them in the registry entry; get the values from the project itself.
Local-first memory for AI agents: SQLite FTS5, deterministic recall, no vector DB, no cloud.
Persistent memory for AI coding agents: one Rust binary, one local SQLite database.
Local-first graph memory for AI assistants with SQLite, semantic search, and MCP tools.
Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.
Local-first agent memory over SQLite: remember, recall, link, forget. Degrades, never fails.
Markdown memory for AI agents. Files you can read, edit, grep, and commit. Not a database.
Local-first, auditable memory for MCP-compatible AI agents with explicit writes and SQLite storage.
Embedded, local-first memory and retrieval for AI agents. One SQLite file, no server, no API key.
Answers built from our own checks of this server.