kai
by kaicontext·★ 16·Score 42
Kai is a semantic analysis engine for code changes that provides MCP tools for call graphs, dependencies, and impact analysis.
Overview
Kai sits on top of Git to capture meaningful changes rather than just line diffs. It constructs a queryable semantic model of codebases including functions, dependencies, behavior changes, and test coverage. The MCP server exposes 12 tools for AI coding assistants to access structured information about code structure, impact analysis, and test coverage.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Kai when you need deep semantic understanding of code changes and dependencies, especially for CI optimization and AI-assisted code analysis across multiple programming languages.
When NOT to choose this
Don't choose Kai if you need write access to repositories (this is primarily a read-only semantic analysis tool) or if you're concerned about vendor lock-in to the kaicontext.com service.
Tools this server exposes
12 tools extracted from the READMEkai_statusGet the current status of Kai and its semantic graph
kai_symbolsQuery symbols (functions, methods, classes) in the codebase
kai_filesList files in the semantic graph
kai_diffGenerate semantic diffs showing meaningful changes
kai_impactAnalyze the impact of code changes
kai_callersFind all functions that call a given symbol
kai_calleesFind all functions called by a given symbol
kai_contextGet surrounding context for a specific symbol
kai_dependenciesList module dependencies for a given symbol
kai_dependentsFind code that depends on a given symbol
kai_testsFind tests related to a specific symbol
kai_refreshRefresh the semantic graph with latest code changes
Comparable tools
Installation
# curl
curl -sSL https://get.kaicontext.com | sh
# Homebrew
brew install kaicontext/kai/kaiFor Claude Code:
claude mcp add kai -- kai mcp serveOr without installing kai:
claude mcp add kai -- npx -y kai-mcpFAQ
- What languages does Kai support?
- Kai supports Go, Rust, TypeScript/JavaScript, Python, Ruby, SQL, PHP, and C# with varying levels of semantic analysis support.
- How does Kai integrate with existing CI?
- Kai CI runs workflows defined in .kailab/workflows/ with semantic checkout, parallel jobs, and 30-minute default timeouts, testing only impacted code.
Compare kai with
Last updated · Auto-generated from public README + GitHub signals.