MCP Catalogs
首页

ckb

by nyxCore-Systems·95·综合分 50

CKB 是一个综合的代码智能平台,提供 MCP 服务器,工具可用于代码分析、影响评估和架构映射。

developer-toolsai-llmknowledge-graph
11
Forks
10
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

CKB 将代码库转换为可查询的知识库,提供语义搜索、调用图、影响分析和架构映射功能。它提供复合操作,可将 AI 工具调用减少 60-70%,并通过 MCP 与 Claude Code、Cursor 和 Windsurf 等 AI 助手集成。系统支持多种接口,包括 CLI、HTTP API 和 MCP,支持 Go、TypeScript、JavaScript、Python 等多种语言。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 辅助代码审查,提供精确的影响分析和风险评分
:通过语义查询进行架构理解和文档生成
:大型代码库中检测无用代码和技术债务
:CKB 支哪些编程语言?
:CKB 如何与 AI 助手集成?

什么时候选它

当您需要深度代码智能来辅助 AI 开发时,特别是处理 Go 代码库或在 TypeScript/JavaScript/Python 项目中进行影响分析和架构映射时,选择 CKB。

什么时候不要选它

如果您使用的是不受支持的语言(C#、PHP)或需要非 Go 的增量索引功能,应避免使用 CKB,因为该工具的效果会因语言等级和重新索引能力而有显著差异。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • explore

    Area exploration: finds symbols, dependencies, and hotspots in a code area

  • understand

    Symbol deep-dive: finds references, callers, and explanations for a specific symbol

  • prepareChange

    Pre-change analysis: determines impact, affected tests, and risk of changing code

  • batchGet

    Fetch up to 50 symbols at once for efficient bulk operations

  • batchSearch

    Run up to 10 searches at once to reduce API overhead

  • findReferences

    Find all references to a specific symbol in the codebase

  • searchSymbols

    Search for symbols by name with semantic understanding

  • hotspots

    Identify risky areas in the codebase based on complexity, coupling, and change frequency

  • architecture

    Generate architecture overview and module dependencies

  • ownership

    Find code ownership and reviewer suggestions based on CODEOWNERS and git history

  • findDeadCode

    Detect unused code with confidence scores based on call graphs and references

  • compareAPI

    Analyze API changes between versions to identify breaking changes and affected clients

可对比工具

code-mcpcodeintel-mcpsourcegraph-mcp

安装

安装

选项 1:npm(推荐)

npm install -g @tastehub/ckb

选项 2:Homebrew(macOS/Linux)

brew tap SimplyLiz/ckb
brew install ckb

选项 3:从源码构建

git clone https://github.com/SimplyLiz/CodeMCP.git
cd CodeMCP
go build -o ckb ./cmd/ckb

Claude Desktop 配置

将以下内容添加到 Claude Desktop 的 config.json 文件中:

{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp"]
    }
  }
}

FAQ

CKB 支哪些编程语言?
CKB 支持 Go(1级)、TypeScript/JavaScript/Python(2级)、Rust/Java/Kotlin/C++/Ruby/Dart(3级),以及 C#/PHP 的实验性支持(4级)。
CKB 如何与 AI 助手集成?
CKB 提供 MCP 服务器,向 Claude Code、Cursor 和 Windsurf 等 AI 助手暴露代码分析、影响评估和架构映射的工具,通过复合操作减少 60-70% 的令牌使用。

ckb 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。