Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"ckg": {
"command": "ckg-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Compact Knowledge Graph MCP server. Pre-structured domain knowledge as a routing layer for agent stacks — 42× more efficient than RAG on structural queries.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'ckg-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked ckg-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Yarmoluk/ckg-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give your agent the structure, not the search.
ckg-mcp serves Compressed Knowledge Graphs to any LLM via MCP — pre-structured, typed dependency graphs your agent traverses instead of text chunks it guesses from.
4× the F1 of RAG · 11× fewer tokens · works with Claude, GPT-4o, Gemini, Llama, Mistral, and any MCP client
Measured on the open CKG Benchmark — 45 domains, 7,928 queries. Re-run it yourself.
pip install ckg-mcp # Python ≥ 3.10
# or zero-install: uvx ckg-mcp
Pick your client:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ckg": { "command": "ckg-mcp" }
}
}
claude mcp add ckg -- ckg-mcp
{
"mcpServers": {
"ckg": { "command": "ckg-mcp" }
}
}
Or with uvx (no global install):
{
"mcpServers": {
"ckg": { "command": "uvx", "args": ["ckg-mcp"] }
}
}
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ckg": {"command": "ckg-mcp", "transport": "stdio"}
})
tools = await client.get_tools()
import subprocess, json
proc = subprocess.Popen(["ckg-mcp"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
# Use any MCP-over-stdio adapter — e.g. mcp-client-python or openai-agents-mcp
Restart your client, then try:
list_domains()
get_prerequisites(domain="calculus", concept="Taylor Series")
query_ckg(domain="nvidia-gpu-inference", concept="FlashAttention-3", depth=3)
6 tools. No database. No embeddings. No API key.
| Tool | What it does |
|---|---|
list_domains() | List all available domains. Call this first. |
query_ckg(domain, concept, depth=3) | Dependency subgraph around a concept — prerequisites + dependents up to N hops |
get_prerequisites(domain, concept) | Full prerequisite chain — every concept to understand first, in order |
search_concepts(domain, query) | Find concepts by name (partial match, case-insensitive) |
list_agent_blueprints() | List pre-built agent configs for specific use cases |
get_agent_blueprint(use_case) | Full blueprint: domains, constraints, workflow, prompt template, LangGraph hint |
list_domains()
→ Available domains (62 free / 85 total): algebra-1, agent-reliability, calculus,
context-as-a-service, databricks-unity, glp1-obesity, hipaa-compliance,
nvidia-gpu-inference, payer-formulary, snowflake-horizon, ...
get_prerequisites(domain="calculus", concept="Taylor Series")
→ Prerequisite chain for 'Taylor Series' in calculus (20 concepts):
Function → Limit → Derivative → ... → Power Series → Taylor Series
query_ckg(domain="nvidia-gpu-inference", concept="KV Cache", depth=3)
→ ## CKG: KV Cache (nvidia-gpu-inference)
### Prer
... [View full README on GitHub](https://github.com/Yarmoluk/ckg-mcp#readme)