MCP-Native  ·  53 Domains  ·  Open Benchmark

Correct answers for agents,
not approximate retrieval.

RAG retrieves at runtime. CKG compiles ahead of time. Hallucinations are compile errors, not runtime surprises. Every hop is a cited edge. Zero hallucinations by construction.

$ pip install ckg-mcp
Works with Claude Desktop LangGraph AutoGen Cursor Any MCP client
0.857
BERT F1 — answer quality
42×
More efficient than RAG
274
Tokens per query
0%
Hallucination rate
53
Domains included
Built for teams at
Graphify.md Slalom West Monroe Atek
For AI Engineers Building with Agents

RAG hallucinates relationships.
CKG makes them structurally impossible.

RAG retrieves similar text — not actual entity relationships. When your domain has real structure (what gates what, what breaks what, what depends on what), retrieval loses it. CKG encodes it explicitly. Relationship errors become structurally impossible by construction, not just less likely.

"My agent refactored a utility function. It had no idea 23 modules imported it. RAG returned similar text — not the dependency graph. The blast radius was invisible until after the push."
RAG gives your agent vibes
Retrieves semantically similar chunks — approximate, probabilistic
Agent dispatches before it knows what it's touching
Multi-hop accuracy collapses past hop 2
Blast radius unknown until after the action
3,100 tokens to get a guess
CKG gives your agent structure
Orchestrator queries the dependency graph before dispatching
Every hop is a cited edge — deterministic, not inferred
F1 improves continuously to hop=5 (0.772 at depth 5)
Full blast radius returned before any edit — 23 modules, exact
274 tokens. Zero hallucinations by construction.
For CFOs & Finance Leaders

Your AI token costs are exponential.
Your budget is linear.

What's Actually Happening:
Project 1: $2,000/month
Project 2: $4,000/month
Project 3: $7,000/month
Project 4: $12,000/month
Project 5: $20,000/month

Total: $45,000/month by project 5
That's 8% of revenue. Unsustainable. Budget caps force prioritization.

With CKG (11× Reduction):
Project 1: $180/month
Project 2: $364/month
Project 3: $636/month
Project 4: $1,091/month
Project 5: $1,818/month

Total: $4,089/month
That's 0.7% of revenue. Sustainable. Save $40,911/month at scale.

Based on typical 2026 frontier model pricing (Claude Opus/Sonnet, GPT-5 equivalents) and observed enterprise workloads without heavy optimization. Actual costs vary by model choice, volume, caching, and prompt engineering. The 11× reduction reflects CKG's structured graph traversal vs. naive RAG chunk retrieval on multi-hop tasks.

Get Token Cost Crisis CKG (Free)

Who It's For

Built for every team where
agents need to get it right

📋 Product Managers

Your agents don't know the domain. You do.

PMs map complexity for a living — what gates what, what breaks if X ships, what the upstream dependencies are. CKG gives your AI agents the same map before they draft a single word.

274 tokens to get the full dependency chain
💊 Life Sciences

125 nodes. Every GLP-1 dependency typed.

Muscle wasting has 13 downstream dependents — more than any cardiovascular node. Four oral drugs converging simultaneously. 20 combination therapy paths analysts don't map. The graph shows what the spreadsheet doesn't.

RAG uses 3,100 tokens to approximate this
⚙️ Engineering Teams

Blast radius before any edit. Deterministic.

Mapped LangChain Core: 180 modules, 650 dependency edges. trace_downstream("RunnableSequence") returns the exact 23 dependent modules before your agent writes a line.

Every hop is a real dependency edge

RAG retrieves at runtime.
CKG compiles ahead of time.

8,121 queries · 47 domains · BERTScore roberta-large · Fully reproducible · Read the open CKG Compiler benchmark (paper, PDF) →

CKG — Graphify.md
RAG
Microsoft GraphRAG
Retrieval method
Graph traversal
Similarity search
Community summaries
BERT F1
0.857
0.817
0.825
Tokens / query
274
17,900
~10,000
Cost / correct answer
$0.000506
$0.013046
$0.020098
Hallucination rate
0% by construction
unknown
unknown
Multi-hop F1 @ hop 5
0.772 (stable)
collapses past hop 2
unknown
53 Domains Included

CKG Domains

Pre-built ontologies, ready to query. Enterprise domains and custom builds available through Graphify.md.

Life Sciences
GLP-1 Drug interactions Payer formulary HIPAA ICD-10 codes CPT codes
Code & Software
LangChain Core Python stdlib JavaScript TypeScript Computer science
AI & ML
Transformers LLMs RAG Knowledge graphs NLP
Business & Finance
GAAP accounting Financial statements Tax law Supply chain Procurement
Math & STEM
Linear algebra Calculus Statistics Physics Chemistry
Questions

FAQ

What is Graphify.md?
Graphify.md builds Compact Knowledge Graphs (CKGs) — structured domain ontologies that make relationship errors structurally impossible. RAG retrieves similar text but loses relational structure; CKG encodes every entity relationship as an explicit edge. Delivered via MCP as pre-action context — agents get the dependency graph before they act.
What is a Compact Knowledge Graph (CKG)?
A Compact Knowledge Graph is a pre-structured directed acyclic graph where every node is a typed domain concept and every edge is a typed dependency relationship. CKGs are serialized as CSV and delivered via MCP tools to AI agent orchestrators as pre-action structural context.
How does CKG compare to RAG?
RAG retrieves at runtime — your LLM guesses which chunks matter. CKG compiles at build time — every relationship is explicit and typed. From the CKG Compiler benchmark (8,121 queries, 47 domains): CKG achieves BERT F1 0.857 vs RAG 0.817. CKG uses 274 tokens per query vs RAG's 17,900 — 42× more efficient. Hallucination rate: 0% by construction. Read the benchmark →
What domains does ckg-mcp include?
ckg-mcp includes 53 bundled domains: life sciences (GLP-1, drug interactions, payer formulary, HIPAA), codebase (LangChain Core, computer science), AI and data science, mathematics and STEM, and business and finance. Enterprise domains and custom builds available through Graphify.md.
How do I install ckg-mcp?
Install with: pip install ckg-mcp. Then add to your MCP config: {"mcpServers": {"ckg": {"command": "ckg-mcp"}}}. Works with Claude Desktop, LangGraph, AutoGen, Cursor, and any MCP-compatible orchestrator. Python 3.10+ required.
Why does my AI agent need structural context before acting?
AI agents fail on dependency-heavy tasks not because the model is weak, but because RAG gives them semantically similar text rather than structural context. CKG solves this by giving the orchestrator the dependency graph before dispatching any worker agent — so every hop is a cited edge, not a guess.
What is the GLP-1 Knowledge Graph?
The GLP-1 Clinical Pathway knowledge graph contains 125 concepts and 200+ typed dependency edges covering mechanism of action, clinical trials, drug classes, payer formulary dynamics, and combination therapies. Muscle wasting has 13 downstream dependents — more structurally central than any cardiovascular node.
Is this the same as graphify (graphify.net)?
No. Graphify.md is structured, LLM-native knowledge graphs for AI agents — what you know, delivered deterministically. Graphify.net is visual data modeling — mapping the structure you have. One maps the knowledge you have. The other ships the knowledge you don't.
How much does CKG save at scale?
CKG costs $0.000506 per correct answer vs RAG at $0.013046 — a 26× reduction. At enterprise scale (1M queries/month), that's $13M saved annually. Read our token economics breakdown → Note: this excludes runaway-loop incidents, where context accumulation makes real bills worse than this estimate.
Why do agent loops get expensive? (Runaway costs)
In agentic workflows, ~70% of session tokens carry history the model no longer needs. Every tool result re-sent on every iteration. Context grows quadratically. With CKG, knowledge re-arrives compiled at 274 tokens, every iteration — a constant, not a compounding variable. See the runaway-loop scenario →
What is GAO?
Generative Agent Optimization (GAO) is structuring your organization's knowledge so AI agents discover, install, and act on it. SEO ranks pages for humans. GEO earns citations in AI answers. GAO gets your knowledge installed in the agent stack — llms.txt, MCP servers, and Compact Knowledge Graphs. Learn more about GAO →
How do I run a pilot?
Book a 20-minute benchmark walkthrough → We'll design the pilot together.

Compile your knowledge. Stop retrieving.

Start with pip install ckg-mcp. Run a pilot with your domain. Compile and measure the CKG Compiler benchmark yourself.