- Registry update
- Nov 23, 2026
Connect
npm$claude mcp add brainchain \ -e BRAINCHAIN_PAYER_KEY=<brainchain-payer-key> \ -e BRAINCHAIN_PAYER_KEY_FILE=<brainchain-payer-key-file> \ -e BRAINCHAIN_NETWORK=<brainchain-network> \ -e BRAINCHAIN_PAY_ON=<brainchain-pay-on> \ -e BRAINCHAIN_MAX_PRICE_UNITS=<brainchain-max-price-units> \ -e BRAINCHAIN_MAX_BOND_UNITS=<brainchain-max-bond-units> \ -e BRAINCHAIN_BUDGET_UNITS=<brainchain-budget-units> \ -e BRAINCHAIN_DAILY_UNITS=<brainchain-daily-units> \ -e BRAINCHAIN_STATE_DIR=<brainchain-state-dir> \ -e BRAINCHAIN_MAKER_WALLETS=<brainchain-maker-wallets> \ -e BRAINCHAIN_WATCH_URL=<brainchain-watch-url> \ -e BRAINCHAIN_DATASET=<brainchain-dataset> \ -e GITHUB_TOKEN=<github-token> \ -e BRAINCHAIN_DESK_URL=<brainchain-desk-url> \ -e BRAINCHAIN_PAY_TO=<brainchain-pay-to> \ -e BRAINCHAIN_PAYMENT_NETWORK=<brainchain-payment-network> \ -e BRAINCHAIN_PAYMENT_ASSET=<brainchain-payment-asset> \ -e BRAINCHAIN_PAYMENT_RPC=<brainchain-payment-rpc> \ -- npx -y [email protected]
Environment variables
BRAINCHAIN_PAYER_KEYsecretPrivate 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 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: 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).
BRAINCHAIN_MAX_PRICE_UNITSThe 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.
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_MAKER_WALLETSMore 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 whose wallets they are.
BRAINCHAIN_WATCH_URLThe 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_DATASETWhere 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_TOKENsecretA 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 logged.
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.
Security review
Review passedReviewed 2d ago.
- readme
- scanned
- metadata
- scanned
- packages
- 1 checked
No findings.
Tools
This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.
More in Other
Archibase floor plans
io.github.kaiwena-sudo
Structured, license-clean floor plan data for AI agents. Pay per call in USDC via x402.
IRIS Interoperability Management MCP Server
io.github.jbrandtmse
IRIS Interoperability Management MCP Server
IRIS Administration MCP Server
io.github.jbrandtmse
IRIS Administration MCP Server
Sidehand
io.github.Blue-B
Let AI agents operate Windows apps behind your window, without taking your mouse or keyboard.
Featureflip
io.github.canopy-labs
Manage Featureflip feature flags, targeting and rollouts from AI agents and editors.
Caelo CMS
io.github.caelo-cms
Edit a self-hosted Caelo CMS site from your agent. Changes land in a draft; a human publishes.
Listing from the official MCP Registry.