kibi-mcp — Claude Code MCP server: what it does, how to install
Connects project requirements, scenarios, and code locally via MCP. Helps your coding agent track intent and verify implementations without drift.
claude mcp add kibi-mcp -- npx -y kibi-mcpWhat kibi-mcp does
This server ties product specifications to implementation files and tests. You write requirements in plain prompts. The agent builds structured scenarios, symbol links, and facts directly inside the local .kb/ directory. Each Git branch keeps its own knowledge snapshot, avoiding cross-branch confusion.
Prolog handles the consistency checks. It flags contradictions, missing proof, and untraced code before changes get merged. JavaScript and TypeScript support works out of the box. Other languages like Python, Go, and Rust require the kibi-plugin-treesitter companion package.
Node.js 22+ is required. Linux and macOS run the bundled SWI-Prolog without extra tools. Native Windows setups need WSL or a separate SWI-Prolog 9.0+ install in PATH.
What it helps with
- Link tests and scenarios to product specifications
- Catch logical contradictions before merging code
- Maintain isolated requirement context across Git branches
- Track symbols that lack requirement ownership
Example prompts for the agent
- Initialize the Kibi knowledge base in this repository and run doctor
- Verify current tests against requirement scenarios using kibi check
- Find which requirement owns the user authentication module
How to install kibi-mcp
Platform CLI
claude mcp add kibi-mcp -- npx -y kibi-mcpPlatform CLI
codex mcp add kibi-mcp -- npx -y kibi-mcpConfig file
{
"mcpServers": {
"kibi-mcp": {
"command": "npx",
"args": [
"-y",
"kibi-mcp"
]
}
}
}Config file
{
"servers": {
"kibi-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kibi-mcp"
]
}
}
}Platform CLI
gemini mcp add kibi-mcp npx -y kibi-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about kibi-mcp
How do I install kibi-mcp in Claude Code?
Run claude mcp add kibi-mcp -- npx -y kibi-mcp in your terminal. Make sure you have Node.js 22 or newer installed.
Where does Kibi store requirement data?
Everything lives inside the repository in the .kb/ folder. The data tracks your Git branch state and never leaves your machine.
Do I need to install Prolog separately?
Linux and macOS use a bundled SWI-Prolog runtime. On native Windows, you need to run through WSL or install SWI-Prolog 9.0+ so swipl is available in PATH.