faber-memory
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
One memory for every AI coding agent you use, on every machine you use it. Agents propose, you approve, Git keeps it.
Why it exists
AI coding agents remember things now. Claude Code writes its own memory files, Antigravity keeps its own knowledge, Cursor has rules. But each one remembers for itself, on one machine.
FaberSEP Memory started from a common setup: several AI tools on a workstation, plus agents running unattended on a server. Without a shared layer, a rule settled with one tool stays unknown to the others, and every machine drifts on its own. FaberSEP Memory gives all of them one memory: a rule approved once is known to every tool on every machine, and nothing becomes a rule without the owner's approval.
Related MCP server: MemoV
How it differs from an agent's built-in memory
Built-in agent memory | FaberSEP Memory | |
Who can read it | The one tool that wrote it | Claude Code, Antigravity, Codex, Cursor, Claude Desktop |
Where it lives | One machine | A Git repo you can clone to any machine, a server included (read-only there) |
Who writes it | The agent, silently | What you tell it to remember is saved at once; what the agent decides on its own waits for your approval |
History and undo | Usually none | Every change is a Git commit |
Recover an overwritten instruction file | Depends on the tool | Restore a saved local version with one command |
Team use | Not shareable | Optional private team repo |
Context loading | Depends on the agent and its memory layout | A startup index capped at ~1,500 tokens by default, with details fetched on demand |
If you use one tool on one machine and are happy with its memory, you don't need this.
Suppose an agent overwrites your global Claude instructions. At the next session, FaberSEP Memory tells the agent to let you know. It kept the earlier file on your machine. Run faber-memory restore claude-code, review the changes, and confirm to bring it back.
How memory scales
A local test compared loading every rule from one Markdown file with loading FaberSEP's startup index and tools. Counts are estimated memory tokens.
Stored rules | Full Markdown | FaberSEP at startup | FaberSEP with one lookup |
20 | 1,376 | 977 | 2,261 |
100 | 6,926 | 2,156 | 3,666 |
300 | 20,876 | 2,156 | 4,233 |
At 300 rules, FaberSEP used about 90% less at startup and 80% less with one lookup. At 20 rules, loading the full file used fewer tokens than starting FaberSEP and doing one lookup. Direct keyword queries found the right rule first in all five cases at every size. At 300 rules, none of the five paraphrases found it in the top five. Method and benchmark results
What init changes, and how your agent finds it
There is no background service and no account. faber-memory is a CLI plus a small MCP server that your AI tool starts by itself (stdio) when a chat opens.
faber-memory init does three things:
Creates your memory folder at
~/.faber/memory: plain Markdown notes in a Git repo.Adds one marked block to each tool's global instruction file. For Claude Code, in
~/.claude/CLAUDE.md:<!-- faber-memory:start --> @/Users/you/.config/faber-memory/state/MEMORY.md Use the faber-memory MCP tools: memory_search and memory_get for the details behind these lines; when you learn a durable rule, decision, lesson or preference, call memory_propose (the user approves it later; never edit memory files directly). When the user explicitly asks you to remember something, call memory_propose with source "user" and their exact words in user_quote; it is saved at once. <!-- faber-memory:end -->MEMORY.mdis a short index compiled from your notes, so the agent knows what exists from the first message.Registers the MCP server
faber-memoryin each tool's MCP config. It gives the agent three tools:memory_search,memory_getandmemory_propose. Agents can only propose; they never write active memory.
Tool | Instruction file | MCP config |
Claude Code |
|
|
Antigravity |
|
|
Cursor | none |
|
Claude Desktop | none |
|
Codex (CLI and app) |
|
|
Every touched file gets a .bak backup. init prints one line per tool; init --details shows each file change, init --preview shows what would change first, and init --undo removes the block and the MCP entry and leaves your notes alone. Details: Connecting engines.
Get started
You need Node.js 20+ and Git.
npm install -g @fabersep/memory
faber-memory init # add --preview to see the changes first
faber-memory doctor # every line should say PASSOpen a new chat and tell your agent something it would otherwise get wrong, for example "In this project we run the tests with make test. Remember that." Because you asked, it is saved at once, and the agent tells you how to undo it (faber-memory undo <id>).
When the agent learns something on its own (say, from a failed build), it only proposes a memory. Approve those in the review page:
faber-memory web # local review UI on 127.0.0.1 (or: faber-memory review)Either way, any connected tool knows it from its next new chat.
Already have rules in AGENTS.md, CLAUDE.md or Cursor rules? Import them; they go through the same review.
More than one machine
Your memory is a Git repo, so push it to a private remote and clone it elsewhere:
faber-memory remote add git@github.com:<you>/<private-repo>.git # on your main machine
faber-memory setup --read-only <repo-url> # on a server that runs agents
faber-memory init # then connect that server's agentsA read-only host pulls on start and serves the same memory to its agents; proposals and approvals stay on your main machine. See Personal remote and a second machine.
Teams
Connect a private team repo and one approved rule reaches every teammate, whatever tool each person uses. See Team mode.
Learn more
User guide and reference: how it works inside, every command, the MCP tools, where files live, updating and removing.
Why FaberSEP Memory?: comparisons with built-in memory, one big
AGENTS.mdand vector databases.
Free and open source, runs on your computer, no account or API key. Part of FaberSEP.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Shared, scoped, reviewable team memory for AI coding agents.
One memory for every AI you work with: your rules, notes and decisions in your own Git repo.
One shared project memory for your AI coding tools: recall, save and brief decisions anywhere.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceProvides persistent memory for AI coding assistants, storing and retrieving architectural decisions, patterns, and solutions across sessions using semantic search, while also offering git integration for commit messages and code expertise mapping.MIT- AlicenseNot gradedqualityDmaintenanceProvides a memory layer for AI coding agents with Git-powered version control, enabling automatic tracking of prompts, context, and code diffs.194MIT

robo-cortexofficial
AlicenseAqualityBmaintenanceProvides a git-aware knowledge base for AI coding agents to store and retrieve memories anchored to code changes, with automatic staleness detection.947 PyPI1MIT- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to persist project memory across sessions by compiling decisions, progress, and pitfalls into git-linked, evidence-backed entries. It lets clients add, query, inject, scan for stale, check assertions on, and compute ROI of those memories over stdio.MIT