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

@perfscale/mcp

v0.1.1

Published

MCP server for the perfscale OSS CLI: run load tests, lint and manage test/config YAML locally

Readme

@perfscale/mcp

MCP server for the perfscale OSS CLI. Lets AI agents (Claude Code, Claude Desktop, any MCP client) run k6, locust, and native load tests locally, read back structured metrics, and author test/config YAML with schema-validated writes — no shell access required.

Requirements

  • Node.js 20+
  • The perfscale binary on PATH (install), or point PERFSCALE_BIN at it

Setup

Claude Code:

claude mcp add perfscale -- npx -y @perfscale/mcp

Claude Desktop / other MCP clients:

{
  "mcpServers": {
    "perfscale": {
      "command": "npx",
      "args": ["-y", "@perfscale/mcp"]
    }
  }
}

Tools

| Tool | What it does | |---|---| | run_test | Run a k6/locust/native test (perfscale run), return exit code + parsed summary (avg/p90/p95/p99 ms, error rate, RPS) | | lint | Validate YAML files, including typo and action-ID checks with did-you-mean hints | | get_schema | JSON Schema for test or config YAML — the authoring contract | | parse_summary | Parse raw k6-compatible output into structured metrics | | list_actions | Catalog of native std/* step actions | | list_configs | Recursively list YAML files in a directory, classified test/config | | read_config | Read one YAML file with its detected kind | | write_test | Create/overwrite a test definition, then lint it against the test schema | | write_config | Create/overwrite a run config, then lint it against the config schema | | update_config | Overwrite an existing file only (fails when absent), then lint | | remove_config | Delete a test/config YAML file |

Every write is linted immediately — schema violations come back in the same tool result, so invalid YAML never silently lands on disk.

Environment variables

| Variable | Default | Description | |---|---|---| | PERFSCALE_BIN | perfscale | Path to the perfscale binary |

Example

Ask your agent:

Write a native test that GETs https://example.com with 10 VUs for 30s, run it, and tell me the p95.

The agent calls get_schema → write_test (auto-linted) → write_config → run_test, and reads p95_ms from the structured summary.

Notes

  • get_schema needs a perfscale build with the schema subcommand (perfscale self-update if you see an error mentioning it).
  • For the hosted platform (machines, runs, dashboards on perfscale.su/.ru) use @perfscale/controlplane-mcp.

Links

License

Apache-2.0