Ckb Code Knowledge Backend
@SimplyLiz
关于 Ckb Code Knowledge Backend
npm: @tastehub/ckb
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ckb": {
"command": "npx",
"args": [
"-y",
"@tastehub/ckb",
"mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is CKB?
CKB (Code Knowledge Backend) transforms your codebase into a queryable knowledge base, enabling developers, AI assistants, and CI/CD pipelines to understand, analyze, protect, and improve code. It provides semantic search, impact analysis, ownership lookup, dead code detection, and secret scanning through a CLI, HTTP API, or MCP (Model Context Protocol) server.
How to use CKB?
Install via npm (npm install -g @tastehub/ckb) or Homebrew (brew install ckb). Initialize in a project with ckb init, optionally generate a SCIP index with ckb index, and connect to AI assistants like Claude Code using ckb setup. Use CLI commands (ckb search, ckb hotspots), start the HTTP API with ckb serve, or run the MCP server with ckb mcp for integration with AI tools.
Key features of CKB
- Semantic search, call graphs, usage tracing, and architecture maps
- Impact analysis, risk scoring, hotspot detection, and coupling analysis
- Affected test detection, breaking change warnings, and PR risk assessment
- Secret detection, credential scanning, and security-sensitive code identification
- Ownership lookup, reviewer suggestions, and architectural decision records
- Dead code detection, tech debt tracking, and documentation coverage
Use cases of CKB
- Assess what breaks when changing a function, with precise blast radius and risk scores
- Suggest reviewers for a PR using data-driven ownership and drift detection
- Detect dead code with confidence scores and find legacy code that can be removed
- Automatically identify which tests to run after a change, reducing CI time from 30 to 2 minutes
- Scan codebase for exposed secrets using 26 patterns and automated scanning
FAQ from CKB
What languages does CKB support?
CKB classifies languages into quality tiers: Tier 1 (Go – full support), Tier 2 (TypeScript, JavaScript, Python – full support with minor edge cases), Tier 3 (Rust, Java, Kotlin, C++, Ruby, Dart – basic support), and Tier 4 (C#, PHP – experimental). Incremental indexing is Go-only.
How does indexing work?
CKB uses SCIP indexes to understand code structure. Run ckb index to generate an index. Without an index, CKB works via tree-sitter parsing (basic mode). With an index, you get cross-file references, precise impact analysis, and call graph navigation. Indexes become stale after commits; refresh manually, with watch mode (ckb index --watch), or via CI webhooks.
How do I connect CKB to an AI assistant?
Run ckb setup to automatically create a .mcp.json configuration for Claude Code. Alternatively, manually add the MCP server: claude mcp add --transport stdio ckb -- npx @tastehub/ckb mcp. Once connected, you can ask questions like "What calls the HandleRequest function?" or "Who owns the internal/api module?"
What is the token efficiency of CKB's MCP server?
CKB uses smart presets that load only the tools you need, achieving up to 83% token reduction. At startup, it reports active tools (e.g., 14 of 76) and estimated context (~1k tokens). Its compound operations (explore, understand, prepareChange) reduce AI tool calls by 60-70%.
记忆与知识 分类下的更多 MCP 服务器
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Docs MCP Server
araboldGrounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
Rust Docs MCP Server
Govcraft🦀 Prevents outdated Rust code suggestions from AI assistants. This MCP server fetches current crate docs, uses embeddings/LLMs, and provides accurate context via a tool call.
Zettelkasten MCP Server
entanglrA Model Context Protocol (MCP) server that implements the Zettelkasten knowledge management methodology, allowing you to create, link, explore and synthesize atomic notes through Claude and other MCP-compatible clients.
Notion MCP Server
makenotionOfficial Notion MCP Server
评论