Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Code intelligence MCP server — 80+ tools for navigation, impact analysis, and architecture
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": [
"-y",
"@tastehub/ckb",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add ckb -- npx -y @tastehub/ckb mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": [
"-y",
"@tastehub/ckb",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ckb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tastehub/ckb",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 SimplyLiz 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(8.0.3)于10个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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
ckb diff-summary --format=human
ckb audit --format=human
ckb arch --format=human
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](https://github.com/SimplyLiz/CodeMCP/wiki/Integration-Guide) for examples in Node.js, Python, Go, and shell scripts.
| Resource | Description |
|---|---|
| 📖 [Features Guide](https://github.com/SimplyLiz/CodeMCP/wiki/Features) | Complete feature list with examples |
| 💬 [Prompt Cookbook](https://github.com/SimplyLiz/CodeMCP/wiki/Prompt-Cookbook) | Real prompts for real problems |
| 🔌 [Integration Guide](https://github.com/SimplyLiz/CodeMCP/wiki/Integration-Guide) | Use CKB in your own tools and scripts |
| ⚡ [Impact Analysis](https://github.com/SimplyLiz/CodeMCP/wiki/Impact-Analysis) | Blast radius, affected tests, PR risk |
| 🔧 [CI/CD Integration](https://github.com/SimplyLiz/CodeMCP/wiki/CI-CD-Integration) | GitHub Actions, GitLab CI templates |
# Install globally
npm install -g @tastehub/ckb
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
# 1. Initialize in your project
cd /path/to/your/project ckb init # or: npx @tastehub/ckb init
ckb index # auto-detects language and runs appropriate indexer
ckb setup # creates .mcp.json automatically
claude mcp add --transport stdio ckb -- npx @tastehub/ckb mcp
Token efficiency shown at startup:
CKB MCP Server v9.3.1
Active tools: 25 / 110 (22%) 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](https://github.com/SimplyLiz/CodeMCP/wiki/MCP-Integration) | AI-assisted development — Claude, Cursor, Windsurf, VS Code, OpenCode, Grok |
| [CLI](https://github.com/SimplyLiz/CodeMCP/wiki/User-Guide) | Quick lookups from terminal, scripting |
| [HTTP API](https://github.com/SimplyLiz/CodeMCP/wiki/API-Reference) | 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
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](https://github.com/SimplyLiz/CodeMCP/wiki/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
For Go projects, CKB uses incremental indexing—only changed files are processed, making updates fast.
See the [Index Management Guide](https://github.com/SimplyLiz/CodeMCP/wiki/Index-Management) 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](https://github.com/SimplyLiz/CodeMCP/wiki/Features) — Detailed documentation with examples
📋 [Changelog](https://github.com/SimplyLiz/CodeMCP/blob/main/CHANGELOG.md) — 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
只显示了开头部分;其余内容请在仓库中阅读