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

@solworks/poll-mcp

v0.1.31

Published

MCP server for Poll.fun. See documentation at https://dev.poll.fun

Readme

poll-mcp

MCP server for Poll.fun. Gives Claude Desktop (and other MCP-compatible AI assistants) access to the Poll.fun betting platform — browse bets, place wagers, manage your account, and more.

Setup

1. Build

cd poll-mcp && npm install && npm run build

2. Create a token

Create a Personal Access Token at poll.fun/settings with scopes: read, bet:write, social:write. Set an expiry of 90 days or whatever suits your use case.

3. Configure Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "poll-fun": {
      "command": "node",
      "args": ["/absolute/path/to/poll-mcp/dist/index.js"],
      "env": {
        "POLL_API_TOKEN": "polld_your_token_here"
      }
    }
  }
}

Restart Claude Desktop. You should see "poll-fun" in the MCP server list.

Environment Variables

| Variable | Default | Description | |---|---|---| | POLL_API_TOKEN | (required) | Personal Access Token | | POLL_API_URL | https://api.poll.fun | API endpoint override |

Tools (28)

Read (read scope)

| Tool | Description | |---|---| | get_account | Your account info | | get_profile | User profile by UUID (or your own) | | get_balance | XP and USDC balances | | list_public_bets | Public bets with pagination | | get_trending_bets | Currently trending bets | | get_bet | Bet details by ID or address | | get_my_bets | Your created, joined, and wagered bets | | get_my_wagers | Your wagers (optionally active only) | | get_leaderboard | Platform leaderboard | | get_my_ranking | Your leaderboard ranking | | get_wallet_transactions | Wallet transaction history | | get_friends | Friends list | | get_notifications | Notifications with pagination | | get_streak | Current and longest betting streak | | get_favourite_bets | Your favourite bets | | get_probability_history | Probability history for a bet | | get_friend_requests | Pending friend requests you sent and received |

Bet Write (bet:write scope)

| Tool | Description | |---|---| | create_bet | Create a bet with question and options | | join_bet | Join an existing bet | | place_wager | Place a wager on a bet option | | cancel_wager | Cancel a placed wager | | initiate_vote | Start the voting phase | | vote | Cast a vote on a bet outcome |

User Write (user:write scope)

| Tool | Description | |---|---| | update_display_name | Change your display name |

Social Write (social:write scope)

| Tool | Description | |---|---| | send_friend_request | Send a friend request | | respond_friend_request | Accept or decline a friend request | | favourite_bet | Add a bet to favourites | | unfavourite_bet | Remove a bet from favourites |

Resources (5)

| URI | Description | |---|---| | poll://user/profile | Current user profile | | poll://user/balances | XP and USDC balances | | poll://bets/active | Your active bets and wagers | | poll://bets/trending | Currently trending bets | | poll://leaderboard/top10 | Top 10 leaderboard |

Prompts (3)

| Prompt | Description | |---|---| | analyze_bet | Analyze a specific bet's dynamics and outcomes | | suggest_bets | Suggest bets from trending, considering your balance | | portfolio_review | Review your betting portfolio with insights |