Ckg-nvidia-ai — NVIDIA AI stack as a traversable MCP knowledge graph (NIM, NeMo, AgentIQ, Isaac, 20 domains)

Built a free MCP server that lets AI agents traverse the NVIDIA developer
stack as a typed dependency graph — instead of scanning docs, the agent
walks declared relationships.

Install or run directly:
pip install ckg-nvidia-ai
uvx ckg-nvidia-ai

Claude Desktop config:
{“mcpServers”: {“nvidia-ai”: {“command”: “uvx”, “args”: [“ckg-nvidia-ai”]}}}

Example — agent asks about TensorRT-LLM dependencies:
query_ckg(“TensorRT-LLM”, “nvidia-tensorrt-triton”, 3)
→ TensorRT-LLM requires: CUDA Toolkit → cuBLAS, Hopper SM90, FP8 Quantization
→ Builds toward: Triton Inference Server → NIM Microservice Runtime

20 domains covered: NIM · NeMo · AgentIQ · Isaac · Cosmos · Omniverse ·
CUDA Toolkit · TensorRT-Triton · Jetson · DRIVE · Clara · Metropolis ·
Riva · GameWorks · HPC SDK · CUDA-X Libraries · Developer Tools ·
Graphics Research · AI Enterprise · OpenShell

Benchmarked at 4× F1 of RAG, 11× fewer tokens per query.

GitHub: GitHub - Yarmoluk/ckg-nvidia-ai: NVIDIA AI developer stack as a traversable knowledge graph — 20 CKGs, 998 nodes, MCP-native · GitHub
Feedback welcome — especially from anyone using AgentIQ or NIM in production.

Update since posting — shipped a few things worth flagging.

Posted on r/LocalLLM the same day and someone caught a real edge error within hours: Custom TTS Voice was wired to Domain Adaptation instead of Speaker Adaptation. Different mechanism entirely — speaker adaptation fine-tunes FastPitch/HiFi-GAN on target speaker audio, domain adaptation handles vocabulary and terminology on the ASR side. Wrong node, wrong dependency. Fixed and pushed same day (v0.3.1).

That’s actually the point of this project. It’s not a finished authority — it’s a correction scaffold. LLM-generated from NVIDIA docs, transparent about what’s reviewed and what isn’t (confidence null = unreviewed), built to move fast and cut token usage. Nothing will always be correct, but it gets an agent to the right neighborhood quickly and makes the gaps visible rather than hiding them behind confident-looking RAG output.

Since that fix: typed edges (REQUIRES / ENABLES / RELATES_TO / IMPLEMENTS), per-edge confidence slots, source URL and build date on every query, CONTRIBUTING.md open for SME review.

The riva domain has had real scrutiny now. The other 19 — NIM, Triton, AgentIQ, NeMo, Isaac — haven’t. If you work on any of those stacks and want to find where the graph is wrong, that’s the direct ask. Reply here or PR on GitHub.

(Also exploring Inception program fit if anyone’s looked at internal dependency or doc tooling from that angle.)

MCP server — Compressed Knowledge Graph (CKG) for the full NVIDIA AI developer stack.

4× F1 · 11× fewer tokens · 998 nodes · deterministic traversal.

Read-only. This MCP server never writes, mutates, or executes. Every response is a declared graph traversal — not inference, not retrieval, not generation.


The problem every AI team hits

More agents. More retrieval. More context. And accuracy drops.

Every time your agent asks what TensorRT-LLM requires to run on Hopper, it spends ~2,982 tokens re-inferring a relationship that could be declared once and traversed in 269. That difference compounds across every query, every agent, every boundary crossing.

The fix is not a better model. It is structured context.


What this package does

A CKG is a layer — a fast, inexpensive way to convert domain documentation into structured, agent-traversable knowledge. Instead of retrieval, the agent traverses. Instead of inference, it reads declared relationships.

query_ckg("TensorRT-LLM", "nvidia-tensorrt-triton", depth=3)

→ TensorRT-LLM requires:
    CUDA Toolkit → CUDA Driver API, cuBLAS
    FP8 / FP4 Quantization → Hopper SM90 Architecture
  TensorRT-LLM enables:
    Triton Inference Server → NIM Microservice Runtime

That traversal cost 269 tokens. A RAG call over the same question costs ~2,982. The graph doesn’t guess — it traverses.


Explore the graph

Paste this into Claude, Cursor, or any MCP client:

You have access to the nvidia-ai CKG. I want to understand what it actually takes to deploy
a real-time speech AI pipeline on NVIDIA Jetson at the edge — not the marketing version,
the real dependency chain.

Start here:
  get_prerequisites("Riva ASR", "nvidia-riva")

Then follow the chain into the inference layer:
  query_ckg("TensorRT-LLM", "nvidia-tensorrt-triton", depth=3)

Then map the edge hardware:
  get_prerequisites("Jetson Orin NX", "nvidia-jetson")

Present the result as a layered architecture map — foundation at the bottom, application at the
top, typed edges (REQUIRES / ENABLES) labeled between layers. Show where the three domains share
prerequisites. Flag anything that would block a cold-start deployment.

Quickstart

pip install ckg-nvidia-ai
uvx ckg-nvidia-ai

Claude Desktop

{
  "mcpServers": {
    "nvidia-ai": {
      "command": "uvx",
      "args": ["ckg-nvidia-ai"]
    }
  }
}

Claude Code

claude mcp add nvidia-ai -- uvx ckg-nvidia-ai

Cursor / Cline / Windsurf

{ "mcpServers": { "nvidia-ai": { "command": "uvx", "args": ["ckg-nvidia-ai"] } } }

System prompt snippet

You have access to the nvidia-ai MCP server — a typed dependency graph of 20 NVIDIA AI domains
(NIM, NeMo, TensorRT, CUDA, Isaac, Cosmos, Riva, and 13 more). When answering questions about
NVIDIA infrastructure, prerequisites, or deployment, call query_ckg() or get_prerequisites()
before responding. Do not guess dependency chains — traverse the graph instead.

Accuracy model

Every edge was declared by a human reviewer. Corrections arrive from the community weekly.

Three-state confidence:

State Meaning How to use
confidence: high Reviewed, cross-referenced with NVIDIA docs Trust for planning
confidence: null Plausible, not yet audited Scaffold — verify before production
confidence: low Flagged as uncertain Treat as a hint, not a fact

Typed edges:

Type Meaning Agent use
REQUIRES Hard prerequisite Plan sequencing, gap detection
ENABLES Unlocks a capability Optimization paths
RELATES_TO Conceptual proximity Disambiguation, context
IMPLEMENTS Concrete instantiation Architecture mapping

If an edge isn’t declared, the traversal returns nothing rather than hallucinating a path. That silence is signal.


Tools

Tool What it does
list_domains() All 20 NVIDIA AI domains — start here
search_concepts(query, domain) Find concepts by keyword
query_ckg(concept, domain, depth=3) Traverse prerequisites and dependents
get_prerequisites(concept, domain) Full ordered upstream chain
ask_nvidia(question, domain) Natural language, grounded on graph via Ollama — no API key

Benchmark

Evaluated on KRB Benchmark v0.6.2 — open dataset, reproducible methodology.

System Macro F1 Tokens/query Cost/1K queries
CKG (this package) 0.471 269 $7.81
RAG (text-embedding-3-small) 0.123 2,982 $76.23
GraphRAG (MS global mode) 0.120 — —

4× F1 · 11× fewer tokens · 5-hop F1 0.772 vs 0.170


Corrections welcome

Spotted a wrong edge? A RELATES_TO that should be REQUIRES? A missing concept in Riva or AgentIQ?

Edge corrections are the highest-value contribution. Open an issue or PR: GitHub - Yarmoluk/ckg-nvidia-ai: MCP server — Compressed Knowledge Graph for the NVIDIA AI developer stack. 20 domains · 998 nodes · 4× F1 vs RAG · 11× fewer tokens · deterministic traversal. · GitHub

demo

Launchable is now live — one click spins up an L40S with the full graph loaded, Ollama running qwen2.5:14b, and the demo notebook pre-populated:

No setup. ~2.5 minutes to a running environment. ask_nvidia() works out of the box.