npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kimi-for-claude

v0.33.0

Published

MCP server that delegates tasks to the Kimi CLI agent

Readme

kimi-for-claude

claude is a genius at managing, but using it for raw coding is a token drain. kimi has claude-level quality for a fraction of the price, but orchestrating both manually is a headache

so i built a bridge

claude acts as the supervisor, delegating the heavy coding to kimi in the background. you get claude's brain guiding the project, with kimi's budget-friendly execution


What it does

Send Claude a task too large, too tedious, or better run in parallel, Claude hands it off to Kimi with full context, waits for the result (or doesn't), then picks up the conversation. Kimi gets his own workspace, his own tools (shell, file ops, web search, all skills), and runs autonomously.


Tools

| Tool | What it does | |------|-------------| | kimi_delegate | Start a fresh Kimi session with a task. Returns Kimi's final answer. | | kimi_continue | Follow up on Kimi's last session — ask him to summarize, fix, or extend without re-explaining context. | | kimi_status | List background jobs or collect a finished one's result. | | kimi_cancel | Kill a running job. |

Every tool supports:

  • work_dir — Kimi's workspace. If it's a git repo, results include a one-line summary of files he changed.
  • readonly — Plan mode: Kimi investigates and reports, no writes.
  • background — Returns a job ID instantly so Claude can keep working in parallel.

Results are truncated at 6k chars by design, Claude asks Kimi to summarize rather than reading full output, keeping token usage lean.


Requirements

  • Claude Code
  • Kimi CLI installed and authenticated (kimi login) and of course a funded/subscribed account

Setup

Pick whichever runtime you have.

Node.js (18+) — from npm (easiest)

claude mcp add --scope user kimi -- npx -y kimi-for-claude

Or install globally first:

npm install -g kimi-for-claude
claude mcp add --scope user kimi -- kimi-for-claude

Node.js (18+) — from source

1. Clone the repo

git clone https://github.com/7D-codes/kimi-for-claude
cd kimi-for-claude
npm install

2. Register with Claude Code

claude mcp add --scope user kimi -- node "$PWD/server.js"

Python (3.10+) + uv

1. Clone the repo

git clone https://github.com/7D-codes/kimi-for-claude
cd kimi-for-claude

2. Register with Claude Code

claude mcp add --scope user kimi -- uv run --script "$PWD/server.py"

3. Verify it connected

claude mcp list
# kimi: ... - ✔ Connected

4. Start a new Claude Code session — the tools won't appear in your current session, only new ones.

That's it. kimi_delegate, kimi_continue, kimi_status, and kimi_cancel are now in Claude's toolbox.


Usage examples

Delegate a task

Have Kimi write all the unit tests for this module while you review the architecture.

Research in parallel

Ask Kimi to find the best approach for rate-limiting in Redis — summarize when done.

Iterate

Claude delegates → reviews Kimi's output → kimi_continue to request fixes → done.

Background job

Claude fires off a long build task to Kimi with background=true, keeps working, checks kimi_status when convenient.


How it works

server.js and server.py are both single-file MCP stdio servers. server.py uses FastMCP with inline dependencies (PEP 723), run by uv — no install step. server.js uses the official @modelcontextprotocol/sdk with npm install. Both shell out to:

kimi --print --final-message-only (--yolo | --plan) -p "<task>" [-w dir] [-C]

Kimi runs with --yolo (auto-approves his own tool calls). The safety gate is Claude Code's permission prompt on each MCP tool call — you see every task before it reaches Kimi.


Remove

claude mcp remove kimi -s user