Listed from the MCP registry; nobody on Odel publishes it.
Code intelligence MCP server — 80+ tools for navigation, impact analysis, and architecture
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @tastehub/ckb
MCP client config
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": [
"-y",
"@tastehub/ckb"
]
}
}
}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, Codex | 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 install simplyliz/ckb/ckb
Use the fully-qualified name. Homebrew 6.0 requires third-party taps to be trusted before it loads them; installing this way grants that trust for this one formula. Tapping first and installing by short name fails with
Refusing to load formula ... from untrusted tap.
git clone https://github.com/SimplyLiz/CodeMCP.git
cd CodeMCP
go build -o ckb ./cmd/ckb
Claude Code: install the plugin once, done — for every repo, with /ckb:review and
/ckb:audit:
claude plugin marketplace add SimplyLiz/ckb
claude plugin install ckb@lisa
The first time Claude Code opens a repo, CKB initializes it and builds the SCIP index in
the background (.ckb/ and index.scip are kept out of git status via
.git/info/exclude). Until the index is there — or if your language's indexer isn't
installed — answers come from git history and LSP. Refresh the index after larger changes
with npx @tastehub/ckb index.
Any other tool, or your own ckb binary:
cd /path/to/your/project
ckb setup # or: npx @tastehub/ckb setup
ckb setup runs ckb init for you if needed, then writes the MCP config.
Building the SCIP index is non-blocking by default: the generated config
runs with --watch, so the index builds itself in the background the
moment your AI tool starts the server and stays current after that. Want it
ready before setup exits? ckb setup --index-now. Prefer to build it
yourself whenever you like? ckb index.
Pick one of ckb setup and the plugin, not both — otherwise the server starts twice.
Token efficiency shown at startup:
CKB MCP Server v9.4.0
Active tools: 25 / 106 (24%)
Estimated context: ~4k 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, Codex |
| 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.
Edits you have not indexed yet are served from an index overlay: the
running server patches the loaded index with the diff since it was built.
Positions in changed files are exact; for Go, declarations and references on
the changed lines come in too (resolved exactly or left out, never guessed by
name; getStatus and every result's indexFreshness.overlay say how much it
covers). A full reindex still runs, but only when it adds something: on a
commit or checkout, and when the overlay reports what it could not do. Set
CKB_OVERLAY=0 to turn the overlay off.
| Method | Command | When to Use |
|---|---|---|
| MCP watch | on by default in ckb mcp (--watch=false to turn off) | AI sessions |
| Manual | ckb index | One-off updates, scripts |
| Watch mode | ckb index --watch | Auto-refresh during development |
| CI webhook | POST /api/v1/refresh | Trigger from CI/CD |
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 | Federation, API contracts, remote index serving |
| Runtime | OpenTelemetry integration, observed usage, production dead code |
| Streaming | SSE streaming for findReferences, searchSymbols with real-time progress |
| Automation | Daemon mode, watch mode, webhooks, incremental indexing |
📖 Full Features Guide — Detailed documentation with examples
📋 Changelog — Version history
CKB review runs 21 quality checks in 5 seconds — secrets, breaking changes, dead code, complexity, test gaps, bug patterns, and more. Zero tokens, zero API calls.
When your AI assistant (Claude Code, Cursor, Windsurf) reviews a PR, it calls CKB first and gets structured analysis in ~1k tokens. Then it only reads the files that matter — saving 50-80% of tokens on large PRs.
ckb review --base=main # Human-readable review
ckb review --base=main --ci # CI mode (exit codes)
ckb review --base=main --post=123 # Post as PR comment
Works in CI without any LLM:
- run: npx @tastehub/ckb review --base=main --ci --format=sarif > review.sarif
| Without CKB | With CKB | |
|---|---|---|
| LLM tokens on 100-file PR | ~200k | ~50k |
| Files LLM reads | all | ~10 (CKB-flagged) |
| Secrets/breaking/dead-code checked | no | yes (all files) |
📖 How it helps AI review · Benchmarks · CI Integration · Quickstart
ckb status # System health (with remediation suggestions)
ckb search Handler # Find symbols
ckb diff-summary # Analyze what changed
ckb hotspots # Risky areas
ckb arch # Architecture overview
ckb ownership # File/path ownership
ckb mcp # Start MCP server
Compound Operations (via MCP):
# These tools combine multiple queries into single calls
explore # Area exploration: symbols, dependencies, hotspots
understand # Symbol deep-dive: refs, callers, explanation
prepareChange # Pre-change analysis: impact, tests, risk
batchGet # Fetch up to 50 symbols at once
batchSearch # Run up to 10 searches at once
📖 User Guide — All CLI commands and options
# Start the HTTP server
ckb serve --port 8080
# Example calls
curl http://localhost:8080/health
curl http://localhost:8080/status
curl "http://localhost:8080/search?q=NewServer"
curl http://localhost:8080/architecture
curl "http://localhost:8080/ownership?path=internal/api"
curl http://localhost:8080/hotspots
# Index Server Mode (v7.3) - serve indexes to remote clients
ckb serve --port 8080 --index-server --index-config config.toml
# Index server endpoints
curl http://localhost:8080/index/repos
curl http://localhost:8080/index/repos/company%2Fcore-lib/meta
curl "http://localhost:8080/index/repos/company%2Fcore-lib/symbols?limit=100"
curl "http://localhost:8080/index/repos/company%2Fcore-lib/search/symbols?q=Handler"
# Upload endpoints (with compression + auth)
curl -X POST http://localhost:8080/index/repos \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ckb_xxx" \
-d '{"id":"my-org/my-repo","name":"My Repo"}'
gzip -c index.scip | curl -X POST http://localhost:8080/index/repos/my-org%2Fmy-repo/upload \
-H "Content-Encoding: gzip" \
-H "Authorization: Bearer ckb_xxx" \
--data-binary @-
# Token management (index server admin)
ckb token create --name "ci-upload" --scope upload # Create API key
ckb token list # List all tokens
ckb token revoke ckb_xxx # Revoke a token
ckb token rotate ckb_xxx # Rotate (new secret, same ID)
CKB works with any MCP-compatible AI coding tool.
Two ways in. Pick by what you have:
| You have | Use | Why |
|---|---|---|
ckb installed (npm, Homebrew, source) | ckb setup in the repo, or ckb setup --global | Uses your binary; also installs /ckb-review and /ckb-audit |
| Only Claude Code | The plugin (below) | One install for every repo, no binary to manage, skills update with each CKB release |
Don't do both: the plugin and ckb setup each register a ckb server, and Claude Code
would start two. Switching to the plugin: claude mcp remove ckb first.
Plugin:
claude plugin marketplace add SimplyLiz/ckb
claude plugin install ckb@lisa
It runs npx -y @tastehub/ckb mcp, so Node is required. Each repo is initialized and
indexed on first use; npx @tastehub/ckb index refreshes the index.
ckb setup:
# Auto-configure for current project
npx @tastehub/ckb setup
# Or add globally for all projects
npx @tastehub/ckb setup --global
Or manually add to .mcp.json:
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": ["@tastehub/ckb", "mcp"]
}
}
}
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": ["@tastehub/ckb", "mcp"]
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": ["@tastehub/ckb", "mcp"]
}
}
}
Add to your VS Code settings.json:
{
"mcp": {
"servers": {
"ckb": {
"type": "stdio",
"command": "npx",
"args": ["@tastehub/ckb", "mcp"]
}
}
}
}
Add to opencode.json in project root:
{
"mcp": {
"ckb": {
"type": "local",
"command": ["npx", "@tastehub/ckb", "mcp"],
"enabled": true
}
}
}
# Auto-configure for current project
npx @tastehub/ckb setup --tool=grok
# Or add globally
npx @tastehub/ckb setup --tool=grok --global
Or manually add to .grok/settings.json (project) or ~/.grok/user-settings.json (global):
{
"mcpServers": {
"ckb": {
"name": "ckb",
"transport": "stdio",
"command": "npx",
"args": ["@tastehub/ckb", "mcp"]
}
}
}
Claude Desktop doesn't have a project context, so you must specify the repository path.
Automatic setup (recommended):
cd /path/to/your/repo
ckb setup --tool=claude-desktop
Manual configuration — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": ["-y", "@tastehub/ckb", "mcp"],
"env": {
"CKB_REPO": "/path/to/your/repo"
}
}
}
}
The CKB_REPO environment variable tells CKB which repository to analyze. Claude Desktop can only work with one repository at a time.
Codex CLI supports both project-local config (<repo>/.codex/config.toml, for
trusted projects) and user-global config (~/.codex/config.toml). By default
ckb setup --tool=codex writes the project-local file, same as Cursor or
VS Code; pass --global to write the global one instead.
# Project-local (default) — writes <repo>/.codex/config.toml
npx @tastehub/ckb setup --tool=codex
# Global — writes ~/.codex/config.toml, used across all projects
npx @tastehub/ckb setup --tool=codex --global
Or manually add to either file:
[mcp_servers.ckb]
command = "npx"
args = ["-y", "@tastehub/ckb", "mcp", "--watch"]
ckb setup merges this table into your existing config.toml without
touching anything else in the file — including any [mcp_servers.ckb.env]
subtable you've hand-added for your own environment variables.
On Windows, ckb setup --tool=codex --npx automatically wraps the command
in cmd /c (Codex spawns commands directly, and npx on Windows is
npx.cmd, which only resolves through a shell) — see the "Windows" section
below if you're editing config.toml by hand instead.
With the global config, ckb mcp has no per-project file to anchor it to,
so it resolves the target repository the same way any other CKB command
does when no --repo/CKB_REPO is set: from the working directory Codex
launches the server in (matched against the registry, or auto-detected via
the enclosing git repo), falling back to your default registered repo. Run
ckb setup from inside each project once with --tool=codex (project
scope) if you want an explicit, unambiguous per-project config instead.
Use cmd /c wrapper in any config above:
{
"mcpServers": {
"ckb": {
"command": "cmd",
"args": ["/c", "npx", "@tastehub/ckb", "mcp"]
}
}
}
For Codex's TOML config, the same wrapper looks like:
[mcp_servers.ckb]
command = "cmd"
args = ["/c", "npx", "-y", "@tastehub/ckb", "mcp", "--watch"]
CKB exposes 106+ tools, but most sessions only need a subset. Use presets to reduce token overhead by up to 77%:
# List all available presets with tool counts and token estimates
ckb mcp --list-presets
# Default: core preset (26 essential tools)
ckb mcp
# Workflow-specific presets
ckb mcp --preset=core # 26 tools - search, explain, impact (default)
ckb mcp --preset=review # 44 tools - core + diff, ownership, PR review
ckb mcp --preset=refactor # 44 tools - core + coupling, dead code
ckb mcp --preset=federation # 47 tools - core + cross-repo
ckb mcp --preset=docs # 35 tools - core + doc-symbol linking
ckb mcp --preset=ops # 44 tools - core + jobs, webhooks, metrics
ckb mcp --preset=full # 106 tools - complete feature set
In MCP config:
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": ["@tastehub/ckb", "mcp", "--preset=review"]
}
}
}
The AI can dynamically expand the toolset mid-session using the expandToolset tool.
CKB orchestrates multiple code intelligence backends, using whatever is available and stacking their strengths — more backends running means richer answers:
ckb index); import cycles, bridges and god modules are computed from it tooResults are merged intelligently and compressed for LLM context limits. Every backend except Git is optional; CKB degrades gracefully to whatever is present.
LIP is experimental. With the daemon running and an embedding endpoint configured (
LIP_EMBEDDING_URL), CKB uses it for query expansion and a semantic fallback in symbol search, re-ranking when there is no SCIP index,relatedfiles in explainFile, semantic callers next to the static ones in impact analysis, and the outgoing call graph. Its name-linked static callers are not added to impact analysis: measured against a type-checked call graph they were almost all wrong. Whether the semantic features improve results has not been measured yet; SCIP stays the source of truth. See the LIP documentation.
Persistent knowledge survives across sessions:
CKB excels at:
CKB won't help with:
CKB is static analysis, not magic. Always verify critical decisions by reading the actual code.
📖 Practical Limits — Full guide on accuracy, blind spots, and when to trust results
See the Full Documentation Wiki for:
Using npm (recommended):
Building from source:
Optional (for enhanced analysis):
ckb index to auto-installLIP_EMBEDDING_URL (docs, crates.io):
cargo install lip-cli
lip daemon --socket ~/.local/share/lip/lip.sock
Free for:
Commercial license required for organizations with $25k+ annual revenue. See pricing for Team and Enterprise plans, or LICENSE for full terms.