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

@kodelint/kodebase-mcp

v3.4.0

Published

MCP server for Kodebase — fetch tasks, comments, feedback, and create pull requests from Claude Code

Readme

Kodebase MCP Server

MCP server for Kodebase — query workspace state and create pull requests directly from Claude Code.

Setup

1. Generate an API Token

Go to Kodebase → Settings → API Tokens and create a new token. Copy it — it's only shown once.

2. Configure Claude Code

Run this in your terminal:

claude mcp add kodebase -s user \
  -e KODEBASE_API_TOKEN=kb_your_token_here \
  -e KODEBASE_URL=https://api.kodebase.studio \
  -- npx -y @kodelint/kodebase-mcp

That's it — restart Claude Code and the Kodebase tools will be available.

Add to ~/.claude/mcp.json:

{
  "mcpServers": {
    "kodebase": {
      "command": "npx",
      "args": ["-y", "@kodelint/kodebase-mcp"],
      "env": {
        "KODEBASE_API_TOKEN": "kb_your_token_here",
        "KODEBASE_URL": "https://api.kodebase.studio"
      }
    }
  }
}

Remote / HTTP transport (Replit & other hosted agents)

Cloud agents like Replit can't spawn a local stdio process — they only connect to a remote MCP server over an HTTPS URL. The same package runs an HTTP transport for that:

MCP_TRANSPORT=http PORT=8080 KODEBASE_URL=https://api.kodebase.studio npx -y @kodelint/kodebase-mcp
  • Stateless streamable-HTTP on POST /mcp, plus GET /health.
  • No token env var in HTTP mode — each request authenticates with the caller's own token, sent as Authorization: Bearer <kb_…> or X-API-Key: <kb_…>. So every user acts as themselves.
  • Host it behind HTTPS (e.g. https://mcp.kodebase.studio/mcp) — a reverse proxy terminating TLS in front of the PORT above.

Connect from Replit

  1. In Replit: Settings → MCP Servers → + Add MCP server.
  2. Display name: Kodebase.
  3. Server URL: your HTTPS endpoint, e.g. https://mcp.kodebase.studio/mcp.
  4. Advanced → custom header: X-API-Key = your kb_… token (from Kodebase → Settings → API Tokens).
  5. Test & save.

Available Tools

ask

Ask Kodebase anything in natural language — todos, board state, task details, project info, pull requests, feedback. Returns a human-readable text response plus structured tasks when relevant.

create_pull_request

Open a PR on a Kodebase-connected GitHub repo. This is the only supported way to create a PR for a connected repo — agents should not fall back to gh pr create.

Inputs: owner, repo, title, head, base, optional body, draft, taskKey.

If taskKey (e.g. TES-001) is provided, the server appends (TES-001) to the title (when not already present) and links the PR to the matching task on the Kanban board, so the PR Summary feature picks it up automatically.

Development

npm install
npm run dev    # Run with tsx (hot reload)
npm run build  # Compile TypeScript

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | KODEBASE_API_TOKEN | stdio only | — | Your Kodebase API token (kb_...). Not used in http mode (token comes per-request from the header). | | KODEBASE_URL | No | https://api.kodebase.studio | Kodebase backend URL | | MCP_TRANSPORT | No | stdio | stdio for local clients (Claude Code); http for hosted clients (Replit). | | PORT | No | 8080 | Port for http transport. |