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

@hashpower/mcp

v0.1.11

Published

Hashpower MCP server: knowledge base and simulator for agentic trading. Not a trading intermediary — agents sign and send their own transactions.

Readme

@hashpower/mcp

Knowledge base and simulator for agents building Hashpower trading bots. Not a trading API. This server never holds keys, never broadcasts transactions, and is never in the production trade path.

The permissionless API is the contracts on Base plus the public subgraphs. This MCP server teaches an agent those rules, lets it scan the same live market a human reads on the trading UI, and lets it simulate - then the agent writes its own bot against @hashpower/*-abi. Execution never goes through this server.

Instruction manual (setup, guardrails, tools, units, how to execute locally): docs/agent-manual.md. Hosted for agents at dev.hashpower.io/build/mcp.md (testnet) and hashpower.io/build/mcp.md (mainnet; site build rewrites client key and URLs).

Connect

Hosted testnet - Cursor key dev-hashpower (reserves hashpower for production):

{
  "mcpServers": {
    "dev-hashpower": {
      "url": "https://mcp.dev.hashpower.io/mcp"
    }
  }
}

Hosted mainnet (when LMN is live):

{
  "mcpServers": {
    "hashpower": {
      "url": "https://mcp.hashpower.io/mcp"
    }
  }
}

Same image, HASHPOWER_ENV flipped by the deploy workflow. initialize.serverInfo.name is dev-hashpower on testnet and hashpower on mainnet.

Local stdio (agent brings its own RPC):

{
  "mcpServers": {
    "dev-hashpower": {
      "command": "npx",
      "args": ["-y", "@hashpower/mcp"],
      "env": {
        "HASHPOWER_ENV": "testnet"
      }
    }
  }
}

Until the first npm publish, npx -y github:Lumerin-protocol/hashpower-mcp#dev works the same way.

Optional env:

| Variable | Default (testnet) | Meaning | | --- | --- | --- | | HASHPOWER_ENV | testnet | testnet (Base Sepolia) or mainnet | | HASHPOWER_RPC_URL | https://sepolia.base.org | Ethereum JSON-RPC | | HASHPOWER_DOCS_URL | https://dev.hashpower.io | Semantics source (/semantics/*) | | HASHPOWER_TRANSPORT | stdio | stdio or http | | PORT | 8080 | HTTP bind port |

Prerequisite for any real trade: the bot wallet holds Base ETH (gas) and USDC (collateral). Deposit to CollateralVault first.

Tools

See the instruction manual for the full catalog, units, and operating loop. Short list:

Knowledge: get_deployments, get_market_rules, get_margin_model, get_units_and_scaling

Read: get_market_snapshot, get_hashprice, get_orderbook, get_trades, get_funding, get_expirations, get_market_stats, get_oracle_history, get_positions, get_margin_status

Simulate: simulate_order, check_can_place_order

Scaffold (prototype only): build_deposit_tx, build_order_tx - unsigned calldata. Production bots encode via the npm packages.

Local dev

pnpm install
pnpm check
pnpm test
pnpm build
pnpm start
HASHPOWER_TRANSPORT=http pnpm start:http

Hosted HTTP is stateless: no MCP session, no ALB stickiness. Any Fargate task can serve any request.

What this is not

  • Not a wallet manager
  • Not a hosted order router
  • Not an API-key product
  • Not in the runtime path of a production bot