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

clintplay-mcp

v0.11.0

Published

Clintplay MCP server for Claude Code and other MCP clients

Downloads

1,246

Readme

clintplay-mcp

Clintplay MCP server for Claude Code and other MCP clients. Gives AI agents read/write access to Clintplay session recordings, errors, analytics, and more.

Install

# One-shot via npx (no install needed)
# Pin to @latest so npx never serves a stale cached version after we ship updates.
npx -y clintplay-mcp@latest

# Or install globally
npm install -g clintplay-mcp@latest

Configuration

Claude Code MCP config (~/.claude/claude_desktop_config.json)

{
  "mcpServers": {
    "clintplay": {
      "command": "npx",
      "args": ["-y", "clintplay-mcp@latest"],
      "env": {
        "CLINTPLAY_PAT": "cp_pat_...",
        "CLINTPLAY_API_URL": "https://api.clintplay.example"
      }
    }
  }
}

Generate a PAT at Clintplay dashboard → Settings → Personal Access Tokens.

REST contract

The tools are a 1:1 mapping onto REST endpoints under /v1/mcp/*. If you are integrating server-to-server, call those directly — the MCP protocol adds a handshake and an envelope without adding capability.

The contract is generated from this tool registry joined to the live route table, so it cannot drift from what the tools request:

GET https://<your-api>/v1/mcp/openapi.json     (no auth required)
docs/openapi-mcp.json                          (committed, drift-tested)

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | CLINTPLAY_PAT | Yes | — | Personal access token (cp_pat_* format). Generate one in Settings. | | CLINTPLAY_API_URL | Yes | — | API origin (e.g. https://clintplay.your-domain.com). A path is accepted but ignored with a warning on stderr — tool paths are absolute, so anything after the host is dropped. A trailing /v1 is harmless (identical result); any other prefix means this client cannot reach your API. |

Local development

Point the server at a locally-running API:

CLINTPLAY_API_URL=http://localhost:3001 CLINTPLAY_PAT=cp_pat_... npx clintplay-mcp@latest

Available tools

52 tools across seven categories:

  • Discovery — list projects, list sessions, get session details
  • Business events — list event definitions, event series, property definitions, property breakdown, retention cohorts, distinct users per window, owner activity
  • Granular reads — session events, errors, analytics, jobs
  • Cross-session analysis — aggregate queries, trend detection
  • Annotations / share / links — create annotations, share sessions, manage links
  • Execution — extract repro steps, replay, run sandbox queries
  • Metawhoami (GET /v1/mcp/whoami)

Plus 7 URI-addressable resources and 6 prompt runbooks.

Transports

stdio (default, for Claude Code / Cursor / Claude Desktop): run npx clintplay-mcp with CLINTPLAY_PAT and CLINTPLAY_API_URL set.

HTTP (for service-to-service callers): the Clintplay API serves MCP over Streamable HTTP at POST /v1/mcp-rpc. Authenticate with Authorization: Bearer cp_pat_… and send Content-Type: application/json. Scopes and project membership are enforced exactly as on stdio. Four tools are withheld on this transport because they enqueue Playwright/sandbox work: extract_repro, replay_session, run_query_on_session, get_screenshot.

License

MIT — see LICENSE.