Code intelligence for AI assistants - MCP server, CLI, and HTTP API with symbol navigation, impact analysis, and architecture mapping
# Add to your Claude Code skills
git clone https://github.com/nyxCore-Systems/ckbLast scanned: 6/8/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-08T08:55:47.105Z",
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds
Know your code. Change it safely. Ship with confidence.
CKB transforms your codebase into a queryable knowledge base. Ask questions, understand impact, find owners, detect dead code—all through CLI, API, or AI assistants.
Think of it as a senior engineer who knows every line of code, every decision, and every owner—available 24/7 to answer your questions.
| Question | Without CKB | With CKB |
|---|---|---|
| "What breaks if I change this?" | Grep and hope | Precise blast radius with risk score |
| "Who should review this PR?" | Guess from git blame | Data-driven reviewer suggestions |
| "Is this code still used?" | Delete and see what breaks | Confidence-scored dead code detection |
| "What tests should I run?" | Run everything (30 min) | Run affected tests only (2 min) |
| "How does this system work?" | Read code for hours | Query architecture instantly |
| "Who owns this code?" | Search CODEOWNERS manually | Ownership with drift detection |
| "Are there exposed secrets?" | Manual grep for patterns | Automated scanning with 26 patterns |
🔍 Understand — Semantic search, call graphs, usage tracing, architecture maps
⚡ Analyze — Impact analysis, risk scoring, hotspot detection, coupling analysis
🛡️ Protect — Affected test detection, breaking change warnings, PR risk assessment
🔐 Secure — Secret detection, credential scanning, security-sensitive code identification
👥 Collaborate — Ownership lookup, reviewer suggestions, architectural decisions (ADRs)
📊 Improve — Dead code detection, tech debt tracking, documentation coverage
🚀 Compound Operations — Single-call tools (explore, understand, prepareChange) reduce AI tool calls by 60-70%
🔗 Integrate — CLI, HTTP API, MCP for AI tools, CI/CD pipelines, custom scripts
# See what's risky in your codebase
ckb hotspots --format=human
# Check what changed and what might break
ckb diff-summary --format=human
# Scan for exposed secrets
ckb audit --format=human
# Check architecture at a glance
ckb arch --format=human
# Check system status
ckb status
| AI Assistants | CI/CD | Your Tools |
|---|---|---|
| Claude Code, Cursor, Windsurf, VS Code, Grok | GitHub Actions, GitLab CI | CLI, HTTP API, Scripts |
83% token reduction with smart presets—load only the tools you need.
# One command to connect to Claude Code
ckb setup
Building your own tools? Use CKB as a backend via CLI, HTTP API, or MCP. See the Integration Guide for examples in Node.js, Python, Go, and shell scripts.
| Resource | Description |
|---|---|
| 📖 Features Guide | Complete feature list with examples |
| 💬 Prompt Cookbook | Real prompts for real problems |
| 🔌 Integration Guide | Use CKB in your own tools and scripts |
| ⚡ Impact Analysis | Blast radius, affected tests, PR risk |
| 🔧 CI/CD Integration | GitHub Actions, GitLab CI templates |
# Install globally
npm install -g @tastehub/ckb
# Or run directly with npx (no install needed)
npx @tastehub/ckb init
brew tap SimplyLiz/ckb
brew install ckb
git clone https://github.com/SimplyLiz/CodeMCP.git
cd CodeMCP
go build -o ckb ./cmd/ckb
# 1. Initialize in your project
cd /path/to/your/project
ckb init # or: npx @tastehub/ckb init
# 2. Generate SCIP index (optional but recommended)
ckb index # auto-detects language and runs appropriate indexer
# 3. Connect to Claude Code
ckb setup # creates .mcp.json automatically
# Or manually:
claude mcp add --transport stdio ckb -- npx @tastehub/ckb mcp
Token efficiency shown at startup:
CKB MCP Server v9.0.0
Active tools: 14 / 76 (18%)
Estimated context: ~1k tokens
Preset: core
Now Claude can answer questions like:
| Without CKB | With CKB |
|---|---|
| AI greps for patterns | AI navigates semantically |
| "I found 47 matches for Handler" | "HandleRequest is called by 3 routes via CheckoutService" |
| Guessing at impact | Knowing the blast radius with risk scores |
| Reading entire files for context | Getting exactly what's relevant |
| "Who owns this?" → search CODEOWNERS | Instant ownership with reviewer suggestions |
| "Is this safe to change?" → hope | Hotspot trends + impact analysis |
| Interface | Best For |
|---|---|
| MCP | AI-assisted development — Claude, Cursor, Windsurf, VS Code, OpenCode, Grok |
| CLI | Quick lookups from terminal, scripting |
| HTTP API | IDE plugins, CI integration, custom tooling |
CKB uses SCIP indexes to understand your code. Think of it like a database that knows where every function is defined, who calls it, and how everything connects.
# 1. Generate an index (auto-detects language)
ckb index
# 2. Check if your index is fresh
ckb status
Without an index, CKB still works using tree-sitter parsing (basic mode), but with an index you get:
Not all languages are equal. CKB classifies languages into quality tiers based on indexer maturity:
| Tier | Quality | Languages |
|---|---|---|
| Tier 1 | Full support, all features | Go |
| Tier 2 | Full support, minor edge cases | TypeScript, JavaScript, Python |
| Tier 3 | Basic support, call graph may be incomplete | Rust, Java, Kotlin, C++, Ruby, Dart |
| Tier 4 | Experimental | C#, PHP |
Key limitations:
--infer-tsconfig flagcompile_commands.jsonRun ckb doctor --tier standard to check if your language tools are properly installed.
See Language Support for indexer installation, known issues, and the full feature matrix.
Your index becomes stale when you make commits. CKB offers several ways to stay current:
| Method | Command | When to Use |
|---|---|---|
| Manual | ckb index |
One-off updates, scripts |
| Watch mode | ckb index --watch |
Auto-refresh during development |
| MCP watch | ckb mcp --watch |
Auto-refresh in AI sessions |
| CI webhook | POST /api/v1/refresh |
Trigger from CI/CD |
Quick start for AI sessions:
ckb mcp --watch # Auto-reindexes every 30s when stale
Check staleness:
ckb status
# Shows: "5 commits behind HEAD" or "Up to date"
For Go projects, CKB uses incremental indexing—only changed files are processed, making updates fast.
See the Index Management Guide for complete documentation.
| Feature | Description |
|---|---|
| Compound Operations | explore, understand, prepareChange — single-call tools that reduce AI overhead by 60-70% |
| Code Navigation | Semantic search, call graphs, trace usage, find entrypoints |
| Impact Analysis | Blast radius, risk scoring, affected tests, breaking changes (compareAPI) |
| Architecture | Module overview, ADRs, dependency graphs, explain origin |
| Ownership | CODEOWNERS + git blame, reviewer suggestions, drift detection |
| Code Quality | Dead code detection (findDeadCode), coupling analysis, complexity |
| Security | Secret detection, credential scanning, allowlists |
| Documentation | Doc-symbol linking, staleness detection, coverage metrics |
| [Multi-Repo |