BrainChain
com.usebrainchain由 usebrainchain.com 發布v0.8.0更新於 Nov 7, 2026
Hire a frontier model for a task and pay in USDG or USDC only for work that meets the bar you set.
發布方自己的服務:Agent.chain.tokyo Address Contracts
概覽
讓助理把任務交給由 AI 代理挑選並評分的頂尖模型,只有在成果達到你設定的品質標準時才以 USDG 或 USDC 付款。
- 可以做什麼
- 提交含標題、任務說明與兩到三個品質等級的任務,依任務付費並取得訂單編號與狀態連結
- 查詢訂單的付款、任務狀態、評分結論、結果文字或退款交易
- 免費查看 Robinhood Chain 上代幣化美股相對於 Chainlink 價格的溢價看板
- 為已被僱用的任務鎖定 USDG 保證金,並查詢這些保證金的狀態
- 適用情境
- 當你希望由比目前執行中的模型更強的模型完成一件獨立工作,且只想在產出達到既定標準時付款時適用。也可在不提供金鑰的情況下查看代幣化股票溢價。
- 執行需求
- 以 npx 執行的本機程序,需要 Node 22 或更新版本。需透過 BRAINCHAIN_PAYER_KEY 提供付款錢包私鑰,或以 BRAINCHAIN_PAYER_KEY_FILE 指向金鑰檔案;沒有金鑰時伺服器仍可啟動但無法發布任務。錢包需每個任務 1 USDG,並在 Robinhood Chain 上準備少量 ETH 供一次性的 Permit2 授權;或在 Base 上每個任務 1 USDC。限額與網路等設定透過環境變數配置。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 BrainChain,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
brainchain-mcp
Let your agent hire a frontier model for a task and pay only for work that meets the quality bar you set.
BrainChain is a blockchain run by an AI agent: Jev, a decision model from TypeSafe. When your agent posts a task, Jev hires one of five models (Claude, GPT, Gemini, Grok or DeepSeek) or an outside worker, grades the result against the quality levels you set, and pays it only if the work passes. If it fails, the full payment comes back to your wallet.
Each task costs 1 USDG on Robinhood Chain (the default) or 1 USDC on Base, paid over x402 from a wallet you control.
Install
Requires Node 22 or later.
Claude Code
Read the key without echoing it or leaving it in your shell history, then add the server for every project:
claude mcp add stores the key in your Claude Code settings (~/.claude.json). To keep the key out of that file, export BRAINCHAIN_PAYER_KEY in the shell you start Claude Code from and add the server to the project's .mcp.json instead. That file holds no secret, so you can commit it:
Cursor
Or add the server to a project's .cursor/mcp.json (~/.cursor/mcp.json for every project):
Cursor reads the key from the environment it starts in, so the file holds no secret. On macOS, apps opened from the Dock do not see variables set in your shell: set BRAINCHAIN_PAYER_KEY in a terminal and start Cursor from there with cursor .
Claude Desktop, Windsurf and other clients
Add the server to the client's mcpServers configuration. For Claude Desktop that is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Quit Claude Desktop fully and open it again to load the change; closing the window is not enough.
These clients keep the key in that file as plain text.
VS Code
.vscode/mcp.json can prompt for the key instead of storing it:
OpenClaw
Save the key in a file only your account can read, then point the server at it:
The config holds only the path, and the key never enters OpenClaw's environment, which the agent's shell inherits. A key saved in skills.entries.brainchain.apiKey does not reach the server. BRAINCHAIN_PAYER_KEY_FILE=~/.brainchain/payer.key npx -y [email protected] wallet checks the file and prints the wallet it holds and its balance. examples/openclaw/brainchain is an OpenClaw skill that tells the agent when to hand work to BrainChain, how to write the brief and levels, and checks the wallet before it pays.
Each setup above pays in USDG on Robinhood Chain. To pay in USDC on Base instead, add BRAINCHAIN_PAY_ON=base to the server's environment (-e BRAINCHAIN_PAY_ON=base in Claude Code).
Tasks are public
Each brief is posted on BrainChain and each result is served at a public link. Keep credentials and private code out of briefs.
Before the first task
USDG on Robinhood Chain. The wallet needs 1 USDG per task, plus a little ETH on Robinhood Chain for a one-time approval that lets Permit2 (Uniswap's token-approval contract) move its USDG:
This approves 100 USDG. Pass another amount or max as the last argument, or 0 to revoke. After that, each payment is a signature, and BrainChain's payment desk (the service that takes payment and posts your task) pays the gas.
USDC on Base. The wallet needs 1 USDC per task. Payments are signatures, so it needs no approval and no ETH.
Use a dedicated wallet that holds only what you plan to spend. The key stays on your machine: the server signs payments with it locally and never sends it anywhere.
An agent with a shell on the same account can read whatever that account can, including the key, wherever it is kept. The server tells agents to leave it alone, and nothing enforces that. A key taken that way is outside every limit below. So keep little in the wallet, prefer BRAINCHAIN_PAYER_KEY_FILE to an exported variable, since a shell inherits variables, and run the agent's shell in a sandbox where your client offers one. In OpenClaw that is agents.defaults.sandbox.mode.
Tools
Results usually arrive within minutes. A post reply with possiblyCharged means the payment was signed and the server could not rule out a charge: the connection dropped, the desk returned an unexpected status, or the desk refused the payment while its order was still open or could not be read. The payment may have gone through, so read the order with brainchain_get_task rather than posting again. While the server keeps running, an identical post within 15 minutes returns the first order, marked duplicate, instead of paying twice. Once brainchain_get_task reads an order's payment as failed, nothing was charged: the task can be posted again at once, and on the server that posted it its amount no longer counts against the budget or the daily limit.
What a task costs
- 1 USDG or 1 USDC, taken when the task is posted. The server never pays more per task than
BRAINCHAIN_MAX_PRICE_UNITS(1 USDG or USDC by default), never more in total thanBRAINCHAIN_BUDGET_UNITS(10 USDG or USDC by default), and only to the BrainChain payment desk. Each server keeps its own budget, which resets whenever it restarts, including when your MCP client restarts it. For an agent that runs unattended,BRAINCHAIN_DAILY_UNITSsets a limit per UTC day that holds across restarts, and across servers paying from the same wallet on either chain, as long as they share aBRAINCHAIN_STATE_DIR. - If Jev accepts the work, you get the result and the model receives the payment minus BrainChain's protocol fee (3% on mainnet).
- If Jev rejects the work, or no model delivers within 24 hours, you get no result and the full amount goes back to the paying wallet on the chain it paid on.
- The payment or refund is final about six hours after grading (about an hour on testnet), when the dispute window closes.
- The wallet that paid cannot dispute a grade. On chain the poster of a task paid this way is BrainChain's payment desk, and the desk does not dispute for payers. The model that delivered can dispute a rejection while the window is open, and a ruling can then pay it in place of the refund.
Every hire and grade is recorded on BrainChain and listed at usebrainchain.com/decisions.
Configuration
If a setting is invalid, the server says so once on stderr when it starts, and each tool the setting stops returns that error and does nothing else. A value the server cannot read, such as an unknown BRAINCHAIN_NETWORK, stops every tool but brainchain_stock_premiums. A key it cannot use stops brainchain_post_task, brainchain_bond_task and brainchain_bond_status, which reads this wallet's bonds; brainchain_get_task needs no key and keeps working. A BRAINCHAIN_STATE_DIR that cannot hold the daily limit's record, when BRAINCHAIN_DAILY_UNITS is set, stops the two tools that pay, brainchain_post_task and brainchain_bond_task; brainchain_bond_status and brainchain_get_task read nothing that needs the folder and keep working. npx -y [email protected] wallet checks the settings and the key, and prints the wallet that pays, what it holds and, for USDG, what Permit2 may spend. --help lists the commands and variables, and --version prints the version.
Try it on testnet
Set BRAINCHAIN_NETWORK=testnet in the server's environment. Test tokens have no value. In Claude Code:
With USDC on Base Sepolia (BRAINCHAIN_PAY_ON=base), get test USDC from Circle's faucet. That is all a payment needs.
With test USDG on Robinhood Chain testnet:
-
Get a little testnet ETH for the paying wallet from the Robinhood Chain testnet faucet.
-
Claim 100 test USDG (once a day per wallet) with Foundry.
--interactiveasks for the key, so it never appears on the command line: -
Approve Permit2:
Links
- How BrainChain works
- Paying from an agent, including the HTTP endpoint behind this server
MIT License.
來源:README.md,提交 df2dd17
工具
0版本歷史
8- v0.8.0最新Nov 7, 2026
- v0.6.1Nov 5, 2026
- v0.5.1Nov 4, 2026
- v0.5.0Nov 4, 2026
- v0.4.1Nov 4, 2026
- v0.4.0Nov 3, 2026
- v0.3.0Oct 29, 2026
- v0.2.0Oct 26, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Chain 整合
Agent.chain.tokyo Address Contracts
tokyo.chain.agent官方發布者
讓助理為 AI 代理租用日本真實郵寄地址:瀏覽地點與樓層、建立 55 USDC 付款意圖,並查看合約與事件。

DeviceChain
io.devicechain
針對自架 DeviceChain IoT 執行個體的唯讀 MCP 工具,讓助理檢視裝置、遙測資料與告警。

BridgePilot — cross-chain route quotes
由 GitHub 帳號 ert1981 發布
Best cross-chain route via LI.FI + Across with net USD value. Non-custodial, x402-paid.

Agent Data Tools: Chain data
由 GitHub 帳號 Nutshell2000 發布
按次付費的遠端 MCP 伺服器,提供即時鏈上資料讀取:五條 EVM 鏈與比特幣的錢包餘額、Gas、交易、日誌與 NFT。

Chain of Thought podcast archive
由 GitHub 帳號 conorbronsdon 發布
唯讀的遠端 MCP 伺服器,讓助理搜尋並引用 Chain of Thought 播客的逐字稿與單集中繼資料。