By OpenCode. Runs in Terminal, IDE, Extension.
OpenCode is an open-source AI coding agent with a fast terminal UI, desktop app, and editor integrations. Its Build and Plan agents make it easy to switch between read-only analysis and full implementation. With GoldRush configured as an MCP server, OpenCode can inspect live onchain data, generate Web3 features, and turn recurring blockchain tasks into reusable commands or project-level agents.
Step 3: Add GoldRush MCP server to your OpenCode config
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"goldrush": {
"type": "local",
"command": ["npx", "-y", "@covalenthq/goldrush-mcp-server"],
"enabled": true,
"environment": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY"
}
}
}
}curl -fsSL https://opencode.ai/install | bashUse the CLI to validate blockchain queries before turning them into OpenCode tasks.
npm install -g @covalenthq/goldrush-cliPut this in ~/.config/opencode/opencode.json or a project-level opencode.json file.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"goldrush": {
"type": "local",
"command": ["npx", "-y", "@covalenthq/goldrush-mcp-server"],
"enabled": true,
"environment": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY"
}
}
}
}Use Build for implementation and switch to Plan when you want analysis without writes.
opencodeAsk: "Use the GoldRush MCP tools to summarize token balances for vitalik.eth across Ethereum, Base, and Polygon"
Once GoldRush is connected, ask in plain words. OpenCode picks the calls.
Each tool is a GoldRush API call or analytics query. OpenCode reads the descriptions and picks the tools a request needs.
Fetch spot and historical balances for an address on up to 10 EVM chains.
Fetch paginated transactions for up to 10 addresses and 10 chains.
Locate chains an address is active on with a single API call.
Get native and ERC20 token balances with spot prices and metadata.
Get token balances at a specific block height or date.
Get daily portfolio balance broken down by token.
Get transfer-in and transfer-out events with historical prices.
Get paginated current or historical holders of a token.
Get native token balance with current market value.
Fetch a single transaction with decoded log events.
Get earliest/latest transactions and count for a wallet.
Get paginated transactions with decoded logs for an address.
Get all transactions in a block with decoded events.
Get balances for child addresses from an HD wallet xpub key.
Get full transaction history for a Bitcoin wallet.
Get balance for a non-HD Bitcoin address.
Get ERC721 and ERC1155 NFTs held by an address.
Verify NFT ownership within a collection.
Verify ownership of a specific NFT by token ID.
Get historical prices for ERC20 and native tokens.
Get spot prices for a Uniswap V2/V3 pool.
Get token approvals categorized by spender with risk levels.
Get real-time gas estimates for low, medium, and high speeds.
Fetch a single block with timestamp, tx count, and miner info.
Get block heights within a date range.
Get event logs emitted from a contract address.
Get event logs by topic hash across all contracts.
Resolve an ENS, RNS or Unstoppable Domains name to an address.
List every dataset with live analytics, with its metrics and dimensions.
Find a dataset, metric, dimension or ticker before querying it.
Read what a dataset's metrics measure, how they split and what they can't answer.
Get one metric of a dataset as a daily, weekly or monthly series.
Get several metrics of one dataset in a single call.
Split a metric by a dimension such as chain, asset or market.
List the values a dimension holds, ranked, to filter on one of them.
Compare two to ten named datasets on one metric.
Rank every dataset that serves a metric.
Agent Skills give your agent the context it needs for every GoldRush endpoint: parameters, response shapes and credit costs. One command installs all of them.
npx skills add covalenthq/goldrush-agent-skillsREST endpoints for historical blockchain data. Balances, transactions, NFTs, token prices, security checks, cross-chain queries across 100+ networks.
Pay-per-request access without API keys. Agents pay with stablecoins using the HTTP 402 protocol. No accounts, no rate limits, no key management.
Terminal-first blockchain data with native MCP support. 17 commands that work for both humans and AI agents.
opencode.json when you want teammates to share the same MCP setupopencode.json and verify the server entry is enabled. If it still fails, run npx -y @covalenthq/goldrush-mcp-server manually to check for local Node or API key issues.opencode.json that overrides your global config. OpenCode merges configs, so duplicate server names can hide unexpected values.Anthropic's agentic coding tool that lives in your terminal and understands your codebase end-to-end.
OpenAI's cloud-native coding agent that runs tasks in a sandboxed environment with full autonomy.
Google's open-source terminal AI agent powered by Gemini models with built-in MCP support and a file-based skill system.
opencode.json files and the global ~/.config/opencode/opencode.json, so you can share GoldRush setup with a repo or keep it user-specific.