Blockrun MCP logo

Blockrun MCP

by blockrunai

Pay per call for AI, market, media, search, blockchain, and Polymarket tools using USDC or BlockRun account credit.

Install Blockrun MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "blockrunai-blockrun-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@blockrun/mcp@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

blockrunai/blockrun-mcp connects MCP-compatible agents to BlockRun’s AI models, media generation, web and market data, blockchain RPC, and Polymarket tools. It supports wallet mode, where calls settle in USDC through x402 on Solana or Base, and account mode, where a BlockRun API key uses prepaid credit. The server includes controls for budgets, delegated agent spending, and payment-wallet management. Reach for it when an agent needs several paid data or generation services through one MCP connection, especially when it also needs prediction-market actions.

Use cases

  • Call specialized AI models without managing separate provider keys
  • Search current web, news, market, and blockchain data
  • Generate images, audio, music, and short videos
  • Inspect and trade Polymarket positions with confirmation
  • Delegate and cap spending across child agents

Key features

  • Wallet or BlockRun API-key payment modes
  • USDC x402 settlement on Solana or Base
  • Budget controls and per-agent spending delegation
  • AI, media, search, market, and blockchain tools
  • Polymarket read, preview, and confirmed trading actions
  • Remote sandbox execution with optional GPUs

Tools19

What Blockrun MCP lets your agent do. Expand a tool for its parameters.

Verified live~12.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

26/26 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @blockrun/mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars389Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Tools exposed19Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Blockrun MCP works

What blockrunai/blockrun-mcp does

blockrunai/blockrun-mcp exposes a broad set of paid and free BlockRun capabilities through MCP. Its tools cover AI model calls, image, music, speech, and video generation, real-time web and neural search, market and price data, DeFi information, DEX data, phone services, remote code execution, raw blockchain JSON-RPC, and Polymarket data and trading.

The server is also a payment layer for these tools. Wallet mode uses USDC and x402 payments, while account mode uses a BlockRun API key backed by credit managed through the BlockRun dashboard. Polymarket trading is separate from ordinary BlockRun tool charges: it uses a wallet on Polygon and requires explicit confirmation for actions that place orders or move funds.

How it works

Install the package as a local stdio MCP server. The wallet is created automatically on first run in wallet mode. Agents can inspect balances, choose the active payment chain, obtain funding instructions, and set spending limits through blockrun_wallet.

Most paid calls are settled as they are made. Free capabilities include selected chat models, model discovery, DEX data, and crypto price data. The available model catalog and prices can be queried with blockrun_models; individual chat requests use blockrun_chat.

The server supports delegated budgets for multi-agent workflows. An operator can allocate a limit to an agent identifier, pass that identifier to subsequent calls, and inspect per-agent spending with the wallet reporting action.

Setup and configuration

A basic Claude Code installation uses:

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

Node.js 20.19 or newer is supported by the package. Wallet mode needs no API key. For account mode, configure BLOCKRUN_API_KEY and use BlockRun account credit instead of a wallet or blockchain payment. The server can also be started with an overall budget ceiling through BLOCKRUN_BUDGET_LIMIT.

Wallet credentials are kept locally. The server supports an optional keychain setting through BLOCKRUN_KEYCHAIN, and BLOCKRUN_CONFIRM_SPEND=on can require approval before paid calls above the configured threshold. Polymarket order size can be constrained with POLYMARKET_MAX_BET_USD.

Tools and capabilities

  • Call categorized AI models, including free and task-oriented model modes.
  • Generate or edit images, music, speech, sound effects, and short videos.
  • Search the live web, news, and Exa’s neural index with citations or retrieved contents.
  • Query crypto, foreign-exchange, commodity, DEX, prediction-market, and DeFi data.
  • Run code in disposable BlockRun-hosted sandboxes with optional supported GPUs.
  • Send phone-related requests, provision US and Canadian numbers, and make AI voice calls.
  • Query more than 40 blockchain networks through JSON-RPC.
  • Read Polymarket positions and orders, preview trades, and place confirmed buys or sells.

Limitations and notes

Paid operations consume wallet funds or account credit. Search, media, sandbox, RPC, phone, and market tools have different pricing and request constraints, so agents should inspect the relevant tool contract and set budgets before expensive work. Video and music requests are asynchronous and may take minutes; returned media URLs are hosted by BlockRun.

Some capabilities are chain-specific. DefiLlama access and Modal use Base, while native Anthropic chat models use Base. Polymarket trading involves real funds and jurisdictional restrictions. The remote sandbox charges for the requested lifetime, not merely the time actually used, and ending it early does not refund that charge.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Blockrun MCP

blockrunai/blockrun-mcp is an MCP server that connects AI agents to BlockRun’s AI models, media generation, web and market search, blockchain RPC, and Polymarket tools. Its main tools include blockrun_chat, blockrun_search, blockrun_image, blockrun_video, blockrun_markets, blockrun_rpc, and blockrun_polymarket, with wallet or account-based payment.

Install it as a Claude Code MCP server with `claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest`. The package runs through npx and supports Node.js 20.19 or newer. Wallet mode creates a wallet on first run, while account mode uses a BlockRun API key.

Yes, blockrunai/blockrun-mcp works with Cursor because it is an MCP-compatible stdio server. Add the package as an MCP server in Cursor’s configuration, then choose wallet mode or configure a BlockRun API key for account credit.

It supports wallet payments in USDC through x402 and account payments through a BlockRun API key. Wallet mode uses Solana or Base and does not require an API key; account mode routes calls through BlockRun account credit funded through the dashboard.

Yes, it can place confirmed Polymarket buys and sells through `blockrun_polymarket`. Use `blockrun_markets` to discover markets and token IDs, and use the preview actions before submitting an order. Trading uses real funds and requires explicit confirmation for order placement.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBlockrun MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/blockrunai-blockrun-mcp?style=directory)](https://allmcps.com/mcp/blockrunai-blockrun-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/blockrunai-blockrun-mcp"><img src="https://allmcps.com/api/badge/blockrunai-blockrun-mcp?style=directory" alt="Blockrun MCP on AllMCPs" /></a>