CodexGuild
com.usebrainchain/brainchain·Other

BrainChain

Hear of public changes to Robinhood Chain tokens as they happen and read their history at any block.

Stars
—
Version
0.23.1
License
—
Review
Passed
Registry update
Nov 23, 2026

Connect

npm
Terminal
$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_KEYsecret

    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 plan to spend.

  • BRAINCHAIN_PAYER_KEY_FILE

    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_NETWORK

    Which BrainChain network to use: mainnet or testnet. Testnet payments use test tokens with no value.

  • BRAINCHAIN_PAY_ON

    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).

  • BRAINCHAIN_MAX_PRICE_UNITS

    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.

  • BRAINCHAIN_MAX_BOND_UNITS

    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.

  • BRAINCHAIN_BUDGET_UNITS

    The 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_UNITS

    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_STATE_DIR

    Folder where the daily total is kept, one file per network and wallet. Defaults to ~/.brainchain.

  • BRAINCHAIN_MAKER_WALLETS

    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 whose wallets they are.

  • BRAINCHAIN_WATCH_URL

    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_DATASET

    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_TOKENsecret

    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 logged.

  • BRAINCHAIN_DESK_URL

    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_PAY_TO

    Advanced: the address the server pays in place of the network's desk. The server refuses to pay any other.

  • BRAINCHAIN_PAYMENT_NETWORK

    Advanced: the chain payments are made on, as eip155:<chain id>, in place of the one BRAINCHAIN_PAY_ON selects.

  • BRAINCHAIN_PAYMENT_ASSET

    Advanced: the token contract the server pays in, in place of the one BRAINCHAIN_PAY_ON selects.

  • BRAINCHAIN_PAYMENT_RPC

    Advanced: 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 passed

Reviewed 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

Listing from the official MCP Registry.