Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.14 instead.
Reason given by maintainers: madb-mcp-server==0.2.14 available

madb-mcp-server

Persistent causal memory for Claude Code — causal chains, composite-scored recall, and a built-in Memory-ROI meter.

madb-mcp-server gives Claude Code (and any MCP-compatible client) a real database backend for agent memory: causal chains, composite-scored recall, a tamper-evident integrity chain, and built-in analytics.

Install

pip install madb-mcp-server

Or run directly with uvx (no install needed):

uvx madb-mcp-server

Claude Code Setup

claude mcp add madb -- uvx madb-mcp-server

Or add to your project's .mcp.json:

{
  "mcpServers": {
    "madb": {
      "command": "uvx",
      "args": ["madb-mcp-server"],
      "env": {
        "MADB_DATA_DIR": "~/.madb/data",
        "MADB_TENANT_ID": "default"
      }
    }
  }
}

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "madb": {
      "command": "uvx",
      "args": ["madb-mcp-server"],
      "env": {
        "MADB_DATA_DIR": "~/.madb/data",
        "MADB_TENANT_ID": "default"
      }
    }
  }
}

Tools (12)

Tool Description
remember Store a memory with causal links, tags, and importance scoring
recall Semantic recall — vector similarity + recency + causal proximity + importance
get_memory Point lookup by event_id
forget Soft-delete a memory (tombstone, preserved in causal chain)
search Structured query by tenant + scope
list_recent Last N memories for a tenant
save_skill Store a reusable skill/pattern (GC-protected, idempotent by name)
recall_skill Semantic skill recall with structured output
list_skills List all saved skills ranked by composite score
stats Engine metrics snapshot (writes, reads, flushes, compactions, WAL state)
trace_cause Walk the causal DAG forward or backward from any memory
analytics MCP usage analytics — call counts, latencies, recall precision, Memory ROI

Memory ROI

MADB tracks how much value its memory provides to your Claude sessions:

  • Tokens served from recall — context delivered from memory instead of re-reading files
  • File reads avoided — estimated file re-reads saved by recalling from memory
  • Recall precision — hit rate and average relevance score
  • Write-to-read ratio — tokens recalled per token written (run the analytics tool to see your session's ratio)

Run the analytics tool at any time to see your session's Memory ROI.

Resources

URI Description
madb://memories/{event_id} Read a single memory record

Environment Variables

Variable Default Description
MADB_DATA_DIR ~/.madb/data Database storage directory
MADB_TENANT_ID default Default tenant for tool calls
MADB_API_KEY (unset) If set, every tool call must pass a matching api_key
MADB_TELEMETRY (on) Set to off to disable anonymous usage telemetry
MADB_SKIP_UPDATE_CHECK (unset) Set to 1 to disable the daily PyPI version check

Privacy & Telemetry

Your memory content never leaves your device — all data is stored locally under MADB_DATA_DIR (~/.madb by default).

To improve the product, the server sends anonymous usage telemetry:

  • What is sent: an opaque random install id, the package version, the host OS/Python version, the MCP runtime (e.g. claude-code), and counts — tool-call totals, distinct tools used, recall hits, sessions.
  • What is never sent: memory content, queries, payloads, tenant names, file paths, usernames, or hostnames. "We measure how much, never what."
  • When: an activation event on first connect and a heartbeat at most once per day. Fire-and-forget; it never blocks or delays a tool call.
  • Opt out completely: set MADB_TELEMETRY=off.

A one-time notice is printed on first launch. On first run the server also copies a bundled Claude Skill into ~/.claude/skills (existing files are left untouched) and checks PyPI for updates (MADB_SKIP_UPDATE_CHECK=1 to disable).

How It Works

MADB is an agent-native database built in Rust with 5 novel primitives:

  1. Causal DAG — every memory links to what caused it, forming an evidence chain
  2. Composite-scored recall — vector similarity + recency + causal proximity + importance
  3. Storage-layer policy — scope and retention rules enforced at the engine level
  4. Partitioned WAL — per-tenant write-ahead log for crash safety
  5. Time-bucketed HNSW — vector index organized by time for recency-aware search

License

Meta-Agents.AI Proprietary License v1.0. Install-and-use is permitted for end-users of the published wheels; source access, OEM embedding, and hosted-service rights are reserved for separately-negotiated agreements. Patent pending.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

madb_mcp_server-0.2.13-cp313-cp313-win_amd64.whl (628.8 kB view details)

Uploaded CPython 3.13Windows x86-64

madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

madb_mcp_server-0.2.13-cp313-cp313-macosx_11_0_arm64.whl (711.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

madb_mcp_server-0.2.13-cp312-cp312-win_amd64.whl (631.1 kB view details)

Uploaded CPython 3.12Windows x86-64

madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

madb_mcp_server-0.2.13-cp312-cp312-macosx_11_0_arm64.whl (716.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

madb_mcp_server-0.2.13-cp311-cp311-win_amd64.whl (670.3 kB view details)

Uploaded CPython 3.11Windows x86-64

madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

madb_mcp_server-0.2.13-cp311-cp311-macosx_11_0_arm64.whl (723.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

madb_mcp_server-0.2.13-cp310-cp310-win_amd64.whl (666.1 kB view details)

Uploaded CPython 3.10Windows x86-64

madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

madb_mcp_server-0.2.13-cp310-cp310-macosx_11_0_arm64.whl (731.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file madb_mcp_server-0.2.13-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b2a73e825dd36f4ce9fb88ba1f06b446831cacc794348bda7e4c807e652f2ad9
MD5 ca7461bbfdd552e5ad9e88cd01f8d73e
BLAKE2b-256 8288ae6e33745723ae34518836b37c7e34c2cf225f787571d27dbd6c003feb9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp313-cp313-win_amd64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b3d0086075c9573c79e0758b9c072a831ef81360787347fc70708804d2d2aa1
MD5 05ed0aa37973334646888c81b2f685ff
BLAKE2b-256 c9a6d4e4a9098d1f1b43a1713b72feb95ff06c2d799d065015997f7b4d8a1d75

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed47af45851683c0554d84cb5dbfdca64a6677d39bf8cfdcef70f6660021d40e
MD5 f499ff163e89364de69952fa6a273c58
BLAKE2b-256 88b30fb728185254736f6b693d7cc69dfc8574f0fc71c141a270ed9033d32e5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f66676e5e41ef576d4d583087e4f9e0edc699831e623d3141016fe0853140b32
MD5 3b2a096ac46107e5f29acb288bb30216
BLAKE2b-256 c980af468204da715eab594b5d8f608acd05299e601f56dce8919ceaf47593e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 41ad3d1dbc01cbf4c186c907be007d6330470b62a53bcf72f1033ad74ec6e111
MD5 c464b533a7bed404102df4dddb1354c6
BLAKE2b-256 a4030ecd175e26eb4524961950210a50939bd3849b81a802feebc97b70aad857

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp312-cp312-win_amd64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bac5bea182f6c6074434a954c12fc67cac7d82c4d9f7d68e2bcb58e4eb8ac448
MD5 1333dee005da2cee38f07f04cffe6aa2
BLAKE2b-256 351265833e5e24deb9a2a019b4a65c369173c4598c580dd584eb796fd3777e4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ae54ea434589d6b7ee124f266e5ef21501e80a280b4c6eae5ccd131c0895b1ec
MD5 b1e34e5d2d4226ba0bfb4afeed82cf6c
BLAKE2b-256 009848e148e65c8ca050f789e4513b56cc6087614bf06ca9de695d82121cf3c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 531d22b942a9e0b85dabe9cae8adf3bdeedded577cfaa9753b578a8d7c5f8846
MD5 96cc603520a200cf22cb98aa55e9fdd4
BLAKE2b-256 c77bdfc326ff92826f51b674bd07d9354963a3c1a262603661ef37ec8dc0b43d

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5fc69f0d5b7033d631c23d026cb806c6097b6cb845943bd22b777aa7a6c4aa78
MD5 1b1f6a2ddbeb5a83c22980792db83648
BLAKE2b-256 48e503c0fc4f0b618f23be90cfa3af38058db006f5a21b07addb4d96b12a6b8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp311-cp311-win_amd64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66c576445c8c28d4ba09231d1a6892632bb8ad2eefc6ec6af2c269ace126463f
MD5 5ff1c6cb1c120f0c3583bc8c2896a715
BLAKE2b-256 8c5707abf8d7a7177099ba586efa215e58b28c12cc0fd3fa4a3ec9bcf08c6481

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5aed4d5d08084a4ae0737cf7886bce3c46c36a0e7038541437329cab72f5deb9
MD5 6c4632c5ec847e4a11f98ac6e58351f7
BLAKE2b-256 bee8e77f25045c741c1e45aa6ed99e15d713e584b684ac63bd27a0c8db3e668e

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50d4d2cb53a070333f9f9afada634f1552db18e857de16f79b43199bef303f82
MD5 175a40d91db642e131b41b21c6edff06
BLAKE2b-256 96b4c7a6701a81f39ad793966e0b8a20a2eb6d888f5571a200430beca3ad0eaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 11e183340a948dc82216066bd77bcffd7b1ee570651865ff47354d2696eb0d26
MD5 c0c9dcd1003296d438a89b52e8fe4874
BLAKE2b-256 c7f9f414c9a33d6833c39c8baf2d2e1207fe95d0991ebbbe0349241e6c9d9d1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp310-cp310-win_amd64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f473f126c1161e7726b38bda485edab8b548e5ad4ad5c437bcc366a6019eea9
MD5 e7c8728cff335ff3ae22f48f8e93bdef
BLAKE2b-256 4b91534325f8ee75b4908ab4210d465a111681636b13e93b98ce2d8f47e22966

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6492aef34c9b2a4e8d01fe6535bfbeb946c650e1e4cc8f37b8523cceb946ea6d
MD5 2279081669ca3a83f624596c5895d3b7
BLAKE2b-256 df00123129332c05e031794448aceedd6512ff5c0c07fc7b5eaff3e42c14869e

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_mcp_server-0.2.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_mcp_server-0.2.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f867f903fdf724629d1f8b1d887f74fb3b1c1366e85461334436fd797b5a565f
MD5 8086918d0d046b3fe9effcb20824b377
BLAKE2b-256 5ff7e12b0701398616e8316890d0d34564b05c5391a6572a9ad488a0482c048e

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_mcp_server-0.2.13-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: mcp-server.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.14

16 files

This release

0.2.13 This release

16 files

0.2.12

16 files

0.2.11

16 files

0.2.10

16 files

0.2.9

16 files

0.2.8

16 files

0.2.7

16 files

0.2.6

16 files

0.2.5

16 files

0.2.3

12 files

0.2.2

9 files

0.2.1

9 files

Supported by

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