Skip to content
Skillpedia
βœ“ Official Β· BlockRun● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyFinance

BlockRun MCP

Lets your AI agent pull live web search, research, prediction-market and crypto data, and place Polymarket trades, paying per call.

389 stars on GitHubby BlockRunLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add blockrun -- npx -y @blockrun/mcp

What to fill in

NameWhat it isRequired
BLOCKRUN_WALLET_KEYOptional: EVM private key (0x-prefixed hex) for USDC payments on Base; also the Polymarket signer. If not set, a wallet is auto-generated.No
SOLANA_WALLET_KEYOptional: Solana private key (bs58) for USDC payments on Solana. Setting it selects the Solana chain. If not set, a wallet is auto-generated.No
BLOCKRUN_API_KEYOptional: BlockRun account API key; bills your prepaid balance instead of a wallet (no per-call network fee). Takes priority over a wallet when set.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

What is the current Polymarket probability that Bitcoin hits 100k this year?
Find the top 5 papers on RAG from the last 30 days.

What it is

BlockRun MCP gives your agent 19 tools for markets, research, web search, images, video and on-chain data. You pay per call, either from a self-custody USDC wallet using the x402 protocol, or with a BlockRun API key and account credit. It can also place real trades on Polymarket from your wallet.

What it can do

  • blockrun_chat: chat with LLMs, with a free mode
  • blockrun_dex: DEX data, in the free tier
  • blockrun_price: crypto prices, free for crypto
  • blockrun_models: list models
  • blockrun_polymarket: read odds and place confirm-gated trades
  • Live web and news search
  • Image and video generation
  • On-chain queries across 40 chains

When to use

  • β€ΊWhen you want live odds or prices that your agent cannot know by itself.
  • β€ΊWhen you want to search the web and X/Twitter from your agent and pay only per call.
  • β€ΊWhen you want your agent to place a Polymarket bet after you confirm it.

What you need

Node.js. Run with npx -y @blockrun/mcp@latest. A wallet is created on first run and needs USDC to pay for calls, or you use a BlockRun API key and credit from user.blockrun.ai.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

Open source under the MIT license. Some tools are free, such as free chat mode and crypto prices. Other calls cost fractions of a cent each.

How do I pay?

Either USDC in a wallet on Solana, Base or Arc, or a BlockRun API key with card or wire-funded credit.

Can it spend my money by itself?

You can set BLOCKRUN_CONFIRM_SPEND=on so the agent asks before any paid call above your threshold. A budget limit is also available.

Is my wallet key safe?

The readme says the key stays on your machine at ~/.blockrun/.session and BlockRun cannot move your funds.

Can I trade with an API key?

No. Trading on Polymarket needs a wallet keypair to sign.

Which clients work?

Claude Code, Codex CLI, OpenClaw, Claude Desktop, Cursor, VS Code, Gemini CLI, Grok and Windsurf.

If it does not work

  • β€ΊIf the server does not connect with nvm or Homebrew Node, pass your PATH with -e PATH=$PATH or use the full path from which npx.
  • β€ΊFor Grok, raise startup_timeout_sec above the default 30 seconds, because the first npx run downloads packages.
  • β€ΊFund the wallet with USDC, or set BLOCKRUN_API_KEY, if paid calls fail.

5 new skills a week. 1 minute to read.