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

three-ws-mcp

v1.0.2

Published

Local MCP sidecar for three.ws — Solana identity, Pump.fun intel, 3D avatar tools with spend tracking and response caching

Downloads

349

Readme

three-ws-mcp

MCP sidecar for three.ws — gives any MCP client (Claude Desktop, Cursor, Windsurf) Solana agent identity, Pump.fun intelligence, and 3D avatar tools in one npx command.

  • 16 tools — Solana passport, Pump.fun token/creator intel, glTF/GLB validation, avatar management
  • 3 MCP Resources — live pump.fun feed, bonding-curve snapshots, buy/sell quotes (all free)
  • 4 pre-built Prompts — analyze a token, evaluate an agent, validate a model, render a mint as 3D
  • Response cache — repeat lookups hit local cache, cost $0
  • Spend guard — hard session cap so you never overspend
  • $0.001 USDC per tool call via three.ws

Setup

npx three-ws-mcp init

This walks you through API key setup and prints a ready-to-paste config block for your client. Get an API key at three.ws/dashboard.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "three-ws": {
      "command": "npx",
      "args": ["-y", "three-ws-mcp"],
      "env": { "THREE_WS_API_KEY": "your-key-here" }
    }
  }
}

Cursor / Windsurf

Add to .cursor/mcp.json:

{
  "three-ws": {
    "command": "npx",
    "args": ["-y", "three-ws-mcp"],
    "env": { "THREE_WS_API_KEY": "your-key-here" }
  }
}

Tools

Solana — public, no auth required

| Tool | What it returns | Cost | |------|----------------|------| | solana_agent_passport | Identity + reputation + 10 recent attestations in one call | $0.001 | | solana_agent_reputation | Verified score, feedback counts, dispute rate, validation pass/fail | $0.001 | | solana_agent_attestations | Full on-chain attestation history with verified/disputed flags | $0.001 |

Pump.fun — public, no auth required

| Tool | What it returns | Cost | |------|----------------|------| | pumpfun_token_intel | Graduation status, bonding curve, top holders, bundle detection, trust signals | $0.001 | | pumpfun_creator_intel | Creator wallet history, prior launches, graduation rate, trust signals | $0.001 | | pumpfun_recent_claims | Latest social-fee claim events with influencer tier and fake-claim detection | $0.001 | | pumpfun_recent_graduations | Tokens that recently graduated to PumpAMM with holder analysis | $0.001 |

Avatars — requires API key

| Tool | What it does | Cost | |------|-------------|------| | list_my_avatars | List your three.ws avatars with pagination | $0.001 | | get_avatar | Fetch a single avatar by ID or slug | $0.001 | | search_public_avatars | Keyword search across the public avatar directory | $0.001 | | render_avatar | Get embeddable <model-viewer> HTML for any avatar | $0.001 | | delete_avatar | Delete an avatar | $0.001 |

Models — requires API key

| Tool | What it does | Cost | |------|-------------|------| | validate_model | Run glTF-Validator on a URL — errors, warnings, hints | $0.001 | | inspect_model | Vertex/triangle counts, materials, textures, animation stats | $0.001 | | optimize_model | Optimize geometry and textures, return a download URL | $0.001 |

Local — always free

| Tool | What it does | |------|-------------| | spend_status | Session spend, call count, cache hit rate, remaining budget |


Resources

Free — no payment required.

| URI | Description | |-----|-------------| | three-ws://pump/channel-feed | Live pump.fun events: new mints, whale buys, social-fee claims | | three-ws://pump/curve/{mint} | Bonding-curve snapshot: spot price, market cap, graduation % | | three-ws://pump/quote/{mint}/{side}/{amount} | Deterministic buy/sell quote with price impact |


Prompts

Pre-built multi-step workflows. Invoke from your MCP client's prompt picker.

| Prompt | What it does | |--------|-------------| | analyze-token | Calls creator intel → token intel → curve resource, gives BUY/SKIP/WATCH | | agent-trust | Calls passport, interprets verified vs raw score, returns TRUSTED/CAUTION/UNVERIFIED | | validate-model | Calls validate → inspect if issues found, lists fixes in priority order | | mint-to-avatar | Fetches curve context, renders the mint as a GLB cube with embeddable viewer |


Spend management

Every tool result includes spend metadata:

{
  "_meta": {
    "cost_usdc": 0.001,
    "session_spend_usdc": 0.004,
    "remaining_budget_usdc": 0.996
  }
}

Set a hard cap with THREE_WS_SPEND_LIMIT. Once the cap is reached, the sidecar blocks further calls and returns a clear error — call spend_status to check or restart the server to reset.

The response cache skips the network entirely for repeated lookups: agent passports cache for 60s, token intel for 30s, model validation for 5min.


Environment variables

| Variable | Default | Description | |----------|---------|-------------| | THREE_WS_API_KEY | — | API key from three.ws/dashboard | | THREE_WS_NETWORK | mainnet | mainnet or devnet | | THREE_WS_REMOTE | https://three.ws | Override the remote base URL | | THREE_WS_SPEND_LIMIT | 1.0 | Session USDC spend cap (0 = unlimited) |


CLI

npx three-ws-mcp            # start MCP stdio server
npx three-ws-mcp init       # interactive setup + prints client config snippet
npx three-ws-mcp status     # remote health, session spend, cache stats
npx three-ws-mcp --help     # usage