Codebase knowledge graph · MCP-native
Mercatorgraph
One brain for your codebase, many arms for your agents. Turn any repository into a centralized, queryable knowledge graph — served to AI agents via a single MCP server, and to developers via a graph viewer.
One graph, many agents
Build a single knowledge graph per project and serve it to every AI agent through one MCP server — no more 10 duplicated local graphs.
Scoped, not dumped
Every tool result is size-capped. Agents get focused subgraphs, paths, and blast-radius — never the whole graph flooding their context.
Knowledge that persists
Annotations and comments live in Postgres and survive every rebuild — contributed knowledge is never lost when the graph is regenerated.
Atomic, safe builds
One writer per project. Build to staging, validate, promote by an atomic symlink flip. Agents never see a half-built graph.
Wraps Graphify
Graphify is a dependency, not a fork. Mercatorgraph consumes its output and adds centralization, auth, persistence, and a viewer.
Token auth + audit
Per-user and per-agent tokens, scoped per project, with expiry and revocation. Every query is recorded in an audit log.