# Kimi MCP Server

> Kimi MCP Server is an open-source MCP server. MCP server bridging AI assistants to Moonshot AI Kimi Code CLI for code analysis and review. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/x51xxx/kimi-mcp-server
- **MCP Registry name:** io.github.x51xxx/kimi-mcp-server
- **Listing updated:** 2026-11-13

## About

MCP server bridging AI assistants to Moonshot AI Kimi Code CLI for code analysis and review

## Install

### Claude Code (Terminal)

```sh
claude mcp add kimi-mcp-server --env MOONSHOT_API_KEY='<MOONSHOT_API_KEY>' -- npx -y @trishchuk/kimi-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "kimi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Kimi MCP Server free?

Yes. Kimi MCP Server is open source, so you can use and self-host it for free.

### How do I add Kimi MCP Server to Claude Code?

Run this command in your terminal: claude mcp add kimi-mcp-server --env MOONSHOT_API_KEY='<MOONSHOT_API_KEY>' -- npx -y @trishchuk/kimi-mcp-server

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/kimi-mcp-server
