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

@codecheck/mcp-server

v0.1.0

Published

MCP server for CodeCheck — lets Claude Code and other AI assistants run AI-generated tests automatically

Readme

@codecheck/mcp-server

MCP server for CodeCheck — lets Claude Code and any MCP-compatible AI assistant run AI-generated tests directly from within their workflow, without you asking.

When this server is connected, Claude can call codecheck_run after editing your files, see which functions passed and failed, and fix issues before you even commit.


Install in Claude Code

Add to your Claude Code settings (~/.claude/settings.json for global, or .claude/settings.json for a single project):

{
  "mcpServers": {
    "codecheck": {
      "command": "npx",
      "args": ["-y", "@codecheck/mcp-server"],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

That's it. Restart Claude Code and it will have access to three new tools.


Tools

codecheck_run

Run AI-generated tests on source files. Extracts every function, sends them to your configured LLM, generates test cases, runs them, and returns a pass/fail report.

codecheck_run({ files: ["src/utils.ts", "src/payment.ts"] })

→ CodeCheck Results
  ──────────────────────────────────────────────────
  4 passed · 1 failed · 80% pass rate

    src/payment.ts
      ✓ processPayment — unit · happy-path  (14ms)
      ✓ processPayment — unit · type-error  (11ms)
      ✓ processPayment — smoke · happy-path  (9ms)
      ✗ processPayment — unit · null-check  (8ms)
        → Crashed on null or undefined input — the function needs a null check
          TypeError: Cannot read properties of null

Parameters:

  • files (required) — array of source file paths (absolute or relative to project root)
  • projectDir — project root, defaults to the server's working directory
  • testTypes — override test types: unit, smoke, functional, sanity, integration, api, e2e, snapshot, regression

codecheck_results

Get the results from the most recent run without re-running tests.

codecheck_status

Check whether CodeCheck is configured in the project, which AI provider is in use, and whether the API key is set.


Providers

The MCP server uses the same provider configured in your project's codecheck config (package.json or codecheck.config.json).

| Provider | Env var to set in MCP config | |---|---| | Anthropic (default) | ANTHROPIC_API_KEY | | OpenAI | OPENAI_API_KEY | | Gemini | GEMINI_API_KEY | | Ollama | OLLAMA_BASE_URL (optional, defaults to http://localhost:11434/v1) |


Project setup

The project being tested needs a codecheck config. The fastest way:

npm install -D @codecheck/trigger-oncommit @codecheck/scope-unit @codecheck/output-terminal
npx codecheck-init

Or add manually to package.json:

{
  "codecheck": {
    "provider": "anthropic",
    "model": "claude-sonnet-4-6",
    "language": "typescript",
    "framework": "vitest",
    "testTypes": ["unit", "smoke"],
    "threshold": 0.8,
    "failOnError": false
  }
}

Links


License

MIT © Medhavee Upadhyaya