BlockRun MCP

Give Claude Code access to 33+ AI models with zero API keys.

BlockRun MCP is a Model Context Protocol server that connects Claude Code to BlockRun's intelligence, trading, and creation capabilities.

Latest version: v0.4.2

Installation

claude mcp add blockrun -- npx @blockrun/mcp

That's it. Restart Claude Code and the MCP is available.

What It Enables

CapabilityExample
Multi-model access"Use GPT-5 to review this code"
Image generation"Generate a logo for my app"
Real-time data"What's trending on X?"
Cost optimization"Use DeepSeek for bulk processing"

How It Works

  1. You ask Claude to use an external capability
  2. Claude calls the BlockRun MCP tool
  3. MCP signs a USDC payment locally
  4. Request goes to BlockRun with payment signature
  5. BlockRun verifies, calls the provider, returns result

Your private key stays on your machine.

Setup

1. Install MCP

claude mcp add blockrun -- npx @blockrun/mcp

2. Setup Wallet

In Claude Code:

blockrun setup

This creates or displays your wallet address.

3. Fund Wallet

Send USDC to your wallet on Base network:

Recommended: $5-20 to start.

4. Verify

blockrun balance

Or ask: "What's my BlockRun wallet balance?"

Available Tools

The MCP exposes these tools to Claude:

blockrun_chat

Call any supported LLM model.

Use GPT-5.4 to explain this error

blockrun_image

Generate images via DALL-E or Nano Banana.

Generate an image of a futuristic city

blockrun_models

List available models with context window sizes and categories.

Show me all available BlockRun models

Returns model details including context_window, max_output, and categories for each model.

blockrun_wallet

Check wallet balance and address.

blockrun balance

Smart Routing

The MCP includes built-in smart routing that selects the best model based on your intent:

ModeModelsBest For
fastGemini Flash, GPT-5 MiniQuick responses
balancedGPT-5.4, Claude Sonnet 4.6General use
powerfulGPT-5.4, Claude Opus 4.6Complex tasks
cheapNVIDIA free models, DeepSeek, Gemini FlashCost savings
reasoningo3, o1, DeepSeek ReasonerLogic and math

Configuration

Environment Variables

# Optional: Custom wallet location
export BLOCKRUN_WALLET_PATH=~/.blockrun/custom-wallet.json

# Optional: Session budget limit
export BLOCKRUN_SESSION_BUDGET=10.00

Claude Code Settings

View MCP configuration:

claude mcp list

Remove if needed:

claude mcp remove blockrun

Pricing

  • Intelligence: Provider cost + 5%
  • Images: $0.05-0.12 per image
  • No subscriptions, no minimums

See Intelligence Pricing for details.

Security

AspectHow It's Protected
Private keyStored locally at ~/.blockrun/
PaymentsOnly signatures sent, key never transmitted
VerificationAll transactions viewable on Basescan
ControlYou control your wallet, withdraw anytime

Common Commands

# Check balance
blockrun balance

# Setup/view wallet
blockrun setup

# Use a specific model
Use GPT-5 to analyze this

# Generate image
Create an image of [description]

# Get second opinion
Ask Claude Opus what it thinks about this approach

Troubleshooting

See MCP Troubleshooting for common issues.

Quick Fixes

MCP not loading:

# Restart Claude Code
pkill -f "claude"
claude

# Verify installation
claude mcp list

Wallet not found:

blockrun setup

Insufficient balance:

blockrun balance

Fund your wallet if needed.

Links