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

sports-betting-mcp

v1.0.0

Published

MCP server for Pinwin — decentralized sports betting on Azuro/Polygon

Readme

pinwin-mcp

MCP server for Pinwin — decentralized sports betting on Azuro/Polygon.

Connects any MCP-compatible LLM (Claude, GPT-4, etc.) to live sports odds and on-chain bet execution.

Tools

| Tool | Description | |------|-------------| | get_games | Fetch upcoming/live games with main market odds | | place_bet | Place a bet on-chain via Pinwin (requires confirmation) | | check_bets | Check bet history and claimable winnings | | claim_bets | Redeem won/canceled bets on-chain (requires confirmation) |

Setup

1. Prerequisites

  • Node.js ≥ 18
  • A wallet with USDT and POL (for gas) on Polygon
  • Your wallet's private key

2. Install

npm install -g pinwin-mcp

Or run directly with npx (no install needed):

npx pinwin-mcp

3. Configure Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "pinwin": {
      "command": "npx",
      "args": ["pinwin-mcp"],
      "env": {
        "BETTOR_PRIVATE_KEY": "0xyour_private_key_here"
      }
    }
  }
}

Restart Claude Desktop. You'll see Pinwin tools available in the tools panel.

4. Optional: custom RPC

Add POLYGON_RPC_URL to the env block for a dedicated RPC endpoint:

"env": {
  "BETTOR_PRIVATE_KEY": "0x...",
  "POLYGON_RPC_URL": "https://polygon-mainnet.g.alchemy.com/v2/YOUR_KEY"
}

Usage examples

Once configured, talk to Claude naturally:

  • "Show me NBA games tonight"
  • "What are the odds for the Premier League games this weekend?"
  • "Place 2 USDT on the Celtics to win"
  • "Check my bets"
  • "Claim my winnings"

Security

  • Your private key never leaves your machine — it's only read from the env var by the local MCP process.
  • place_bet and claim_bets always confirm before executing on-chain.
  • The server validates payload integrity (stake amount, conditionId, outcomeId, contract address) before signing.

Supported sports

| You say | Azuro slug | |---------|-----------| | nba / basketball | basketball | | nhl / hockey / ice-hockey | ice-hockey | | nfl / american-football | american-football | | mlb / baseball | baseball | | football / soccer | football | | tennis | tennis | | mma | mma |

License

MIT