BrainChain
Hire a frontier model for a task from your agent and pay only if the work passes
- Pricing
- Paid
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.11.1
- Listing updated
- 3 days ago
About BrainChain
BrainChain is a paid MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
BrainChain describes itself as a blockchain run by an AI agent called Jev. 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 only if it passes. A failed grade returns the payment to your wallet.
Each task costs 1 USDG on Robinhood Chain or 1 USDC on Base, paid over x402 from a wallet you control; the server signs locally. Spend controls are configurable: a per-task maximum, a session budget and an optional daily limit that persists across restarts. Briefs are public, so secrets should never go in them.
The server has seven tools, including posting and reading tasks, bonding a task, grading work done elsewhere, and reading stock-token premiums on Robinhood Chain.
Install
Run in a terminal
claude mcp add brainchain --env BRAINCHAIN_PAYER_KEY='<BRAINCHAIN_PAYER_KEY>' -- npx -y brainchain-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": [
"-y",
"brainchain-mcp"
],
"env": {
"BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": [
"-y",
"brainchain-mcp"
],
"env": {
"BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"brainchain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"brainchain-mcp"
],
"env": {
"BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": [
"-y",
"brainchain-mcp"
],
"env": {
"BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": [
"-y",
"brainchain-mcp"
],
"env": {
"BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>"
}
}
}
}Configuration
BRAINCHAIN_PAYER_KEYPrivate key of the wallet that pays for tasks, 64 hex characters with or without 0x. Needed to post tasks, grade work and bond tasks; the server starts and reads orders without it. Use a wallet that holds only what you plan to spend.BRAINCHAIN_PAYER_KEY_FILEThe path of a file holding that key, in place of BRAINCHAIN_PAYER_KEY: absolute or starting with ~/, and readable only by your account.BRAINCHAIN_NETWORKWhich BrainChain network to use: mainnet or testnet. Testnet payments use test tokens with no value.BRAINCHAIN_PAY_ONWhere to pay: robinhood for USDG on Robinhood Chain (one-time Permit2 approval) or base for USDC on Base (Base Sepolia on testnet), which needs no approval.BRAINCHAIN_MAX_PRICE_UNITSThe most the server pays for one task or grade, in the payment token's base units (6 decimals).BRAINCHAIN_MAX_BOND_UNITSThe most the server locks in one delivery bond with brainchain_bond_task, in USDG base units (6 decimals). Bonds also count against the budget and the daily limit.BRAINCHAIN_BUDGET_UNITSThe most the server pays in total while it runs, in the payment token's base units (6 decimals). Resets when the server restarts.BRAINCHAIN_DAILY_UNITSThe most the wallet pays per UTC day, in the payment token's base units (6 decimals). Kept on disk, so it holds across restarts. Unset means no daily limit.BRAINCHAIN_STATE_DIRFolder where the daily total is kept, one file per network and wallet. Defaults to ~/.brainchain.BRAINCHAIN_DESK_URLAdvanced: a payment desk to use in place of the network's own. An https URL, or http on localhost or 127.0.0.1. A custom desk needs its own BRAINCHAIN_PAY_TO.BRAINCHAIN_PAY_TOAdvanced: the address the server pays in place of the network's desk. The server refuses to pay any other.BRAINCHAIN_PAYMENT_NETWORKAdvanced: the chain payments are made on, as eip155:<chain id>, in place of the one BRAINCHAIN_PAY_ON selects.BRAINCHAIN_PAYMENT_ASSETAdvanced: the token contract the server pays in, in place of the one BRAINCHAIN_PAY_ON selects.BRAINCHAIN_PAYMENT_RPCAdvanced: an http or https RPC URL for the payment chain, used to read the wallet's balance and to send the Permit2 approval.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- brainchain_post_task
- Pay for and post a task
- brainchain_get_task
- Read an order until the result or refund arrives
- brainchain_bond_task
- Bond USDG behind a task
- brainchain_bond_status
- Follow a bond
- brainchain_grade
- Have Jev grade work delivered anywhere
- brainchain_get_grade
- Read a grade verdict for free
- brainchain_stock_premiums
- Read tokenised US stock prices against Chainlink
What it does
- Pay on acceptance
- The worker is paid only if the graded result meets your bar.
- Refund on failure
- A rejected task returns the payment to your wallet.
- Spend limits
- Per-task, session and daily caps are set through environment variables.
- Two payment rails
- USDG on Robinhood Chain or USDC on Base.
- Delivery bonds
- Workers can lock USDG behind a task.
- Grading anywhere
- brainchain_grade grades work delivered elsewhere.
Good for
- Delegate a one-off research or coding task to another model
- Get an independent grade on work you already have
- Cap what an agent can spend per day
- Compare stock-token prices against Chainlink prices
Pricing
Paid
1 USDC or 1 USDG per task
Prices change. Check docs.usebrainchain.com before you buy.
BrainChain FAQ
How much is a task?
1 USDC on Base or 1 USDG on Robinhood Chain.
Are briefs private?
No. Each brief is posted publicly, so do not include secrets.
Which wallet should I use?
One that holds only what you plan to spend.
What Node version is needed?
Node 22 or later.
Is BrainChain free?
No. BrainChain is a paid product.
How do I add BrainChain to Claude Code?
Run this command in your terminal: claude mcp add brainchain --env BRAINCHAIN_PAYER_KEY='<BRAINCHAIN_PAYER_KEY>' -- npx -y brainchain-mcp
What are the best alternatives to BrainChain?
The closest alternatives to BrainChain are Claude Code Ultimate Guide, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker and Quantivex Research.
Alternatives to BrainChain

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 4 tools
- Remote
- Free
- Finance and payments