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

@35m/mcp

v0.1.0

Published

35pay MCP server — gives Claude Desktop / Cursor / Zed real-time payment tools (create checkout, get session, refund).

Readme

@35m/mcp

35pay 的 MCP(Model Context Protocol)服务器。让 Claude Desktop / Cursor / Zed 直接调用 35pay 的支付能力 —— 创建收款、查询会话、发起退款,全程不离开聊天。

安装

npx -y @35m/mcp   # 一次性试用
# 或
pnpm add -g @35m/mcp

配置(Claude Desktop)

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或对应平台路径,加:

{
  "mcpServers": {
    "35pay": {
      "command": "npx",
      "args": ["-y", "@35m/mcp"],
      "env": {
        "PAY_KEY": "sk_test_xxx",
        "PAY_BASE_URL": "https://pay.35team.com"
      }
    }
  }
}

sk_test_xxx 走 mock 不扣款;sk_live_xxx 走真支付。在 pay.35team.com → API Keys 创建。

暴露的工具

| Tool | 说明 | |---|---| | create_checkout | 创建一个支付会话,返回收银台 URL(可发给客户付款) | | get_session | 查询某个会话的状态 + 关联的 PaymentRecord | | refund | 对某笔已支付的交易发起全额或部分退款 |

用法示例

在 Claude Desktop 内对话:

帮我创建一笔 99 元的收款,描述是"咨询费"

Claude 会调 create_checkout 拿到 URL,然后给你出收银台链接,你转发给客户即可。

我刚收到 sess_01HXYZ 这笔款?

Claude 调 get_session 查状态。

把 rec_xyz123 这笔退一半

Claude 调 refund(recordId, amount=...)

安全

  • sk_* key 仅在你本机的 MCP 进程使用,不会被 LLM 看到(MCP 协议 env 隔离)
  • live mode 退款是真实退钱,Claude 调 refund 工具时会询问确认
  • 所有操作都会在 pay.35team.com → 交易记录 留底

协议 / 文档

  • 完整文档:https://pay.35team.com/docs/mcp
  • 源码:https://github.com/guo2001china/35m/tree/main/packages/mcp
  • 协议:MIT