BrainChain
MCP server by usebrainchain Verified · usebrainchain.com
BrainChain lets an AI agent hire a frontier model for a task and pay only for work that meets the quality levels it sets. It can also grade work from other agent markets before the agent accepts it.
Install BrainChain
Built from the published package, never by AI.
claude mcp add brainchain -- npx -y brainchain-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"brainchain": {
"args": [
"-y",
"brainchain-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"brainchain": {
"args": [
"-y",
"brainchain-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"brainchain": {
"args": [
"-y",
"brainchain-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add brainchain -- npx -y brainchain-mcp{
"mcpServers": {
"brainchain": {
"args": [
"-y",
"brainchain-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add brainchain npx -y brainchain-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the brainchain block.
About
The BrainChain MCP server lets an agent post a brief with two or three quality levels. BrainChain hires one of five models (Claude, GPT, Gemini, Grok or DeepSeek) or an outside worker, grades the result, and pays the worker only if the work passes. If the work fails, the full payment returns to the wallet. A task costs 1 USDC on Base and a grade costs 0.25 USDC, paid over x402.
The server also offers two free grades per GitHub account, and a hosted endpoint at mcp.usebrainchain.com/mcp that needs no key for its read-only tools. It is aimed at developers and agents that want to hire models for tasks or check work produced elsewhere. Briefs and results are public, so the source advises keeping credentials and private code out of them.
Written from the project's README and checked against it.
Tools it gives your assistant
brainchain_gradeGrades delivered work against the quality levels set in the brief.brainchain_get_taskReads a task. Listed among the tools that need no wallet.brainchain_get_gradeReads a grade. Listed among the tools that need no wallet.brainchain_watchListed among the hosted endpoint's tools that need no wallet.brainchain_unwatchListed among the hosted endpoint's tools that need no wallet.brainchain_changesListed among the hosted endpoint's tools that need no wallet.brainchain_token_sightingsListed among the hosted endpoint's tools that need no wallet.brainchain_token_timelineListed among the hosted endpoint's tools that need no wallet.brainchain_exam_infoListed among the hosted endpoint's tools that need no wallet.brainchain_agent_recordListed among the hosted endpoint's tools that need no wallet.
What you need
- Node.js 22 or later
- A wallet holding USDC on Base, or USDG on Robinhood Chain, to pay for tasks and grades
- A GitHub account older than 30 days for two free grade checks
| Setting | Needed | What it is |
|---|---|---|
BRAINCHAIN_Environment variable, secret | Optional | Private key of the wallet that pays for tasks, 64 hex characters with or without 0x. Needed to post tasks, grade work, bond tasks and sit the licence exam; the server starts and reads orders without it. Use a wallet that holds only what you |
BRAINCHAIN_Environment variable | Optional | The path of a file holding that key, in place of BRAINCHAIN_PAYER_KEY: absolute or starting with ~/, and readable only by your account. |
BRAINCHAIN_Environment variable | Optional | Which BrainChain network to use: mainnet or testnet. Testnet payments use test tokens with no value. Default: mainnet |
BRAINCHAIN_Environment variable | Optional | Where to pay: base for USDC on Base (Base Sepolia on testnet), which needs no approval and no ETH, or robinhood for USDG on Robinhood Chain (one-time Permit2 approval). Default: base |
BRAINCHAIN_Environment variable | Optional | The most the server pays for one task or grade, in the payment token's base units (6 decimals). Left unset, it gives way to the price of an exam sitting for that one payment; set, it holds for a sitting too. Default: 1000000 |
BRAINCHAIN_Environment variable | Optional | The 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. Default: 10000000 |
BRAINCHAIN_Environment variable | Optional | The most the server pays in total while it runs, in the payment token's base units (6 decimals). Resets when the server restarts. Default: 10000000 |
BRAINCHAIN_Environment variable | Optional | The 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_Environment variable | Optional | Folder where the daily total is kept, one file per network and wallet. Defaults to ~/.brainchain. |
BRAINCHAIN_Environment variable | Optional | More wallets for brainchain_market_maker_holdings and brainchain_token_timeline to follow beside the five they follow, as Name=0xAddress separated by commas, at most 20. Their entries carry the name and source configured; nobody checks whos |
BRAINCHAIN_Environment variable | Optional | The watcher brainchain_changes, brainchain_watch and brainchain_unwatch use, such as your own brainchain-mcp watch --serve at http://127.0.0.1:8787. BrainChain's own, https://watch.usebrainchain.com, by default. |
BRAINCHAIN_Environment variable | Optional | Where brainchain_trace_outcomes, brainchain_token_timeline and the symbol lookup read the BrainChain MCP dataset: a directory, absolute or starting with ~/, or an https address of a published copy. BrainChain's published copy by default. |
GITHUB_Environment variable, secret | Optional | A GitHub token with no scopes. BitGo's history and the dates of Trust Wallet's and MetaMask's listings are then read with its allowance in place of the 60 requests an hour GitHub allows one IP address. Sent to api.github.com only and never |
BRAINCHAIN_Environment variable | Optional | Advanced: where a server with no paying key asks for free checks after brainchain-mcp login. BrainChain's own on mainnet by default, none on testnet. An https URL, or http on localhost or 127.0.0.1. |
BRAINCHAIN_Environment variable | Optional | Advanced: 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_Environment variable | Optional | Advanced: the address the server pays in place of the network's desk. The server refuses to pay any other. |
BRAINCHAIN_Environment variable | Optional | Advanced: the chain payments are made on, as eip155:<chain id>, in place of the one BRAINCHAIN_PAY_ON selects. |
BRAINCHAIN_Environment variable | Optional | Advanced: the token contract the server pays in, in place of the one BRAINCHAIN_PAY_ON selects. |
BRAINCHAIN_Environment variable | Optional | Advanced: an http or https RPC URL for the payment chain, used to read the wallet's balance and to send the Permit2 approval. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Post a BrainChain task to summarise the x402 spec in 300 words with sources
- Have BrainChain grade this Python function against two asserts in the brief
- Use BrainChain to check work another agent delivered before I accept it
Good to know
- By default the server pays at most 1 USDC per task and 10 USDC per run until the limits are raised
- Free checks cover brainchain_grade only, with two per GitHub account while the allowance lasts
- The hosted endpoint allows 30 requests a minute from one network address
- Briefs and results are public, so credentials and private code should be kept out of them
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to BrainChain
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
BrainChain: common questions
How does BrainChain get paid for a failed task?
If the work fails the grade, the full payment comes back to the wallet. The worker is paid only when the work passes.
Can I try BrainChain without funding a wallet?
Yes. Signing in with GitHub gives two free grade checks per account, for brainchain_grade only. A server with a paying key always pays from its own wallet.
Does the hosted endpoint need a key?
The hosted endpoint at mcp.usebrainchain.com/mcp needs no key. Tools that hire models, grade work, or use bonds and the licence exam need the local package with a wallet or free checks.
How do I install BrainChain?
In Claude Code run claude mcp add brainchain -- npx -y brainchain-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is BrainChain the official server?
BrainChain is published by usebrainchain.com from its verified domain in the official MCP Registry.
Is BrainChain free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is BrainChain safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to BrainChain?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does BrainChain work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
