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

million-mcp

v1.0.0

Published

MCP server for million, the open-source self-hosted Solana whale tracker and copy-trading deck: status, positions, decision log, trading rules, order flow, token checks and whale discovery.

Readme

million-mcp

MCP server for million, the open-source, self-hosted Solana whale tracker and copy-trading deck. It lets Claude Desktop, Cursor, Claude Code, VS Code or any MCP client read and operate your deck: status, positions, why a token was or wasn't bought, trading rules, roster order flow, token safety checks and finding wallets worth following.

It's a thin layer over the deck's local API, so the deck has to be running on your machine. No keys pass through it, and no tool can switch paper trading to live.

1. Run the deck

npx create-million

That clones, installs and starts million at http://localhost:5173 (you need Node 24 or nvm, and a free Helius API key).

2. Add the server to your client

Claude Code

claude mcp add million -- npx -y million-mcp

Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "million": {
      "command": "npx",
      "args": ["-y", "million-mcp"]
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "million": { "type": "stdio", "command": "npx", "args": ["-y", "million-mcp"] }
  }
}

If the deck's API isn't on http://localhost:3001/api, set MILLION_API in the server's env.

Tools

| Tool | What it does | |---|---| | get_status | running or not, paper or live, feed health, followed wallets, book summary | | get_book | open and closed positions with PnL and exit reasons | | get_decisions | the decision log: signals, trades, shadow trades and skips, each with its reason | | why_not_bought | everything to explain one token: its decisions, check report, positions, rules | | get_rules | trading rules in force | | update_rules | change some rule fields, returns before and after (can't enable live trading) | | get_flows | tokens the followed wallets are accumulating or distributing now | | get_roster_holdings | what the followed wallets still hold, and where they took profit | | check_token | safety checks: authorities, liquidity, holders, deployer, sell simulation, RugCheck | | find_token_buyers | a token's biggest buyers with flags (bots, clusters), to find whales to follow | | import_wallets | add wallets to the roster | | analyze_wallet | a wallet's PnL in SOL, win rate, hold times and flags | | get_wallet | a roster wallet's stored analysis and activity | | set_wallet_subscription | follow or unfollow a wallet |

find_token_buyers and analyze_wallet spend your Helius credits.

Ask things like

  • "How's my deck doing?"
  • "Why didn't it buy CATE?"
  • "Find whales from this token and add the three most consistent ones."
  • "Make it only trade when two different owners agree, 0.2 SOL per trade."

Experimental software, provided as is, not financial advice. MIT licensed.