GrayMatter MCP server
Persistent agent memory as a single Go binary: knowledge graph, TUI observability, zero infra.
471 stars
Reviews
Write oneNobody has reviewed GrayMatter yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
GrayMatter tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-21 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualityno auth information5/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the GrayMatter repository's README, as published. We do not edit it. Read it on GitHub
GrayMatter
AI agents forget everything between sessions. GrayMatter gives them persistent memory, a self-building knowledge graph, and cuts context tokens by 90%. One binary. Drop it in. Run it. No Docker, no databases, no config files, no cloud accounts, no bullshit. General-purpose MCP server. Zero vendor lock-in. Works with Claude Code, Cursor, Codex, OpenCode, Antigravity — and any MCP-compatible client. Also a plain Go library if you don't use MCP. Free. Offline. No account required.
Why
Every AI agent is stateless by default. Each run re-injects the full conversation history — and that history grows linearly. Two prompts in and you've already burned half of your daily quota.
That's not just a memory problem. That's a money and performance problem.
Mem0, Zep, Supermemory solve this — but they're Python/TypeScript-only and require a running server. The Go ecosystem has no production-ready, embeddable, zero-dependency memory layer for agents.
That gap is GrayMatter.
~90% reduction in context tokens — versus full-history injection. Remembers what a sliding window forgets: facts planted 96 sessions back come back 83% of the time. Context quality improves over time as consolidation surfaces only what matters. No Docker. No Redis. No API key required for storage. Drop it in once. It auto-connects to Claude Code, Cursor, Codex, OpenCode, Antigravity — any MCP-compatible client picks it up automatically.
Knowledge Graph
Your agent doesn't just remember facts — it builds a map of how they connect.
Run the daemon with --kg and every consolidation cycle extracts typed entities (person, organization, project) and links the ones that appear together. No manual tagging. No configuration. The graph builds itself from ordinary use.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
The registry entry has no remote endpoint or installable package.
GrayMatter: common questions
- Is GrayMatter MCP server safe?
- Mostly: it is graded B (70/100). Read the GrayMatter safety report
- Does GrayMatter need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is GrayMatter maintained?
- The last commit was in the last day (2026-09-20). The latest release is v0.16.4.
- What can I use instead of GrayMatter?
- Servers from other publishers that do the same job: Total Agent Memory MCP server, Inite Brain MCP server and IWE MCP server. Compare all GrayMatter alternatives.
Alternatives to GrayMatter
Same job from other publishers: the closest match first, then the best rated.
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA
- Inite BrainOpen-source bitemporal memory layer for LLM agents — knowledge graph with conflict resolution.not reviewedGrowingA
- IWEMarkdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- rag-ratRepository intelligence, code graph, history, papertrail, and cross-agent memory for coding agents.not reviewedGrowingB
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA