Agent♥︎Age
Catalog

metabrain

Official

by ariaxhan · Python

MCP server giving AI agents persistent SQLite memory that proves which lessons hold.

metabrain (io.github.ariaxhan/metabrain) — MCP server for persistent SQLite memory

The MCP server io.github.ariaxhan/metabrain provides AI agents a persistent SQLite memory layer. It is described as a zero-dependency, one-file system that helps agents retain memory across sessions and “prove which lessons hold.”

🛠️ Key Features

  • Persistent SQLite memory for AI agents
  • Learns what works / maintains “proven preferences”
  • Zero dependencies and one file
  • Exposes memory state via MCP (e.g., start_brief() returns open hypotheses and open units)

🚀 Use Cases

  • Register the server with an MCP-capable client
  • Use for an AI coding agent deciding whether to install it
  • Initialize an agent memory brief via start_brief() after registration

⚡ Developer Benefits

  • Survives the session via a specified SQLite database (e.g., --db ./agent.db)
  • Installation via pip install 'metabrain[mcp]'
  • Integration examples for Claude (claude mcp add ...) and Codex (~/.codex/config.toml)

⚠️ Limitations

  • Requires that the MCP server be registered before running start_brief()
  • The README excerpt does not describe other tools beyond the shown commands

Topics

agent-memoryagentsaillmmemorypythonself-improvingsqliteai-agentsclaude-codecodexllms-txtmcpmcp-servermodel-context-protocolgemini-cli-extension