Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 0 stars
  • 2.7k a week
  • MIT
  • Updated

Install BrainChain

Built from the published package, never by AI.

claude mcp add brainchain -- npx -y brainchain-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install BrainChain in Claude Code

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
SettingNeededWhat it is
BRAINCHAIN_PAYER_KEYEnvironment variable, secretOptionalPrivate 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_PAYER_KEY_FILEEnvironment variableOptionalThe path of a file holding that key, in place of BRAINCHAIN_PAYER_KEY: absolute or starting with ~/, and readable only by your account.
BRAINCHAIN_NETWORKEnvironment variableOptionalWhich BrainChain network to use: mainnet or testnet. Testnet payments use test tokens with no value. Default: mainnet
BRAINCHAIN_PAY_ONEnvironment variableOptionalWhere 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_MAX_PRICE_UNITSEnvironment variableOptionalThe 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_MAX_BOND_UNITSEnvironment variableOptionalThe 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_BUDGET_UNITSEnvironment variableOptionalThe 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_DAILY_UNITSEnvironment variableOptionalThe 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_DIREnvironment variableOptionalFolder where the daily total is kept, one file per network and wallet. Defaults to ~/.brainchain.
BRAINCHAIN_MAKER_WALLETSEnvironment variableOptionalMore 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_WATCH_URLEnvironment variableOptionalThe 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_DATASETEnvironment variableOptionalWhere 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_TOKENEnvironment variable, secretOptionalA 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_FREE_URLEnvironment variableOptionalAdvanced: 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_DESK_URLEnvironment variableOptionalAdvanced: 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_TOEnvironment variableOptionalAdvanced: the address the server pays in place of the network's desk. The server refuses to pay any other.
BRAINCHAIN_PAYMENT_NETWORKEnvironment variableOptionalAdvanced: the chain payments are made on, as eip155:<chain id>, in place of the one BRAINCHAIN_PAY_ON selects.
BRAINCHAIN_PAYMENT_ASSETEnvironment variableOptionalAdvanced: the token contract the server pays in, in place of the one BRAINCHAIN_PAY_ON selects.
BRAINCHAIN_PAYMENT_RPCEnvironment variableOptionalAdvanced: 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

A

No 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 JanDeDobbeleer
100

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.

AAA Remote 24k
Sim simstudioai
100

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.

AAA Remote 30k
Omnara omnara-ai
98

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.

AAA Remote 3.5k
strata Klavis-AI
95

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.

AAA Remote 5.8k
voicemode mbailey
95

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.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

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.

AFA Remote 25k

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.

BrainChain Install

Add to stack

Loading.