@covalenthq/goldrush-mcp-server

中文文档
3.0.9发布于 2026/10/29MITTypeScriptESM + CJS近 30 天下载 2276

GoldRush MCP Server for interacting with Covalent GoldRush API

原始使用文档
文档目录23 节
  1. Quick start
  2. Claude Desktop
  3. Claude Code
  4. Cursor / Windsurf
  5. Install globally
  6. Tools
  7. Wallet balances
  8. Transactions
  9. Cross-chain
  10. NFTs
  11. Pricing
  12. Security
  13. Chain and block primitives
  14. Bitcoin
  15. Protocol analytics
  16. Resources
  17. Configuration
  18. Environment variables
  19. Command line flags
  20. Requirements
  21. Links
  22. Show your support
  23. License

GoldRush MCP Server

npm version npm downloads License: MIT

A Model Context Protocol server that gives AI agents and LLMs direct access to blockchain data across 100+ chains, powered by the GoldRush API. Wallet token balances, transaction history, NFT holdings, historical prices, token approvals and cross-chain activity, all as MCP tools your model can call.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, Cline and any other MCP client.

Quick start

Get a free API key at goldrush.dev, then add the server to your MCP client config.

Claude Desktop

Add to claude_desktop_config.json:

{
    "mcpServers": {
        "goldrush": {
            "command": "npx",
            "args": ["-y", "@covalenthq/goldrush-mcp-server@latest"],
            "env": {
                "GOLDRUSH_API_KEY": "your-api-key-here"
            }
        }
    }
}

Claude Code

claude mcp add goldrush -e GOLDRUSH_API_KEY=your-api-key-here \
  -- npx -y @covalenthq/goldrush-mcp-server@latest

Cursor / Windsurf

Add the same mcpServers block to .cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json.

Install globally

npm install -g @covalenthq/goldrush-mcp-server
GOLDRUSH_API_KEY=your-api-key-here goldrush-mcp-server

Once connected, ask your model things like "what tokens does vitalik.eth hold on Base?" or "show me the NFT collections in this wallet across every chain".

Tools

The server registers 28 blockchain data tools backed by the GoldRush API, plus 9 protocol analytics tools over the GoldRush semantic layer.

Wallet balances

ToolPurpose
token_balancesCurrent ERC20 and native token balances for an address
historical_token_balancesToken balances as of a past date or block
historical_portfolio_valuePortfolio value over time for an address
erc20_token_transfersERC20 transfer history for an address
token_holdersHolders of a token as of any block height
native_token_balanceNative gas token balance for an address

Transactions

ToolPurpose
transactionA single transaction with decoded log events
transaction_summaryEarliest, latest and total transaction counts for an address
transactions_for_addressPaginated transaction history for an address
transactions_for_blockEvery transaction in a block

Cross-chain

ToolPurpose
multichain_balancesToken balances for an address across many chains in one call
multichain_transactionsTransactions for an address across many chains
multichain_address_activityWhich chains an address has been active on

NFTs

ToolPurpose
nft_for_addressNFT holdings for a wallet, with metadata
nft_check_ownershipWhether an address holds anything in a collection
nft_check_ownership_token_idWhether an address holds a specific token ID

Pricing

ToolPurpose
historical_token_pricesHistorical spot prices for a token
pool_spot_pricesCurrent spot prices for a DEX pool

Security

ToolPurpose
token_approvalsOutstanding ERC20 approvals for an address, with risk scores

Chain and block primitives

ToolPurpose
gas_pricesCurrent gas prices for a chain
blockA single block
block_heightsBlock heights in a date range
log_events_by_addressDecoded log events emitted by a contract
log_events_by_topicDecoded log events matching a topic hash
resolve_addressResolve an ENS or similar name to an address

Bitcoin

ToolPurpose
bitcoin_hd_wallet_balancesBalances for an HD wallet address
bitcoin_non_hd_wallet_balancesBalance for a single Bitcoin address
bitcoin_transactionsTransaction history for a Bitcoin address

Protocol analytics

list_entities, search_catalog, get_metadata, list_members, get_metric, get_metrics, get_breakdown, compare_entities, rank_entities: read-only analytics over the GoldRush warehouse through its Cube semantic layer.

They run in this server against Cube, so they need the Cube variables below. Without them the analytics tools find no datasets (list_entities reports semantic_source: "unavailable").

Resources

URIContents
config://supported-chainsEvery chain the GoldRush API supports
config://quote-currenciesValid quote currencies for price fields
status://all-chainsSync status for all chains
status://chain/{chainName}Sync status for one chain

See the full network list for chain names.

Configuration

Environment variables

VariableRequiredPurpose
GOLDRUSH_API_KEYYesYour GoldRush API key
CUBE_API_URL, CUBE_API_TOKENFor analyticsThe Cube the analytics tools query (the same in every environment)
CUBE_META_URL, CUBE_META_API_TOKENNoA separate Cube for /meta; defaults to the query Cube
SEMANTIC_META_TTL_MSNoHow often /meta is re-checked (default 10 minutes)

Command line flags

FlagDefaultPurpose
--transport <stdio|http>stdioTransport to serve on
--port <number>3000Port for the HTTP transport
--api-key <key>API key, as an alternative to the environment variable

Most MCP clients spawn the server over stdio, which is the default. The HTTP transport serves Streamable HTTP on /mcp for remote or containerized deployments:

goldrush-mcp-server --transport http --port 3000

Requirements

Show your support

Give a ⭐️ if this project helped you!

License

This project is MIT licensed.

版本与发布记录

@covalenthq/goldrush-mcp-server 共发布 14 个版本,首次发布于 2025/04/29;过去 12 个月发布了 10 个版本。

版本发布日期距今
3.0.9latest2026/10/2912 天前
3.0.82026/10/1725 天前
3.0.72026/09/301 个月前
3.0.62026/03/197 个月前
3.0.52026/03/108 个月前
3.0.42026/03/078 个月前

关于 @covalenthq/goldrush-mcp-server 的常见问题

@covalenthq/goldrush-mcp-server 是什么?

GoldRush MCP Server for interacting with Covalent GoldRush API

如何安装 @covalenthq/goldrush-mcp-server?

在项目目录运行 npm install @covalenthq/goldrush-mcp-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 goldrush-mcp-server,可以用 npx goldrush-mcp-server 直接运行。

@covalenthq/goldrush-mcp-server 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@covalenthq/goldrush-mcp-server 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@covalenthq/goldrush-mcp-server 可以商用吗?

@covalenthq/goldrush-mcp-server 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@covalenthq/goldrush-mcp-server 的下载量有多少?

根据 npm 官方下载统计,@covalenthq/goldrush-mcp-server 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,276 次,日均约 76 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@covalenthq/goldrush-mcp-server 还在维护吗?

最新版本 3.0.9 发布于 2026/10/29(12 天前);至今共发布 14 个版本,其中过去 12 个月发布了 10 个;首次发布于 2025/04/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。