Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

GrayMatter

by angelnicolascversion 0.16.4i★ –i–
Registry nameio.github.angelnicolasc/graymatter

Install

Overview

Description from the maker (original English)

Persistent agent memory as a single Go binary: knowledge graph, TUI observability, zero infra.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: –
  • Transport:
  • Category: Search & AI memory

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

The maker has not listed install details in the registry. See the maker’s README below.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account angelnicolasc, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 5686 servers in this category
  • Published to the registry more recently than 35% of the other 5686 servers in this category
  • Basic checks equal to or better than 100% of the other 5686 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is GrayMatter safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.16.4) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code.

What can I use instead?

In the same category: Context7, Codebase Memory, Exa

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Context7

Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.

by upstashWidely used↓ 972.7K/wk★ 64.2KUpdated 2 days ago

Computer or cloud

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

by DeusDataWidely used↓ 18K/wk★ 48.1KUpdated 22 days ago

Runs on your computer

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsGrowing★ 5.2KUpdated 2 months ago

Runs in the cloud✓ exa.ai

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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.

Every edge carries receipts : the fact IDs that produced it.

Export to Obsidian with one command — entities become notes,

connections become wikilinks, and the whole graph renders natively.

graymatter daemon run --kg    # that's it — the graph builds itself

The graph as one self-contained page — inline force-directed SVG, zero external assets, works offline. Hover any edge to see the fact IDs that produced it:

graymatter kg render --out graph.html

graymatter kg render --out graph.dot # Graphviz, for your own layout graymatter doctor --graph --html # analytics + this render in one go

Watch it build, one frame per session:

scripts/kg-timelapse.sh    # deterministic corpus -> frames -> GIF

or anywhere: scripts/Dockerfile.kg-timelapse


Observability

You can't improve what you can't see.

graymatter tui opens a memory workbench with six views:

ViewPurpose
MemoryBrowse namespaces, filter active/retired/alias facts, inspect provenance, add, revise, retire and pin exact facts
RecallInspect ranking receipts without incrementing access counts or learning aliases
ActivityInspect harness runs and checkpoints; confirm before stopping a running session
GraphFollow connected entities and open recorded supporting facts
UsageSwitch between subscription limits and API spend, with separate session context and source status
StatusInspect memory aggregates, embedding observations and configured providers

Press 1–6 to switch views, / for the command palette, n for namespaces, f to filter, Tab to move focus, and ? for contextual controls. Memory opens first. Narrow terminals show one pane at a time; larger terminals show the list and inspector together. --theme dark|light|terminal and optional --mouse adapt the workbench to your terminal. --read-only prevents memory and session mutations; it requires an existing store and either a running daemon or explicit --no-daemon.

Usage stays available in the footer as well as its own view. Limits are reported per account and window; API costs retain currency, period, source and whether they are reported or estimated. Missing data remains unavailable, and failed refreshes keep the last observation marked stale. No account is connected automatically. See the workbench guide and Usage setup.

graymatter doctor --graph extends visibility to the knowledge graph itself: hubs by degree, articulation points, orphans, and a declared connectivity ratio — printed or emitted as JSON.


What GrayMatter gives you

Persistent memoryFacts survive across sessions. Recall by meaning, not just keyword
90% token reductionTop-8 relevant facts instead of full-history injection
Automatic hooksClaude Code injects routine recall every turn; MCP remains available for writes and focused searches (graymatter hooks install)
Receipts, not vibesrecall --explain returns why each fact ranked: per-signal ranks, fused score, provenance
Knowledge graphTyped entities and co-mention edges, auto-populated from ordinary use
Self-curationmemory_reflect lets the agent add, update, forget, and link its own memories
Context blockProjects top facts into CLAUDE.md / AGENTS.md inside a token budget (context-sync)
Free auditordoctor --audit measures tokens, duplicates, staleness, and marker conflicts in any instruction file
Deterministic decay30-day half-life; facts fade when nothing touches them. Tombstones, never deletes
Single binary~10 MB static. No Docker, no Redis, no config files, no cloud accounts

Quick start

Install and see it working in under a minute — no API keys, no Ollama:

go install github.com/angelnicolasc/graymatter/cmd/graymatter@latest

graymatter demo # offline sample store, then the workbench opens graymatter init # wire YOUR project: MCP config + memory block graymatter init --hooks # Claude Code: memory injected every turn graymatter doctor # read-only observations of local setup artifacts

Standard doctor does not write a probe, start a daemon, execute a binary on PATH, or test whether the data directory is writable. Its config checks find references in files; they do not prove which settings a client loaded. In JSON, ok means no check failed, while readiness: not_evaluated keeps readiness separate from the observations. The --health, --graph, --audit, and --embeddings modes have separate contracts; graph rendering can write HTML.

graymatter init --global still performs that normal setup in the current directory. It additionally installs the managed memory instructions in Claude Code and OpenCode's home-scoped instruction files. It does not globalize project-scoped MCP configs. If Claude's MCP server is already registered at user scope and the instructions are already available globally, you do not need to repeat local client setup in each repository. For a new user-scoped Claude MCP registration, run once:

claude mcp add --scope user --transport stdio graymatter -- graymatter mcp serve

To prepare only the current project's memory directory before a session, use graymatter init --store-only (available since v0.20.0). It creates .graymatter/MEMORY.md if needed and leaves an existing regular .graymatter/gray.db untouched. It does not write client configs, instructions or hooks, change PATH, open the database, or verify runtime health. If neither leaf is regular, symlink or other nonregular MEMORY.md/gray.db entries cause an error; use --dir to select the real data directory. You can repeat it safely:

graymatter init --store-only --quiet

For launchers that find the Git checkout or worktree root before running this command, see the Claude Code examples. Global hooks are optional (graymatter hooks install --scope global) and skip unprepared directories. MCP can itself create gray.db when it starts, even without init --store-only; this command does not prevent that behavior. Project-scoped clients still need their own MCP config. Codex is the exception in the table below because its MCP config is already home-scoped.

For a new, opt-in guarded Claude user registration, use --no-create and prepare each selected checkout before connecting:

claude mcp add --scope user --transport stdio graymatter -- graymatter mcp serve --no-create

cd /path/to/selected/project graymatter init --store-only --quiet

Reconnect the MCP client after preparation. --no-create is not added to existing entries by init; update a custom registration deliberately. It requires a regular gray.db, or a regular MEMORY.md when the database is absent. It is neither a database health check nor a read-only mode: an accepted server can create and write runtime files. Hooks and MCP reject a symlink, directory, or other nonregular gray.db even in the default eager mode. For a custom store, use the same absolute --dir for preparation, MCP, and hooks. Before downgrading to a binary without --no-create, remove the flag from the registration; an older binary rejects it instead of retrying with eager creation.

MCP stdio and hooks now select one project root per invocation. With an omitted --dir, they use that root's .graymatter directory; an explicit relative --dir is instead relative to the process working directory. If a previous process-directory store contains data at a different location, select the intended store explicitly rather than moving it automatically. See project routing and migration for worktree, hook namespace, custo

Only the beginning is shown; read the rest in the repo

Ask PopNx