ISSUE #001 · MCP TOOLS
GANGLIA
The routing layer
between your AI
and your code.
between your AI
and your code.
In a world where AI agents touch code faster than humans can think — one tool stands between your codebase and chaos.
$ cg init . && cg serve
POW!
CHAPTER 1: THE PROBLEM CHAPTER 2: THE SOLUTION CHAPTER 3: THE ARSENAL CHAPTER 4: CHOOSE YOUR SIDE
THE ORIGIN STORY
ONE COMMAND
WILL SAVE
YOUR CODEBASE.
WILL SAVE
YOUR CODEBASE.
No config. No server. No drama. Just a binary that gives your AI a brain.
$ curl -fsSL https://ganglia.dev/install.sh | sh
$ cd your-project && cg init .
$ cg serve
# Add to your MCP client config. Done.
The AI starts editing.
"I'll refactor this function. Looks safe."
It has no idea.
DANGER!
Three hops away...
"processPayment just broke."
The blast radius is invisible.
The real problem.
AI has no call graph. It guesses.
No cross-session memory. Every PR starts cold.
No impact analysis. CRITICAL paths are invisible.
No danger zones. Auth and payments are wide open.
KA-BOOM
THIS LOOKS LIKE A JOB FOR...
GANGLIA!
57 MCP tools + Code Mode. Real call graph. One binary.
Real call graph. Instantly.
Ganglia indexes your entire codebase into a graph. Every caller. Every callee. Every route.
Impact analysis in seconds.
"code_impact shows me 12 callers before I touch a line."
Cross-session memory.
Danger zone protection.
DANGER ZONE auth · payments · env vars
Works everywhere.
Claude Code
Cursor
Windsurf
Any MCP client
Rust · TS · Python · Go
Zero config. One binary.
NEW IN 0.5.0 · CODE MODE + SEMANTIC RAG
57 TOOLS. ONE CALL.
cg_run runs sandboxed JavaScript that can call every Ganglia tool.
Chain ten lookups in one turn — intermediate results stay server-side.
- CODE MODE Schema tokens 10.6K → 1.5K. Typical workflow 5–10× fewer tokens.
- SEMANTIC RAG Find code by meaning, not keywords. "payment retry" matches
attempts_remaining. - LOCAL-FIRST Ollama default. OpenAI optional. Your code never leaves your machine.
// One cg_run call. Five tools. Zero token waste.
cg_run({
code: `
const hits = cg.code.semantic_search({
query: "payment retry logic",
top_k: 5
});
return hits.map(h => ({
name: h.name,
callers: cg.code.callers({ name: h.name })
}));
`
}) KAPOW!
53 TOOLS
53 TOOLS
Categories.
Core
Navigation
Analysis
Safety
Feedback Loop
Memory · Schema · Docs · +more
0
MCP Tools
0
% fewer tokens
0
min to first index
0
binary. zero config.
Without Ganglia
AI guesses which code is safe
No blast-radius awareness
Every session starts cold
Critical paths invisible
Full file reads waste tokens
No danger zone enforcement
BOOM
VS
With Ganglia
Real call graph — no guessing
Impact scored before touching code
Persistent cross-session memory
CRITICAL paths flagged automatically
Function-level reads — 80% fewer tokens
Danger zones enforced by zone_guard
FREE
$0/mo
Core graph tools (code_get, code_callers, etc.)
Local Cozo backend
Works with Claude Code, Cursor, Windsurf
Unlimited projects
RECOMMENDED
PRO
$19/mo
Everything in Free
Cross-session memory (MemOS Cloud)
Smart tools (80% token reduction)
zone_guard danger enforcement
Web dashboard + live graph
Priority support
TEAM
$49/mo
Everything in Pro
5 seats included
Shared memory across team
SSO & audit logs
Self-hosted option