能力标签
blockrun-mcp MCP工具
🔌
MCP工具

blockrun-mcp MCP工具

基于 TypeScript · 让 AI 助手直接操作你的系统与工具
英文名:blockrun-mcp
⭐ 465 Stars 🍴 44 Forks 💻 TypeScript 📄 MIT 🏷 AI 8.0分
8.0AI 综合评分
MCP服务器实时数据AI智能体加密货币社交媒体市场数据
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:blockrun-mcp MCP工具 是一款优质的MCP工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

blockrun-mcp MCP工具 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 blockrun-mcp MCP工具,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。blockrun-mcp MCP工具 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 blockrun-mcp MCP工具 评为 AI 评分 8.0 分,属于同类工具中的优质选择。

📋 工具概览

blockrun-mcp MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 465
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.0 分
工具类型
MCP工具
Forks
44

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

blockrun-mcp MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/BlockRunAI/blockrun-mcp

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "blockrun-mcp-mcp--": {
      "command": "npx",
      "args": ["-y", "blockrun-mcp"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 blockrun-mcp MCP工具 执行以下任务...
Claude: [自动调用 blockrun-mcp MCP工具 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "blockrun-mcp_mcp__": {
      "command": "npx",
      "args": ["-y", "blockrun-mcp"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 74/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

BlockRun MCP

Real-time data — and real trades — for Claude and any AI agent.

<p>Agents can't sign up for accounts. Agents can't enter credit cards.<br> Agents can only sign transactions.<br><br> <strong>BlockRun MCP gives your agent 19 tools — markets, research, web search, images, video, on-chain data, and live Polymarket trading — paid per call.</strong><br><br> <strong>Two ways to pay, same tools:</strong> a self-custody <strong>wallet</strong> (USDC on Solana or Base, no account needed) — or a <strong>BlockRun API key</strong> for teams that can't run wallets. <a href="https://user.blockrun.ai">Sign up at user.blockrun.ai →</a><br><br> <em>Read the odds <strong>and</strong> place the bet, from one self-custody wallet.</em></p>

<br>

<img src="https://img.shields.io/badge/🧰_19_Tools-success?style=for-the-badge" alt="19 tools">&nbsp; <img src="https://img.shields.io/badge/🤖_Agent--Native-black?style=for-the-badge" alt="Agent native">&nbsp; <img src="https://img.shields.io/badge/🔑_Wallet_or_API_Key-blue?style=for-the-badge" alt="Wallet or API key">&nbsp; <img src="https://img.shields.io/badge/📈Read+_Trade_Polymarket-e11d48?style=for-the-badge" alt="Read and trade Polymarket">&nbsp; <img src="https://img.shields.io/badge/💰_x402_USDC-purple?style=for-the-badge" alt="x402 USDC">&nbsp; <img src="https://img.shields.io/badge/🔓_Open_Source-green?style=for-the-badge" alt="Open source">

npm version npm downloads GitHub stars Publish TypeScript Node License: MIT

MCP x402 Protocol Base Network Solana Telegram

</div>

claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest
Wallet auto-created on first run. Fund with $5 USDC — or set BLOCKRUN_API_KEY and skip the wallet entirely. Ask Claude anything.
Context cost: 12.7K tokens, 6% of a 200K context window, charged every turn whether or not you call a tool. 5.2K with --profile trading, 59% less.
Every MCP server costs you this. Almost none of them tell you. How we measure it, and how to measure anyone else →

---

BlockRun MCP is an open-source Model Context Protocol server that gives Claude — and any MCP-compatible agent — 19 tools for real-time data and real actions: 78 LLMs, image & video generation, prediction-market data, live web/X search, on-chain queries across 40 chains, and the ability to place real, USDC-settled bets on Polymarket.

You pay per call, and you choose how. Wallet mode authenticates with a signature and settles each call in USDC via the x402 protocol — no account, no credit card, no subscription, on Solana or Base. Account mode authenticates with a BlockRun API key (brk_live_…) from user.blockrun.ai and bills prepaid credit at exact usage — for teams that can't hand a wallet to an agent. Same 20 tools either way. MIT licensed.

1. Install

Claude Code (recommended)

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

-s user installs globally (available in every project). The -- separator ensures -y is passed to npx, not parsed by claude mcp add.

💡 Homebrew / nvm users: if the server doesn't connect, Claude Code likely can't find node/npx on its launcher PATH. Pass your shell PATH through — works on CLI and desktop:
> claude mcp add blockrun -s user -e PATH="$PATH" -- npx -y @blockrun/mcp@latest
> 
See Troubleshooting if it persists.

Every MCP client — one command or one JSON block. Verified = we ran the published package on that client and saw the tools listed (client version · date). Documented = install path from the client's own docs; not run by us yet — tell us if it works. The Spend dialog column is whether the client renders the human-in-the-loop payment prompt; on ❌ clients paid calls proceed without asking and BLOCKRUN_BUDGET_LIMIT is the guard.

ClientStatusSpend dialogInstall
**Claude Code**✅ Verified · 2.1.251 · 2026-08-30claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest
**Codex CLI**✅ Verified · 0.142.5 · 2026-08-30codex mcp add blockrun -- npx -y @blockrun/mcp@latest
**OpenClaw**✅ Verified · 2026.8.2 · 2026-09-02⚠️ surface-dependent; see belowopenclaw mcp set blockrun '{"command":"npx","args":["-y","@blockrun/mcp@latest"]}'
**Claude Desktop**📝 Documented⚠️ renders; OK reports *cancel* → proceedsclaude_desktop_config.json — JSON below
**Cursor**📝 Documented~/.cursor/mcp.json — JSON below
**VS Code (Copilot)**📝 Documentedcode --add-mcp '{"name":"blockrun","command":"npx","args":["-y","@blockrun/mcp@latest"]}'
**Gemini CLI**📝 Documentedgemini mcp add -s user blockrun npx -y @blockrun/mcp@latest
**Grok**📝 Documented · see the timeout notegrok mcp add blockrun -- npx -y @blockrun/mcp@latest — **raise startup_timeout_sec first**, below
**Windsurf**📝 Documented~/.codeium/windsurf/mcp_config.json — JSON below

Any other MCP client that can spawn a stdio server works the same way: command: npx, args: ["-y", "@blockrun/mcp@latest"]. With nvm/Homebrew Node on a JSON-configured client, put the absolute path from which npx in command. Spend-dialog sources and what "proceeds without asking" means: docs/spend-confirmation.md.

Grok — raise the startup timeout before you install, or the first run looks broken. Grok waits startup_timeout_sec for an MCP server to answer, and it defaults to 30 (xAI's MCP docs). A first npx -y run has to download this package and its dependency tree before the server can say anything, and that is a race: measured cold, with an empty npm cache, it took 17s on a fast connection and 42-46s on a slower shared box. Lose the race and grok mcp doctor blockrun says server timed out (no response within 30s) and the UI shows blockrun [unavailable] — an install that is working, timing out, and indistinguishable from broken.

Give it room in ~/.grok/config.toml (or .grok/config.toml for one project):

[mcp_servers.blockrun]
command = "npx"
args = ["-y", "@blockrun/mcp@latest"]
enabled = true
startup_timeout_sec = 120

Or skip the cold download entirely, which is faster every run after the first:

npm install -g @blockrun/mcp@latest
grok mcp add blockrun -- blockrun-mcp

Only the FIRST run pays this: npx caches by exact spec, so the next start is warm (~9s here). The same trap exists on any client with a startup timeout — if a fresh install shows as unavailable and npx -y @blockrun/mcp@latest runs fine in a terminal, raise the client's timeout or install globally before looking for anything else. Thanks to @0xCheetah1 for the report.

OpenClaw: the published npx package was verified end-to-end on 2026.8.2: all 20 tools were projected (19 since the Surf delisting), free calls worked, and paid x402 calls settled. Add a hard session cap while installing:

openclaw mcp set blockrun '{"command":"npx","args":["-y","@blockrun/mcp@latest"],"env":{"BLOCKRUN_BUDGET_LIMIT":"2"}}'
openclaw mcp doctor blockrun --probe

Spend confirmation depends on the OpenClaw runtime and chat surface. Its Codex harness supports MCP form elicitation, but an unmappable prompt is returned as an explicit decline; in the WebChat → Codex route tested here, BLOCKRUN_CONFIRM_SPEND=on declined paid calls without presenting an actionable dialog. Keep confirmation off on that route and rely on BLOCKRUN_BUDGET_LIMIT plus OpenClaw's own tool-approval mode.

<details> <summary><strong>JSON for Claude Desktop, Cursor, Windsurf</strong></summary>

{
  "mcpServers": {
    "blockrun": { "command": "npx", "args": ["-y", "@blockrun/mcp@latest"] }
  }
}
ClientFile
Claude Desktopclaude_desktop_config.json (Settings → Developer → Edit Config)
Cursor~/.cursor/mcp.json · Windows %APPDATA%\Cursor\mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json · Linux ~/.config/.codeium/windsurf/mcp_config.json · Windows %APPDATA%\Codeium\windsurf\mcp_config.json

Add "env": { "BLOCKRUN_CONFIRM_SPEND": "on" } inside the server object to turn on the spend dialog where the client supports it.

</details>

5. Install the agent skills (optional)

The package ships 16 skills — which tool answers what, worked examples, and a setup / debug / upgrade trio so the agent can install, troubleshoot and update the server on its own.

/plugin marketplace add BlockRunAI/blockrun-mcp            # Claude Code
npx -y @blockrun/mcp@latest skills install                 # any project → ./.claude/skills
npx -y @blockrun/mcp@latest skills install --global        # ~/.claude/skills
npx -y @blockrun/mcp@latest skills install --to ~/.codex/skills

skills list shows what ships; --only a,b picks; --force refreshes copies after an upgrade.

---

Pay on Solana *(default for new installs)*

blockrun_wallet action:"setup"    # shows the Solana address + funding QR

Send USDC (SPL) on the Solana network — from Coinbase (pick "Solana"), Phantom, Solflare, or Backpack.

Quick Start

Key use cases

  1. Prediction-market consensus"Polymarket's odds for the next Fed decision?"blockrun_markets
  2. Signal → trade (the full loop, self-custody)"If 'hold' is under 30%, put $2 on Yes."blockrun_markets reads, blockrun_polymarket action:"buy" places. Gasless, confirm-gated.
  3. Smart-money forensics"This Polymarket whale — who are they, which wallets are theirs, what's their P&L?"blockrun_markets polymarket/wallet/identity/:wallet + .../cluster
  4. Cited research"5 most-cited papers on speculative decoding, last 90 days."blockrun_exa
  5. Image generation with on-image text"Poster announcing GPT-5.5, retro-futuristic, headline 'NOW LIVE'."blockrun_image
  6. Give your agent a voice"Speak this with the sarah voice."blockrun_speech
  7. Voice phone-out"Call +1-415-… and confirm Friday at 3pm."blockrun_phone
  8. Multi-agent research, capped"Spawn 3 agents on competing L1 narratives. Cap each at $0.50."blockrun_wallet delegate × 3
  9. Raw chain reads, 40 chains"Latest Base block, and this contract's USDC balance."blockrun_rpc

---

Demo

User: What's Polymarket saying about the Fed rate decision next month?
Claude: According to Polymarket, the market puts a 73% probability on the Fed holding rates steady, 24% on a 25bp cut, 3% on a hike. 24h volume: $2.1M. The "Hold" contract last traded at $0.73. (via blockrun_markets · cost: $0.0085 on Base — $0.0075 + the $0.001 network fee)

---

User: Polymarket has Hawley at ~13% to announce a 2026 presidential run — put $1 on Yes.
Claude: Done — bought 7.63 shares of Yes at $0.131 ($1.00, market FOK). Real on-chain order, settled in pUSD from your gasless Polymarket deposit wallet; I'm tracking the position now. (signal via blockrun_markets, trade via blockrun_polymarket — one self-custody wallet, gasless · on-chain tx 0x7ca8…)

---

Showcase

Posters generated through blockrun_image with openai/gpt-image-2 — each a single API call routed through BlockRun, paid in USDC on Base.

<p align="center"> <img src="assets/posters/gpt-5-5-launch.png" width="600" alt="gpt-5.5 — now live on BlockRun. Pay per call. No subscription. No keys."> </p>

<img src="assets/posters/cornell-2026-popular-booth.png" width="260" alt="BlockRun at the Cornell Blockchain Conference 2026, packed booth"><img src="assets/posters/cornell-2026.png" width="260" alt="BlockRun at the Cornell Blockchain Conference 2026"><img src="skills/image-prompting/example-100t-poster.jpg" width="260" alt="100 Trillion Tokens served — synthwave milestone poster">
**Cornell Blockchain Conference 2026****Cornell Blockchain Conference 2026****100 Trillion Tokens** milestone

Prompts and a worked example are in skills/image-prompting/SKILL.md.

---

2. Choose a tool profile (optional)

Expose a trimmed tool set so the client loads fewer schemas into context. Pass --profile <name> (or set BLOCKRUN_MCP_PROFILE); omit for the full set.

ProfileTools
full *(default)*everything (19 tools)
mediawallet models image video realface music speech
tradingwallet price dex markets defi rpc polymarket_read polymarket
researchwallet models chat search exa
chatwallet models chat

blockrun_surf was removed in 0.49.0: the gateway has answered every Surf (asksurf.ai) path with 410 since 2026-09-06, so the tool could only ever return an error, and its schema cost every agent context on every turn. Those questions go to blockrun_price, blockrun_defi, blockrun_markets and blockrun_dex; the surf skill maps each former endpoint to its replacement.

```bash claude mcp add blockrun-trading -s user -- npx -y @blockrun/mcp@latest --profile trading

Configuration

<details> <summary><strong>Environment variables & files</strong></summary>

Variable / FileDefaultEffect
BLOCKRUN_API_KEYunsetA BlockRun account key (brk_live_…) from [user.blockrun.ai/dashboard/keys](https://user.blockrun.ai/dashboard/keys). **Set → account billing: no wallet is created, read or used, and no chain applies.** Takes priority over every wallet setting below. A malformed value is a startup error, never a silent fall back to the wallet.
~/.blockrun/.api-keynot createdThe same key on disk, for clients that make env vars awkward. Read only when BLOCKRUN_API_KEY is unset; an empty or unreadable file falls through to wallet mode.
BLOCKRUN_API_BASE_URLhttps://api.blockrun.aiAccount API base, for staging. Accepts the OpenAI-style …/v1 form too.
~/.blockrun/.sessionauto-created on first runEVM private key (0x…). File exists → use Base. Also the Polymarket signer (unless BLOCKRUN_WALLET_KEY or an agent wallet.json takes precedence).
BLOCKRUN_WALLET_KEYunsetEnv override of the EVM key — takes precedence over .session / wallet.json as the Base + Polymarket signer.
~/.blockrun/.chainunsetExplicit chain preference: base or solana. Written only by blockrun_wallet action:"chain" — i.e. only when you choose.
~/.blockrun/.chain-autowritten on first runAutomatic pin: the chain you were already on when your second wallet was provisioned. Keeps a Base user on Base once a Solana session exists, and is outranked by SOLANA_WALLET_KEY. Cleared whenever you set a chain explicitly.
~/.blockrun/.solana-sessionnot createdSolana private key. File exists → Solana unless .chain says base.
SOLANA_WALLET_KEYunsetEnv override of .solana-session. Set → use Solana.
BLOCKRUN_KEYCHAINautoKey storage. auto — mirror the key into the OS keychain (macOS Keychain / Linux secret-tool) and keep the plaintext file, which stays authoritative so other BlockRun tools keep working and so replacing it still rotates your wallet. off — file only. strict — also delete ~/.blockrun/.session once a read-back proves the keychain holds the same key; **this breaks other tools that read that file directly**.
BLOCKRUN_MCP_PROFILEfullTool profile (media / trading / research / chat).
BLOCKRUN_BUDGET_LIMITunset (unlimited)Hard USD cap on spend for this server process (both rails). In-memory; resets on restart. Per-agent caps via blockrun_wallet action:"delegate".
BLOCKRUN_CONFIRM_SPENDoffon — ask before every paid call via MCP elicitation. [Details](#%EF%B8%8F-human-in-the-loop-payments). Fails open on clients without elicitation.
BLOCKRUN_CONFIRM_THRESHOLD0Only ask for calls estimated above this many USD. Malformed values fall back to 0 (ask for everything), never to "off".
POLYMARKET_CLOB_HOSTBlockRun Finland relayGeoblock egress for order placement — **defaulted for you**. Override to go direct (https://clob.polymarket.com) or your own egress.
POLYMARKET_MAX_BET_USD25Hard per-order notional cap.
POLYMARKET_MAX_SESSION_USDunsetOptional cumulative per-process betting cap.
POLYMARKET_SIG_TYPE33 = deposit wallet (POLY_1271, gasless); 0 = plain EOA mode.
POLYMARKET_CLOB_PROXYunsetHTTPS proxy for Polymarket CLOB traffic only.
POLYMARKET_BOUNDED_APPROVALSunset (unlimited)Bound pUSD exchange allowances to this many dollars.
BLOCKRUN_BUILDER_CODEunsetOptional Polymarket builder attribution code carried on orders.

Chain selection priority (src/utils/wallet.ts), highest first: .chain preference → SOLANA_WALLET_KEY.chain-auto pin → non-empty .solana-session → Solana key in the OS keychain → an existing Base wallet keeps Base → otherwise Solana (a fresh install with no wallet at all).

That second-to-last step is the upgrade guard: without it, flipping the default to Solana would move every existing Base-only user onto an empty wallet, and their next paid call would fail on a zero balance with nothing on screen explaining why. None of this applies in account mode — BLOCKRUN_API_KEY has no chain.

The server runs a non-blocking npm registry check at startup and prints an Update available notice to stderr when a newer @blockrun/mcp exists — re-run the install command to upgrade.

</details>

---

Why not just use the APIs directly?

Direct APIsBlockRun
ExaSign up, $20/mo minimum$0.011/call on Base ($0.01 + fee), no subscription
PolymarketUndocumented, rate-limited$0.0085/call on Base ($0.0075 + fee), clean JSON — plus you can **trade**
DefiLlamaFree tier, rate-limited, no SLA$0.006/call on Base ($0.005 + fee), same JSON, one wallet
Multiple sources3 accounts, 3 API keys, 3 billing pages**1 wallet**

One wallet. All sources. No dashboards.

---

How it compares

Raw provider APIsTypical single-vendor MCP**BlockRun MCP**
**Setup**Account + API key *per vendor*Account/key for 1 vendor**Wallet auto-created — or one key for everything**
**Payment**Credit card, monthly minimumsCredit card / vendor plan**USDC per-call via x402, or prepaid credit**
**Data sources**One per integrationOne vendor**19 tools — LLMs, media, markets, chain**
**Place real bets**Build it yourselfRare**Yes — Polymarket CLOB, confirm-gated**
**Pay-chain****Solana + Base (or no chain at all)**
**Agent budgets**Manual**Built-in per-agent delegation**
**Spend approval****Ask-before-pay dialog (MCP elicitation)**
**Generative UI**Rare**Order card + wallet panel (MCP Apps)**
**Open source**VariesVaries**Yes (MIT)**

✓ One wallet · ✓ Pay-per-call · ✓ Reads and trades · ✓ Multi-chain · ✓ Agent-ready · ✓ Open source

---

Troubleshooting

🤖 Hand this to the agent: the blockrun-debug skill carries every row below as symptom → cause → fix, plus the diagnostics it can run itself. blockrun-setup and blockrun-upgrade cover the other two halves. Install: npx -y @blockrun/mcp@latest skills install.

- Insufficient balance / HTTP 402 after retry → Run blockrun_wallet action:"setup", send USDC on Base (or Solana). - blockrun doesn't connect / "MCP server failed" / spawn npx ENOENT → Almost always a PATH issue: Claude Code can't find node/npx on its launcher PATH (common with Homebrew / nvm, on CLI and desktop). Fix by passing your shell PATH at install:

  claude mcp remove blockrun -s user
  claude mcp add blockrun -s user -e PATH="$PATH" -- npx -y @blockrun/mcp@latest
  
Then restart Claude Code. Or pin absolute paths (which npx). - claude mcp list doesn't show blockrun → Check node -v (≥20.19). Clear the npx cache: rm -rf ~/.npm/_npx. Re-run the install. - fetch failed / balance-check timeout → Base RPC transient outage. The tool falls through 3 public RPCs; retry after 30s. Persistent = local proxy / firewall blocking outbound RPC. - Video/Music generation timed out → Upstream queue congestion. No charge (payment-on-completion). Retry, or pick a faster model. - blockrun_price says Equity quotes are not served (gateway 501 …) → Equity price/history were withdrawn on 2026-09-05; not an outage, and nothing was charged (the wallet is never asked to sign). The ticker catalog (action:"list" category:"stocks") is still free. Equity coverage: hello@blockrun.ai. - blockrun_markets on sports/* fails — before 0.49.0 as API error after payment: 502 with no balance change → Predexon's sports/* routes have been down upstream since 2026-08-04; the gateway releases the payment on that upstream 500, so the call is not charged (the error says so when the gateway's "payment NOT charged" confirmation is in the response; otherwise it tells you to check blockrun_wallet action:"report"). For sports odds use path:"markets/search" with params:{ q: "NBA" }, or polymarket/events with params:{ search: "NBA" } — the bare markets route and its league filter were removed upstream on 2026-08-04 and 404 before payment. Upgrade to ≥ 0.49.0 so the error says all of this itself. - No spend-confirmation dialog although BLOCKRUN_CONFIRM_SPEND=on → Your client doesn't support MCP elicitation (Windsurf, Codex, Gemini CLI); the server proceeds without asking by design. Use BLOCKRUN_BUDGET_LIMIT as the guard, or a client from the support table. - Polymarket: neg-risk ("winner") market buy fails, or redeem reverts, though setup shows ready → Re-run action:"setup" confirm:true once (grants the on-chain approvals a pre-upgrade deposit wallet may lack — including the collateral-adapter approvals redeem needs). See the setup guide.

---

FAQ

What is BlockRun MCP? An open-source MCP server that gives Claude and other agents 19 tools for real-time data and real actions (trading, media, on-chain), paid per call — from a self-custody wallet or a BlockRun account key.

Do I need an API key or an account? No. A wallet is auto-created locally on first run; you fund it with USDC and there are no signups, dashboards or keys to rotate.

But you can have one. If your team can't hand a wallet to an agent, sign in at user.blockrun.ai, mint a key at Dashboard → Keys, top up at Dashboard → Credits, and set BLOCKRUN_API_KEY. You then get post-paid billing at exact usage — no $0.001 per-call minimum, no per-call network fee — and a per-call ledger at Dashboard → Activity. Everything works except the parts that genuinely need a keypair: Polymarket trading, wallet balances/top-ups, and the wallet-indexed blockrun_realface action:"list".

Which is cheaper? Account billing, slightly — it charges exact metered usage with no per-call minimum and no $0.001 transaction fee. Wallet mode buys you self-custody and Polymarket trading instead.

How much does it cost? Pay-per-call — fractions of a cent to a few cents. The free tier (blockrun_chat mode:"free", blockrun_dex, crypto blockrun_price, blockrun_models) is $0. $5 of USDC covers thousands of queries.

Is it safe / non-custodial? Yes. Your private key never leaves your machine (~/.blockrun/.session by default, 0600). x402 payments and Polymarket orders are signed locally — BlockRun forwards signed payloads and cannot move your funds.

Which clients work? Any MCP client that can spawn a stdio server. Verified on Claude Code and Codex CLI, in daily use on OpenClaw; install paths documented for Claude Desktop, Cursor, VS Code, Gemini CLI and Windsurf — see the client table. The spend-confirmation dialog additionally needs MCP elicitation (Claude Code, Cursor, VS Code).

Does it have a UI? On MCP-Apps hosts (Claude Desktop, claude.ai, VS Code, Cursor) the Polymarket preview is a live order card and the wallet is a panel — see MCP Apps ↑. Terminal clients get the same information as text.

Can I make the agent ask before it spends? Yes — BLOCKRUN_CONFIRM_SPEND=on. Every paid tool pauses with the estimated charge and nothing is signed until you approve. Human-in-the-loop payments ↑

Can it really place real bets? Yes. blockrun_polymarket places real, USDC-settled orders on Polymarket's CLOB — confirm-gated and capped. Read the odds with blockrun_markets, place with blockrun_polymarket.

Base or Solana? Both. Switch instantly with blockrun_wallet action:"chain". A few media/paid tools settle on Base only (noted above).

---

🇨🇳 中文文档镜像 AI 翻译 2026-06-09
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

BlockRun MCP 是一个实时数据服务,提供市场、研究、X/Twitter、加密货币等信息。无需 API 密钥,按调用付费。

📋 环境依赖

环境依赖与系统要求:Node.js ≥ 18、~$5 USDC(在 Base 或 Solana 上)、一个 MCP 客户端(Claude Code、Claude Desktop、Cursor、Windsurf 或 ChatGPT Desktop)

🛠 安装步骤(Docker/pip/源码)

安装:使用 Claude Code(推荐)或 Claude Desktop,添加到 claude_desktop_config.json 文件中

🚀 使用教程

使用教程:BlockRun MCP 可以回答 Claude(或任何 LLM 代理)的问题,例如价格读取、市场数据、预测市场共识等

⚙️ 配置说明(含 MCP / env)

环境变量:~/.blockrun/.session(自动创建,EVM 私钥)、~/.blockrun/.chain(选填,Base 或 Solana)、~/.blockrun/.solana-session(Solana 私钥)

🔌 API 说明

为什么不直接使用 API?BlockRun、Exa、Polymarket、Surf 等 API 有不同的费用和限制

❓ FAQ 摘要

常见问题:不足余额或 HTTP 402 后重试、智能路由(ClawRouter)不可用于 Solana 等

🎯 aiskill88 AI 点评 A 级 2026-05-21

高质量MCP实现,集成多维实时数据源,为AI智能体赋能强大信息获取能力。TypeScript开发维护良好,465星关注度适中,商业付费模式可持续发展。

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • embedding 模型与查询模型不一致导致检索失效
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
blockrun-mcp 中文教程blockrun-mcp 安装报错怎么办blockrun-mcp MCP 配置blockrun-mcp Agent 工作流blockrun-mcp 与同类工具对比blockrun-mcp 最佳实践blockrun-mcp 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • embedding 模型与查询模型不一致导致检索失效

👥 适合人群

Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师

🎯 使用场景

  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

支持搜索引擎、研究数据库、市场行情、加密资产信息和Twitter/X社交媒体数据。
💡 AI Skill Hub 点评

总体来看,blockrun-mcp MCP工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 blockrun-mcp MCP工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 blockrun-mcp
原始描述 开源MCP工具:Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-。⭐465 · TypeScript
Topics MCP服务器实时数据AI智能体加密货币社交媒体市场数据
GitHub https://github.com/BlockRunAI/blockrun-mcp
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/BlockRunAI/blockrun-mcp

收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →