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

openrails-mcp

v0.1.1

Published

OpenRails MCP server — let agents transact on the Arc USDC rail (pay a link, issue a RailsCard, read paycard state) over stdio, gasless by default.

Readme

openrails-mcp

MCP server that lets an agent transact on the OpenRails USDC rail (Arc) over stdio. Opens and claims are gasless by default — routed through the keeper relay — and the server is non-custodial: it signs with its own configured account and never holds anyone else's keys.

Tools

| Tool | Purpose | |---|---| | openrails_config | Network config, the server signer address, and its USDC balance. Read-only. | | pay_link | Pay an OpenRails link — a RailsFlow request (the signer becomes the payer, gasless open) or a RailsCard (claimed to the signer). Returns the tx hash. | | create_request_link | Create a RailsFlow request link to receive payment. No signing/tx. | | issue_railscard | Issue a claimable RailsCard link (the server pre-signs as payer). Returns a claim link + paycardId. | | paycard_status | Read a paycard/stream state from chain by id. |

Configuration (env)

| Var | Default | Notes | |---|---|---| | OPENRAILS_MCP_SIGNER_KEY | — | Dev signer (raw key). Omit for read-only. For prod, wire a Turnkey/Privy account via openrails-sdk/adapters (see below). | | OPENRAILS_RPC_URL | https://rpc.testnet.arc.network | Public Arc RPC. | | OPENRAILS_CHAIN_ID | 5042002 | | | OPENRAILS_HUB_ADDRESS | 0x01EC…381d | ArcOpenRailsHubV1. | | OPENRAILS_USDC_ADDRESS | 0x3600…0000 | | | OPENRAILS_RELAY_URL | deployed keeper | Sponsors gas for opens/claims. | | OPENRAILS_APP_BASE_URL | https://openrails.pages.dev | Base for generated links. | | OPENRAILS_EXPLORER_BASE_URL | https://testnet.arcscan.app | |

Run

npm install && npm run build
OPENRAILS_MCP_SIGNER_KEY=0x... node dist/index.js   # stdio server

Register with an MCP client (e.g. Claude Desktop mcpServers):

{
  "openrails": {
    "command": "npx",
    "args": ["openrails-mcp"],
    "env": { "OPENRAILS_MCP_SIGNER_KEY": "0x..." }
  }
}

Smoke test: OPENRAILS_MCP_SIGNER_KEY=0x... node smoke.mjs [paycardId].

Signer is pluggable

The server builds its signer via the SDK account abstraction (openrails-sdk). Dev uses a raw key (ethersToSubmitter); for production swap in turnkeyToAccount (server wallets / agents) or privyToAccount (humans) from openrails-sdk/adapters/* in src/context.ts. Because the OpenRails Hub authenticates the signature (not msg.sender), any EOA-backed account works with no contract change.