Best for
- Developers using Claude Code who want Kimi Code to handle large codebase reading tasks.
- Users seeking a second model's opinion who can provide sufficient code and task context.
The README documents the API and CLI tool split, setup requirements, and some version limitations. The session-listing tool reads metadata only from legacy ~/.kimi/sessions; it does not list current ~/.kimi-code sessions.
Strongest · Documentation 9/20 Weakest · Reliability 5/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 18+
KIMICODE_API_KEY
Create an API key in the Kimi Code console; used by direct API tools such as kimi_query and kimi_verify.
KIMI_CODE_API_KEY
An alternative Kimi Code API key variable; get the key from the Kimi Code console.
KIMI_API_KEY
An alternative Kimi Code API key variable; get the key from the Kimi Code console.
KIMI_BASE_URL
Optional override for the Kimi Code API endpoint; the default is https://api.kimi.com/coding/v1.
KIMI_MODEL
Optional model override; the default model is k3.
Use the README's example to add the supplied MCP configuration to .mcp.json at the root of a Claude Code project, or use Claude Code's user-scope stdio configuration method. Direct API tools require a Kimi Code API key. kimi_analyze and kimi_resume require the Kimi Code CLI, a completed kimi login, and an executable at ~/.local/bin/kimi. The README warns that npm's 0.3.0 package differs from the newer source behavior described there; the listed npm install command may not provide newer behavior such as the k3 default.
{"mcpServers":{"kimi-code":{"command":"npx","args":["-y","kimi-mcp-server"]}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"kimi-code": {
"command": "npx",
"args": [
"-y",
"kimi-mcp-server"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.kimi-code] command = "npx" args = ["-y", "kimi-mcp-server"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add kimi-code -- npx -y kimi-mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
Run /mcp in Claude Code and confirm kimi-code appears with 8 tools. Then ask it to analyze the codebase architecture and confirm you receive Kimi's analysis.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
This stdio MCP server lets Claude Code delegate large codebase analysis tasks to Kimi Code. It has direct API and local CLI backends: analysis and session continuation use the CLI, while general questions and verification can use the API. The README describes k3 as the default model and kimi-for-coding as K2.8 Preview. Its token-savings figures are illustrative estimates for Claude-side tokens only; Kimi Code subscription costs are separate.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 9e827890c24a Data synced 2026-12-05 Read the FMRS scoring method Markdown