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

@covalenthq/goldrush-cli

v3.0.7

Published

Terminal-first blockchain data & algorithmic trading CLI powered by GoldRush API

Downloads

479

Readme

@covalenthq/goldrush-cli

Terminal-first algorithmic trading CLI powered by GoldRush API. Built in TypeScript with a proxy server pattern for rich terminal UI alongside Claude MCP integration.

Quick Start

pnpm setup #export PNPM_HOME
pnpm install #installs dependencies
pnpm build #builds the package

pnpm link --global # /Users/<username>/Library/pnpm/global/5: + @covalenthq/goldrush-cli 3.0.6 <- ../../../../Documents/covalent/goldrush-services-monorepo/services/goldrush-cli

pnpm --filter @covalenthq/client-sdk build #builds the client-sdk package
pnpm --filter @covalenthq/goldrush-cli build #builds the goldrush-cli package

# Set up your API key
goldrush auth

# Check token balances
goldrush balances eth-mainnet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

# Stream new DEX pairs
goldrush new_pairs eth-mainnet

# Launch proxy server (for MCP bridge)
goldrush proxy

# Configure Claude MCP integration
goldrush install

Commands

| Command | Purpose | | -------------------------------------- | ------------------------------------ | | goldrush | Interactive menu | | goldrush auth | Set up API key + service key | | goldrush balances [chain] [address] | Token balances with rich table | | goldrush transfers [chain] [address] | Transfer history | | goldrush nfts [chain] [address] | NFT holdings for a wallet | | goldrush new_pairs [chain] | Stream new DEX pairs | | goldrush ohlcv_pairs [chain] [pair] | OHLCV pairs stream | | goldrush search [chain] [query] | Token search | | goldrush traders [chain] [token] | Top traders | | goldrush gas [chain] | Gas prices | | goldrush chains | List supported chains | | goldrush watch [chain] [address] | Watch wallet activity | | goldrush proxy | Launch proxy server | | goldrush mcp | MCP stdio bridge (invoked by Claude) | | goldrush install | Configure Claude MCP integration | | goldrush config | View/edit settings | | goldrush status | Check connectivity | | goldrush usage | Account credit usage & limits | | goldrush logout | Clear credentials |

All positional args are optional — when omitted the CLI falls back to the configured default chain (goldrush config) and prompts interactively for the missing identifier.

Authentication & keys

The CLI works with two distinct credentials:

| Key | Used for | Set via | | --------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | API key | The regular GoldRush data API (balances, transfers, gas, …) | goldrush auth, goldrush auth --api-key <key>, or GOLDRUSH_API_KEY | | Service key | Service-key-gated /platform/* endpoints — currently goldrush usage | goldrush auth --service-key <key>, goldrush config → Service Key, or GOLDRUSH_SERVICE_KEY |

The two keys are stored separately (OS keychain when available, otherwise the local config file) and setting one never overwrites the other. Running goldrush auth with no flags walks you through the API key and then offers to set a service key. Get keys from the GoldRush platform.

# Interactive (prompts for both)
goldrush auth

# Non-interactive, each key independently
goldrush auth --api-key <goldrush-api-key>
goldrush auth --service-key <service-key>

For single-key setups, goldrush usage falls back to your regular API key when no dedicated service key is configured, so it keeps working out of the box.

Account usage

goldrush usage reports your credit consumption, billing cycle, rate limit and flex-credit status. It calls the service-key-gated usage endpoint on api.covalenthq.com (separate from the regular data API). The service key is read from the OS keychain, the GOLDRUSH_SERVICE_KEY environment variable, or — for single-key setups — your regular GoldRush API key. Advanced overrides:

  • GOLDRUSH_API_URL — base URL for service-key endpoints (default https://api.covalenthq.com)
  • GOLDRUSH_USAGE_PATH — usage endpoint path (default /platform/usage/)

Architecture

Claude Desktop/Code <--stdio--> MCP Bridge <--HTTP--> Proxy Server <--HTTP--> Hosted MCP Server
                                (goldrush mcp)        (goldrush proxy)        (goldrush-mcp.vercel.app)

The proxy server fetches tool definitions and forwards tool calls to the hosted MCP server (configurable via GOLDRUSH_MCP_URL). The MCP bridge translates between stdio (for Claude) and HTTP (for the proxy), keeping terminal UI output separate from the MCP protocol.

Development

pnpm dev           # Run with tsx
pnpm build         # Build with tsup
pnpm test          # Run tests
pnpm typecheck     # TypeScript check