ckg-mcp

ckg-mcp

A Compact Knowledge Graph MCP server providing pre-structured domain knowledge as a routing layer for agent stacks, enabling efficient structural queries (e.g., prerequisites, dependency chains) without hallucinations.

Category
Visit Server

README

ckg-mcp

mcp-name: io.github.Yarmoluk/ckg-mcp

Compact Knowledge Graph MCP server. Pre-structured domain knowledge as a routing layer for agent stacks — 65× more efficient than RAG on structural queries.

License: MIT Python 3.10+ MCP Compatible

Built on the CKG Benchmark — 45 domains, 7,928 queries, fully reproducible results.


What It Does

Drop CKG into your agent stack as an MCP tool. Instead of retrieving text chunks and hoping the LLM infers structure, CKG gives agents pre-compiled dependency paths, prerequisite chains, and concept relationships — directly from a structured graph.

System BERT F1 Tokens/query Hallucination Rate
CKG 0.857 274 0%
RAG 0.817 17,900 Variable
GraphRAG 0.825 Variable

65× more efficient per token. Higher accuracy than both RAG and Microsoft GraphRAG. Zero hallucinations by construction.


Install

pip install ckg-mcp

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ckg": {
      "command": "ckg-mcp"
    }
  }
}

Works with Claude Desktop, LangGraph, AutoGen, or any MCP-compatible orchestrator.


Tools

Tool Description
list_domains() List all 53 available CKG domains
query_ckg(domain, concept, depth) Extract subgraph — prerequisites + dependents up to N hops
get_prerequisites(domain, concept) Full prerequisite chain to root
search_concepts(domain, query) Find concepts by name

Example

# In your agent — via MCP tool call
query_ckg(domain="glp1-obesity", concept="Prior Authorization", depth=3)

# Returns the full causal chain:
## CKG: Prior Authorization (glp1-obesity)

### Prerequisites (what gates this)
  - Payer formulary tier assignment
    - Cost-effectiveness of GLP-1RA therapy
      - GLP-1 receptor agonist drug class
  - Medical necessity criteria

### Builds toward
  - Formulary position
  - Coverage decision

Same interface for codebases:

query_ckg(domain="langchain-core", concept="RunnableSequence", depth=2)
# Returns exact blast radius — 23 dependent modules — before your agent edits anything

Bundled Domains (53 total)

Life Sciences & Clinical glp1-obesity · glp1-muscle-loss · drug-interactions · dementia · icd10-metabolic · modeling-healthcare-data · payer-formulary · cpt-em-coding · hipaa-compliance

Codebase & Software langchain-core · computer-science · circuits · digital-electronics · blockchain · quantum-computing · claude-skills

Mathematics & STEM calculus · algebra-1 · linear-algebra · pre-calc · geometry-course · chemistry · biology · ecology · genetics · bioinformatics · physics · signal-processing · fft-benchmarking

AI & Data machine-learning-textbook · data-science-course · conversational-ai · tracking-ai-course · prompt-class · intro-to-graph · systems-thinking · microsims

Business & Finance economics-course · personal-finance · organizational-analytics · it-management-graph · unicorns

Education & Other statistics-course · ethics-course · theory-of-knowledge · digital-citizenship · asl-book · reading-for-kindergarten · learning-linux · infographics · automating-instructional-design · functions · us-geography · moss

Enterprise domains (regulatory, legal, financial, custom) → graphifymd.com


Why Not RAG?

RAG retrieves text chunks and forces the LLM to infer structure. On multi-hop structural queries — prerequisites, dependency chains, blast radius — that inference fails.

CKG is a pre-compiled routing layer: dependency paths are already in the graph. BFS/DFS traversal, not similarity search. No hallucinations by construction.

Full benchmark: github.com/Yarmoluk/ckg-benchmark


License

MIT — Yarmoluk & McCreary, 2026. Commercial deployment → graphifymd.com

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured