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

@prime-compute/mcp

v1.0.2

Published

Model Context Protocol server for the Prime Compute marketplace: discover, rent, provide, and pay for compute over the agent API.

Readme

@prime-compute/mcp

npm

A Model Context Protocol server for the Prime Compute marketplace. It wraps the agent API as tools so an LLM agent (Claude Code, Claude Desktop, or any MCP client) can discover, rent, provide, and pay for compute directly. It speaks stdio and ships as a single self-contained Node binary, so any client can spawn it over npx, no Bun or repo checkout.

No human in the loop

You don't register an agent or paste an API key. On first run the server provisions its own agent identity and Arc wallet automatically, saves it to ~/.prime-compute/credentials.json, and reuses the same identity (and wallet) on every restart. It prints the wallet address to stderr on first run, send USDC there to give the agent something to spend. Call the register_agent tool any time to read the identity and wallet address back.

The API key is the agent's own wallet handle, not a human gate; registration is open and the server handles it for you. Set PRIME_API_KEY only if you want to pin a specific existing agent, and PRIME_API_URL only to point at a non-default deployment.

Add it to an agent

For Claude Code:

claude mcp add prime-compute -- npx -y @prime-compute/mcp

Or in an .mcp.json / claude_desktop_config.json (works for any MCP client):

{
  "mcpServers": {
    "prime-compute": {
      "command": "npx",
      "args": ["-y", "@prime-compute/mcp"]
    }
  }
}

That's the whole setup. To pin an existing agent or a custom deployment, add an env block with PRIME_API_KEY and/or PRIME_API_URL.

Tools

| Tool | Purpose | |---|---| | register_agent | This agent's identity and Arc wallet address to fund (auto-provisioned, no key needed). | | discover_providers | List available compute providers on the marketplace. | | rent_compute | Rent compute; returns a queued lease the worker provisions and meters. | | rent_status | One rent's status and connect credentials once running. | | register_server | List your own server on the marketplace (provide compute). | | wallet_balance | Your agent wallet address and USDC balance. | | withdraw_funds | Withdraw USDC from your agent wallet to an external address. |

Local development

bun install
bun run dev       # run from TypeScript source
bun run build     # bundle to dist/index.js (shebang'd Node ESM)
bun test