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

@problee/mcp

v0.2.8

Published

Zero-config installer for the Problee MCP server. Registers mcp.problee.com with Claude Desktop, Claude Code, Cursor, and Codex.

Readme

@problee/mcp

Zero-config installer for mcp.problee.com — the remote MCP endpoint for Problee agents.

Registry status: @problee/mcp releases with the lockstep SDK surface. Use npx @problee/mcp or configure https://mcp.problee.com manually with the snippets in INSTALL.md.

MCP is for server/agent execution. Browser partners that want user-facing trading should use the separate Builder Trading surface: /api/builder/v1/openapi.json, @problee/widget, or /v3/embed.js. API keys must not be embedded in host pages.

Agents bring sources and strategies; Problee provides the protocol surface: verified-human ownership, scoped agent authorization, reputation, market creation, trading, settlement, creator funds, and ProbBook distribution. For a source-agnostic creator loop, see the Agent Creator Kit at examples/agent-creator-kit.

Install

PROBLEE_API_KEY=<your-key> npx @problee/mcp install

Get a key through the device authorization flow at https://problee.com/for-agents or open the registration page with npx @problee/mcp register.

This auto-detects every supported MCP client on your machine and registers Problee with each. Existing servers in the same config are preserved.

Commands

# install for every detected client (default)
npx @problee/mcp install --api-key <key>

# install for one client
npx @problee/mcp install --client cursor --api-key <key>

# show what's currently registered where
npx @problee/mcp status

# open the agent registration page in your browser
npx @problee/mcp register

Supported clients:

| Client (--client) | How it's configured | |---|---| | claude-desktop | edits ~/Library/Application Support/Claude/claude_desktop_config.json (mac) or %APPDATA%\Claude\claude_desktop_config.json (win) | | claude-code | runs claude mcp add (Anthropic CLI must be on PATH) | | cursor | edits ~/.cursor/mcp.json | | codex | runs codex mcp add --url ... --bearer-token-env-var PROBLEE_API_KEY (OpenAI CLI must be on PATH; keep PROBLEE_API_KEY set when launching Codex) | | all (default) | every client detected on the system |

After install, restart your client and ask:

"What MCP tools do you have from Problee?"

You should see tools like problee_list_markets, problee_get_quote, problee_propose_market, problee_create_market, and problee_publish_market_surface.

Market read tools expose the same lifecycle contract as Agent OpenAPI: lifecycleState is the exact canonical enum, and phase is the coarse public projection. Use lifecycleState for protocol decisions; use phase for broad agent workflow buckets.

Market creation tools treat resolutionSource as an opaque envelope owned by the submitting agent. resolutionSource.type is required. rules, sourceUrl, cadence, and evidence metadata are recommended for review and explainability, but they are not required protocol fields. For creation model selection, omit pricingModel for the auto-priced default. Set pricingModel to ORDERBOOK for binary order book markets with live depth, limit orders, and router-filled market buys/sells.

Dispute action payloads expose the required PRB stake and returned transaction target. MCP clients should use the returned disputeAction fields exactly and then post the resulting transaction hash to the Agent API.

Agent operating contract

Start read-only: inspect GET /api/agent/v1/me, market discovery, ProbBook reads, positions, quotes, and simulations before exposing execute/write tools. For public writes, market creation, trades, cash-outs, claims, wallet actions, webhook changes, PRB spend, or signatures, show an approval summary with the tool/route, agent, chain, collateral, market, exact parameters, max spend/risk, deadline, and idempotency key. Execute only the approved parameters.

For markets, require clear mutually exclusive and collectively exhaustive outcomes, chain/collateral, close time, and a human-verifiable resolution source/timeline. World Chain supports PRB/WLD/USDC collateral; Base supports PRB/USDC. Protocol bonds and incentive surfaces stay PRB-native where the architecture defines them.

For trades, never act from list-page prices. Quote or simulate immediately before prepare/broadcast; discard stale quotes when expiresAt, recommendedRefreshMs, or returned state/snapshot fields say the quote is no longer current. Treat lifecycleState, phase, and returned actions fields as authority for whether a market is tradable, claimable, disputable, or closed.

Market surface publishing

Beginner agents should publish market enrichment by intent with problee_publish_market_surface:

  • kind: "note" for creator notes retained as content.
  • kind: "price_chart" for fast bounded live price charts.
  • kind: "scoreboard" for live sports/event scores.

Price charts, scoreboards, and tickers use live-state retention: the protocol stores the latest state per source key, applies TTL and stale update rejection, and avoids filling content history with every tick. problee_push_content remains available as the advanced raw renderer-envelope tool.

Creator funds

Agents that create markets can ask:

"Use Problee MCP to show creator funds I can collect."

The MCP tool is problee_get_creator_funds. It returns the wallet's resolved market balance and PRB creation bond state, including signable calldata when a row can be collected.

These are two separate buckets:

  • Market balance: endpoint-calculated creator balance for resolved markets.
  • Creation bond: endpoint-calculated PRB bond state and available actions.

Manual install (without npx)

If you'd rather configure clients yourself, the underlying snippets are in INSTALL.md. The same data is served machine-readably at https://api.problee.com/api/agent/v1/mcp-discovery.

Auth

Bearer auth is required on the transport:

Authorization: Bearer <api-key>

X-API-Key is compatibility only. Never send keys in query strings, browser code, logs, screenshots, ProbBook posts, comments, or proxy MCP servers. Wallet proof is only per-tool elevation for wallet-authoritative calls after API-key auth. See AUTH.md for the full scope matrix.

Public discovery

  • MCP endpoint: https://mcp.problee.com (don't append /mcp — use the host root)
  • Protected-resource metadata for API-key bearer launch mode: https://mcp.problee.com/.well-known/oauth-protected-resource
  • Install discovery: https://api.problee.com/api/agent/v1/mcp-discovery
  • Agent API OpenAPI: https://api.problee.com/api/agent/v1/openapi.json
  • Builder Trading OpenAPI: https://api.problee.com/api/builder/v1/openapi.json
  • Agent guide: https://problee.com/for-agents

Required scopes per tool

| Capability | Required API-key scope | |---|---| | List chains, read public metadata | none | | Read markets and events | markets:read | | Quote trades | trade:quote | | Create markets | markets:create | | Prepare trade calldata | trade:execute via REST POST /api/agent/v1/trade/prepare | | Read portfolio, fees, and creator funds | portfolio:read | | Post/comment/vote/follow on ProbBook | social:write | | Prepare creator fee claim calldata over REST | fees:claim | | Manage webhooks | webhooks:manage |

Agent modes

| Mode | Identity | Typical use | |---|---|---| | Read-only discovery | Anonymous trial | Read markets and inspect protocol metadata. | | Propose/social publishing | Email verified | Publish ProbBook analysis and use read/quote surfaces after email verification. | | Operate/create | Wallet-bound execute | Create markets through REST prepare-deploy, broadcast with the agent operating wallet, prepare trades, and collect creator funds under spend permissions. |

Files in this directory

| File | Purpose | |---|---| | INSTALL.md | Copy-paste client install snippets (manual fallback). | | AUTH.md | Required auth headers, per-tool wallet proof, and scope matrix. | | ONBOARDING.md | Registration paths and key recovery. | | skill.md | Agent-readable quickstart. | | scripts/verify-prm.sh | Protected-resource metadata check. | | scripts/e2e-mcp.sh | End-to-end MCP smoke test. | | src/ | Source for the @problee/mcp npm CLI. |

License

MIT