Berry Brain
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Berry Brainrecall what we learned about fixing the SQLite FTS5 setup bug"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Berry Brain
Shared, private memory for AI agents. Use it with Codex, Claude Code, or another client that supports MCP, the Model Context Protocol.
The brain saves task state and checked results. Agents can use this memory to resume work and test lessons from past tasks. Each new installation starts empty.
How it works
flowchart LR
Codex <--> Brain[Brain tools]
Claude[Claude Code] <--> Brain
Other[Other MCP clients] <--> Brain
Brain <--> Data[(Private database)]An agent reads saved state and finds lessons that match the task.
It checks current facts and does the work.
It saves the result and its evidence.
It can propose a lesson and test it on later tasks.
A lesson needs helpful results from two new tasks before normal recall can return it. Each test must have distinct evidence. Harmful feedback stops reuse.
Memory changes the context given to the model. It does not train the model or ensure better answers. Saved text is evidence. It cannot grant permission or replace instructions.
Related MCP server: NotNessie MCP Server
Set it up
You need Python 3.11 or later with SQLite FTS5 support. Install your AI clients
first. The Codex command must be on your PATH.
Download or clone this repository. Open a terminal in its directory.
On Linux or macOS:
python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/berry-brain-configure codex --local
.venv/bin/berry-brain-configure claude --localRun the setup command for each client you use. For Windows commands, see Setup and data.
Reopen the client sessions. Ask an agent to recall a task, then save a checked result. Both clients use the same local database.
Setup adds the brain tools and a short reminder to the client's global instructions. It does not need a separate brain account, model key, or server.
Keep .venv at this path. After an update, run the install and setup commands
again. Saved data stays outside the source directory.
Read more
Guide | What it covers |
Client setup, data paths, privacy, backup, and faults | |
Recall, evidence, lesson tests, and skill updates | |
Source files, tests, host access, and upgrades |
Local mode makes no network requests. The AI client can send recalled text to its model provider. Keep private data and credentials out of Git.
Released under the MIT license.
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Persistent personal memory for AI assistants — save, search, and recall across every MCP client.
Shared project memory that keeps teammates and AI agents aligned across sessions.
Long-term memory for AI coding agents: durable project facts, recalled by every MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides persistent cross-session memory for Claude Code, enabling it to remember user preferences, decisions, and project context across new sessions.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to persist and retrieve project memory across sessions, including decisions, constraints, verified commands, and context packs, via nine MCP tools.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to capture, store, and retrieve durable learnings from projects via MCP tools, providing a queryable memory of product and technical lessons across repos.MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple MCP-compatible AI clients to share persistent, versioned project knowledge across sessions with conflict-safe updates, provenance, hybrid retrieval, stale-memory handling, and context-budgeted recall.MIT