Ckb Code Knowledge Backend

by SimplyLiz

295 downloads
Not rated
GitHub

About

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…

Details

Author
SimplyLiz
Downloads
295
Categories
Knowledge Base, Developer Tools

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Ckb Code Knowledge Backend
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "ckb   code knowledge backend": {
            "ckb": {
                "command": "npx",
                "args": [
                    "-y",
                    "@tastehub/ckb",
                    "mcp"
                ]
            }
        }
    }
}

McpServers

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

CKB — Code Knowledge Backend

Know your code. Change it safely. Ship with confidence.

npm version
Website
Documentation

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.

---

Instant Answers to Hard 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 |

---

What You Can Do

🔍 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

---

Try It Now

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.