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

casperflow-mcp

v0.1.0

Published

MCP server exposing CasperFlow's real Casper Network actions (balance, send, delegate, attest, CSPR.name) to any MCP client.

Readme

CasperFlow MCP server

Exposes CasperFlow's real Casper Network actions as Model Context Protocol tools, so any MCP client — nanobot, Claude, Claude Code, Cursor, etc. — can drive Casper directly.

Tools

| Tool | What it does | | --- | --- | | casper_account_info | Agent wallet public key, network, live balance | | casper_get_balance | Live CSPR balance of any public key | | casper_resolve_name | Resolve a CSPR.name (e.g. alice.cspr) → account hash | | casper_send_cspr | Sign + submit a real native CSPR transfer (key, account hash, or resolved CSPR.name) | | casper_delegate | Sign + submit a real delegation (stake) to a validator | | casper_attest | Build an EIP-712 attestation and anchor it on-chain (returns claim hash + explorer link) |

Use it (no install, via npx)

Once published to npm, any MCP client runs the server automatically — no clone, no build:

{
  "mcpServers": {
    "casperflow": {
      "command": "npx",
      "args": ["-y", "casperflow-mcp"],
      "env": {
        "CASPER_NETWORK": "testnet",
        "CSPR_CLOUD_KEY": "your-cspr-cloud-key",
        "CASPER_SECRET_KEY_HEX": "your-testnet-secret-key-hex"
      }
    }
  }
}

Publish once (maintainer)

cd mcp-server
npm install
npm login
npm publish      # builds automatically via prepublishOnly

If the name casperflow-mcp is taken, use a scoped name (e.g. @youruser/casperflow-mcp) in package.json and in the args above.

Local dev / build

cd mcp-server
npm install
npm run build    # outputs dist/
npm start

Configure (environment variables)

| Variable | Required | Notes | | --- | --- | --- | | CASPER_NETWORK | no | testnet (default) or mainnet | | CSPR_CLOUD_KEY | reads | Free key from https://console.cspr.cloud | | CASPER_SECRET_KEY_HEX | writes | Hex secret key used to sign. Testnet only — never use a key holding real funds. | | CASPER_KEY_ALGO | no | ed25519 (default) or secp256k1 |

Use with an MCP client

Example client config (e.g. ~/.nanobot/config.json mcpServers, or a Claude/Cursor MCP config):

{
  "mcpServers": {
    "casperflow": {
      "command": "node",
      "args": ["/absolute/path/to/CasperFlow/mcp-server/dist/index.js"],
      "env": {
        "CASPER_NETWORK": "testnet",
        "CSPR_CLOUD_KEY": "your-cspr-cloud-key",
        "CASPER_SECRET_KEY_HEX": "your-testnet-secret-key-hex"
      }
    }
  }
}

Then your agent can say things like "send 2.5 CSPR to alice.cspr and attest the payment" and it will call these tools.

Security

This server signs transactions locally with the key you provide. Use a dedicated testnet key. Do not point it at a key holding mainnet funds.