Memory for coding agents, checked against the filesystem and git before it is believed.
MCPpedia last refreshed this data
io.github.0Mattias/bettermemory is an MCP server that memory for coding agents, checked against the filesystem and git before it is believed. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-0mattias-bettermemory": {
"args": [
"bettermemory"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP memory server for coding agents. Stored facts get checked against the filesystem and git before the model relies on them, so a memory that has rotted is flagged instead of quoted back at you.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'bettermemory' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked bettermemory against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
Transport for TMCP using STDIO
The graph based agentic IDE
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
MCP Security Weekly
Get CVE alerts and security updates for io.github.0Mattias/bettermemory and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP memory server for coding agents. Stored facts get checked against the filesystem and git before the model relies on them, so a memory that has rotted is flagged instead of quoted back at you.
Claude Code — two slash commands, zero config:
/plugin marketplace add 0Mattias/bettermemory
/plugin install bettermemory@bettermemory
Anything else that speaks MCP:
uv tool install bettermemory
bettermemory init --client claude-desktop # or cursor / cline / claude-code
Restart the client. bettermemory doctor exits 0 when it's wired
correctly and prints a one-line fix for anything that isn't.
Try it without installing: uvx bettermemory try writes a memory
citing a file, deletes the file, and shows the next search flagging it.
Offline, throwaway store.
path, path::symbol, path::NAME=literal) are re-checked
against the working tree; a claim that stops being true blocks the
stamp instead of riding along.bettermemory reindex
rebuilds it.bettermemory eval scores whether memory
actually helped against your own log ([ours is
published][eval-results]).You were likely handed this link with "set this up." On Claude Code, the two plugin commands above are the whole install — skip to step 3. Everywhere else, steps are idempotent and safe to re-run:
uv tool install bettermemory — or pipx install bettermemory,
or pip install bettermemory into a venv. Python 3.11–3.14.bettermemory init --client claude-code — likewise
claude-desktop, cursor, cline. For any other MCP host, plain
bettermemory init prints the canonical mcpServers JSON snippet
plus known config locations. (Continue needs a hand-written YAML
entry — see [docs/clients.md][clients-continue].)bettermemory doctor — exit 0 means correctly wir