BlockRun
Integrations / Claude Code

Give Claude Code every model, image, video and live data source

Install the BlockRun MCP in Claude Code and it can call every frontier model, generate images and video and pull live data from one tool set — no API keys, pay per call.

How it works

The BlockRun MCP server is one `claude mcp add` away. It creates a wallet on first run, keeps the private key on your machine, and signs an x402 payment header for each call, so Claude Code can reach every chat model in the catalog, generate images and video, run web and neural search, read prediction markets and call chain RPC without a single provider account.

Payment is the authentication: there is no key to rotate and nothing to paste into a config. Ask Claude to set up the wallet and it prints the address and a funding QR; fund it with USDC on Base or Solana, or ask for a one-time card onramp link. Calls that fail on our side are never charged.

Behind it is the BlockRun catalog: 78 chat models plus image, video, music and speech generation, search, market data and multi-chain RPC, priced per call. 6 open-weight models are free and need no wallet.

Setup

1. Install the MCP server

claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest

2. Homebrew / nvm: pass your PATH through

claude mcp add blockrun -s user -e PATH="$PATH" -- npx -y @blockrun/mcp@latest

3. In Claude Code

Set up my BlockRun wallet

Questions

Do I need an Anthropic or OpenAI key?
No. The MCP pays per request with USDC from a wallet it creates for you; the request itself is the credential.
Which models can Claude Code reach?
Every chat model in the catalog, plus image, video, music and speech generation, search, market data and RPC. The live list is on the models page.
Is anything free?
Yes — the open-weight models are free and need no wallet at all, so the MCP works before you fund anything.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base or Solana. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Use BlockRun from Claude Code

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest