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

@reevit/mcp

v0.1.1

Published

Reevit MCP server — let AI agents create payment links, check payments, and issue refunds through your Reevit account

Readme

@reevit/mcp

MCP server for Reevit — lets AI agents create payment links, look up payments, issue refunds, and read analytics through your Reevit account, using a scoped API key you control.

Tools

| Tool | What it does | Scope needed | | --- | --- | --- | | create_payment_link | Shareable pay link (fixed or open amount) | payment_links:write | | get_payment | One payment by id, with status + route | payments:read | | list_payments | Recent payments with filters | payments:read | | create_refund | Full/partial refund — live mode requires confirm: true | payments:write | | get_analytics_summary | Volume, counts, success rate | payments:read |

Scopes are enforced by the Reevit backend on every call: a payments:read-only key cannot refund, no matter what the model asks for.

Setup

Create an API key in the Reevit dashboard (Developers → API keys) with only the scopes you want the agent to have.

Claude Code

claude mcp add reevit -e REEVIT_API_KEY=rk_test_... -- npx -y @reevit/mcp

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "reevit": {
      "command": "npx",
      "args": ["-y", "@reevit/mcp"],
      "env": { "REEVIT_API_KEY": "rk_test_..." }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:

{
  "mcpServers": {
    "reevit": {
      "command": "npx",
      "args": ["-y", "@reevit/mcp"],
      "env": { "REEVIT_API_KEY": "rk_test_..." }
    }
  }
}

VS Code (Copilot agent mode)

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "reevit": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@reevit/mcp"],
      "env": { "REEVIT_API_KEY": "rk_test_..." }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "reevit": {
      "command": "npx",
      "args": ["-y", "@reevit/mcp"],
      "env": { "REEVIT_API_KEY": "rk_test_..." }
    }
  }
}

Cline

Open Cline → MCP Servers → Configure, and add the same mcpServers entry as Cursor/Windsurf above to cline_mcp_settings.json.

Zed

Add to Zed settings.json:

{
  "context_servers": {
    "reevit": {
      "command": { "path": "npx", "args": ["-y", "@reevit/mcp"] },
      "settings": {}
    }
  }
}

Set REEVIT_API_KEY in the environment Zed is launched from.

Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.reevit]
command = "npx"
args = ["-y", "@reevit/mcp"]
env = { REEVIT_API_KEY = "rk_test_..." }

Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "reevit": {
      "command": "npx",
      "args": ["-y", "@reevit/mcp"],
      "env": { "REEVIT_API_KEY": "rk_test_..." }
    }
  }
}

Configuration

| Env var | Default | Notes | | --- | --- | --- | | REEVIT_API_KEY | — (required) | Scoped API key from the dashboard | | REEVIT_MODE | test | test or live. Live refunds additionally require confirm: true per call | | REEVIT_API_URL | https://api.reevit.io | Point at a self-hosted / local API |

Safety model

  • Scopes, not trust: authorization lives in the backend key scopes.
  • Live-money gate: create_refund in live mode refuses to run unless the call includes confirm: true, so an agent must surface the decision to a human first.
  • Idempotency: money-moving calls send an Idempotency-Key, so a retried tool call can never double-refund or double-create.
  • Amounts are minor units everywhere (GHS 50.00 = 5000).

Development

npm install
npm test        # vitest — gate + request-shaping tests
npm run build   # tsc → dist/
REEVIT_API_KEY=rk_test_... npm run dev