Agents/Cline
Cline logo

Cline + GoldRush

by Cline
IDE
Extension
Cline is an open-source autonomous coding agent that operates as a VS Code extension. It can create files, run terminal commands, and even use a browser. With GoldRush MCP Server support, Cline can autonomously build blockchain applications, test API integrations, and iterate on Web3 features.

Quick Start

1
Install Cline ExtensionInstall the Cline extension from the VS Code marketplace.
2
Install GoldRush CLIQuery onchain data directly from your terminal, useful for testing queries before using them in Cline.
npm install -g @covalenthq/goldrush-cli
3
Add GoldRush MCP ServerOpen Cline's MCP settings and add the GoldRush server.
{
  "mcpServers": {
    "goldrush": {
      "command": "npx",
      "args": ["-y", "@covalenthq/goldrush-mcp-server"],
      "env": { "GOLDRUSH_API_KEY": "YOUR_API_KEY" }
    }
  }
}
4
Open Cline panelClick the Cline icon in the VS Code sidebar to open the agent panel.
5
Start building with onchain dataAsk: "Set up a GoldRush integration and fetch token balances for vitalik.eth"

Example Prompts

Install the GoldRush SDK and set up a client
Build a wallet balance checker using GoldRush
Create an API endpoint that returns transaction history
Add NFT display functionality using GoldRush data
Build and test a multi-chain portfolio tracker
Create a script that monitors large token transfers
Set up a GoldRush-powered DEX analytics dashboard
Run the GoldRush example code and show me the output

Available MCP Tools (27)

Cross-Chain

multichain_balancesFetch spot and historical balances for an address on up to 10 EVM chains.
multichain_transactionsFetch paginated transactions for up to 10 addresses and 10 chains.
multichain_address_activityLocate chains an address is active on with a single API call.

Balances

token_balancesGet native and ERC20 token balances with spot prices and metadata.
historical_token_balancesGet token balances at a specific block height or date.
historical_portfolio_valueGet daily portfolio balance broken down by token.
erc20_token_transfersGet transfer-in and transfer-out events with historical prices.
token_holdersGet paginated current or historical holders of a token.
native_token_balanceGet native token balance with current market value.

Transactions

transactionFetch a single transaction with decoded log events.
transaction_summaryGet earliest/latest transactions and count for a wallet.
transactions_for_addressGet paginated transactions with decoded logs for an address.
transactions_for_blockGet all transactions in a block with decoded events.

Bitcoin

bitcoin_hd_wallet_balancesGet balances for child addresses from an HD wallet xpub key.
bitcoin_transactionsGet full transaction history for a Bitcoin wallet.
bitcoin_non_hd_wallet_balancesGet balance for a non-HD Bitcoin address.

NFTs

nft_for_addressGet ERC721 and ERC1155 NFTs held by an address.
nft_check_ownershipVerify NFT ownership within a collection.
nft_check_ownership_token_idVerify ownership of a specific NFT by token ID.

Pricing

historical_token_pricesGet historical prices for ERC20 and native tokens.
pool_spot_pricesGet spot prices for a Uniswap V2/V3 pool.

Security

token_approvalsGet token approvals categorized by spender with risk levels.

Utility

gas_pricesGet real-time gas estimates for low, medium, and high speeds.
blockFetch a single block with timestamp, tx count, and miner info.
block_heightsGet block heights within a date range.
log_events_by_addressGet event logs emitted from a contract address.
log_events_by_topicGet event logs by topic hash across all contracts.

GoldRush Agent Skills

GoldRush Agent Skills give AI agents structured context for every endpoint, parameter, and credit cost. View all skills on GitHub →
Install GoldRush Skills
npx skills add covalenthq/goldrush-agent-skills
Available skills
Foundational APIREST endpoints for historical blockchain data. Balances, transactions, NFTs, token prices, security checks, cross-chain queries across 100+ networks.
Streaming APIReal-time GraphQL subscriptions. OHLCV candles, new DEX pairs, wallet activity monitoring, token search, and PnL queries via WebSocket.
x402Pay-per-request access without API keys. Agents pay with stablecoins using the HTTP 402 protocol. No accounts, no rate limits, no key management.
CLITerminal-first blockchain data with native MCP support. 17 commands that work for both humans and AI agents.

Common Workflows

Full-Stack Web3 App

1Ask Cline to scaffold a Next.js app with GoldRush integration
2It creates project structure, installs dependencies, and configures SDK
3Cline builds API routes and React components for blockchain data
4It runs the dev server and tests the integration in the browser

Test-Driven Blockchain Development

1Ask Cline to write tests for GoldRush API integration
2It creates test files with proper mocking of API responses
3Cline runs the tests and iterates until they pass

Autonomous Data Pipeline

1Describe a data pipeline that processes onchain events
2Cline builds the pipeline with GoldRush API integration
3It executes the pipeline in the terminal and shows results
4Cline iterates on failures autonomously

End-to-End Feature Development

1Ask Cline to add wallet analytics to your existing app
2It analyzes your codebase, adds GoldRush SDK, creates components
3Cline runs the app and uses browser automation to verify the feature

Tips for Success

Cline has built-in MCP support. Just add the server config in the Cline MCP settings
Let Cline run terminal commands to install dependencies and test code
Cline can use the browser to visually verify your blockchain UI
Approve tool calls carefully. Cline has full file system and terminal access

Cline FAQ

Cline is open-source and free. You bring your own API key for the underlying LLM (Claude, GPT, etc.) and the GoldRush API key for onchain data.

Troubleshooting

MCP Server not showing in ClineOpen Cline settings (gear icon in the Cline panel) and navigate to MCP Servers. Add the GoldRush configuration there, not in VS Code's general settings.
Cline not finding GoldRush toolsRestart VS Code after adding the MCP server. Check the Cline output channel for connection errors. Ensure npx is in your PATH.
Permission errors when running commandsCline requires approval for file writes and terminal commands. Click 'Allow' when prompted, or enable auto-approval for trusted commands in Cline settings.

Get Started

Get started with GoldRush API in minutes. Sign up for a free API key and start building.

Support

Explore multiple support options! From FAQs for self-help to real-time interactions on Discord.

Contact Sales

Interested in our professional or enterprise plans? Contact our sales team to learn more.