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

buffgift-mcp

v1.0.2

Published

BuffGift MCP server for AI-assisted gift card search and purchase. Use with OpenClaw, Cursor, or any MCP client.

Readme

buffgift-mcp

BuffGift MCP Server — 让 AI(OpenClaw、Cursor 等)帮你检索礼品卡、创建订单、发起支付。

快速开始

  1. BuffGift 个人中心 生成 API Key
  2. 配置 MCP 客户端

OpenClaw 配置

在 OpenClaw 的 MCP 配置中添加(如 openclaw.json 或可视化界面):

{
  "buffgift": {
    "command": "npx",
    "args": ["-y", "buffgift-mcp"],
    "env": {
      "BUFFGIFT_API_URL": "https://v2.buffgift.com",
      "BUFFGIFT_API_KEY": "<你的API_Key>"
    }
  }
}

配置后,对 Claw 说「给我买苹果美区礼品卡 10 美元」,Claw 会:

  1. 搜索产品 → 2. 创建订单 → 3. 发起支付 → 4. 推送支付链接给你 → 5. 你点开完成支付 → 6. 收到邮件(含卡密)

Cursor 配置

.cursor/mcp.json 中添加上述配置即可。

工具列表

| 工具 | 说明 | |------|------| | buffgift_search_products | 搜索礼品卡(keyword, region, category) | | buffgift_get_product | 获取产品详情与 SKU | | buffgift_create_order | 创建订单 | | buffgift_create_payment | 发起支付,返回 payUrl | | buffgift_payment_status | 查询支付状态 | | buffgift_wallet_balance | 查询钱包余额 |

环境变量

  • BUFFGIFT_API_URL:API 地址,默认 https://v2.buffgift.com
  • BUFFGIFT_API_KEY:API Key(下单/支付必需)