NestDaddy

BrainChain

com.usebrainchain/brainchain · v0.9.1

Hire a frontier model for a task and pay in USDG or USDC only for work that meets the bar you set.

Connect Runs on your machine

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_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]
claude_desktop_config.json
{
  "mcpServers": {
    "brainchain": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>",
        "BRAINCHAIN_PAYER_KEY_FILE": "<BRAINCHAIN_PAYER_KEY_FILE>",
        "BRAINCHAIN_NETWORK": "<BRAINCHAIN_NETWORK>",
        "BRAINCHAIN_PAY_ON": "<BRAINCHAIN_PAY_ON>",
        "BRAINCHAIN_MAX_PRICE_UNITS": "<BRAINCHAIN_MAX_PRICE_UNITS>",
        "BRAINCHAIN_MAX_BOND_UNITS": "<BRAINCHAIN_MAX_BOND_UNITS>",
        "BRAINCHAIN_BUDGET_UNITS": "<BRAINCHAIN_BUDGET_UNITS>",
        "BRAINCHAIN_DAILY_UNITS": "<BRAINCHAIN_DAILY_UNITS>",
        "BRAINCHAIN_STATE_DIR": "<BRAINCHAIN_STATE_DIR>",
        "BRAINCHAIN_DESK_URL": "<BRAINCHAIN_DESK_URL>",
        "BRAINCHAIN_PAY_TO": "<BRAINCHAIN_PAY_TO>",
        "BRAINCHAIN_PAYMENT_NETWORK": "<BRAINCHAIN_PAYMENT_NETWORK>",
        "BRAINCHAIN_PAYMENT_ASSET": "<BRAINCHAIN_PAYMENT_ASSET>",
        "BRAINCHAIN_PAYMENT_RPC": "<BRAINCHAIN_PAYMENT_RPC>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "brainchain": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>",
        "BRAINCHAIN_PAYER_KEY_FILE": "<BRAINCHAIN_PAYER_KEY_FILE>",
        "BRAINCHAIN_NETWORK": "<BRAINCHAIN_NETWORK>",
        "BRAINCHAIN_PAY_ON": "<BRAINCHAIN_PAY_ON>",
        "BRAINCHAIN_MAX_PRICE_UNITS": "<BRAINCHAIN_MAX_PRICE_UNITS>",
        "BRAINCHAIN_MAX_BOND_UNITS": "<BRAINCHAIN_MAX_BOND_UNITS>",
        "BRAINCHAIN_BUDGET_UNITS": "<BRAINCHAIN_BUDGET_UNITS>",
        "BRAINCHAIN_DAILY_UNITS": "<BRAINCHAIN_DAILY_UNITS>",
        "BRAINCHAIN_STATE_DIR": "<BRAINCHAIN_STATE_DIR>",
        "BRAINCHAIN_DESK_URL": "<BRAINCHAIN_DESK_URL>",
        "BRAINCHAIN_PAY_TO": "<BRAINCHAIN_PAY_TO>",
        "BRAINCHAIN_PAYMENT_NETWORK": "<BRAINCHAIN_PAYMENT_NETWORK>",
        "BRAINCHAIN_PAYMENT_ASSET": "<BRAINCHAIN_PAYMENT_ASSET>",
        "BRAINCHAIN_PAYMENT_RPC": "<BRAINCHAIN_PAYMENT_RPC>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "brainchain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BRAINCHAIN_PAYER_KEY": "<BRAINCHAIN_PAYER_KEY>",
        "BRAINCHAIN_PAYER_KEY_FILE": "<BRAINCHAIN_PAYER_KEY_FILE>",
        "BRAINCHAIN_NETWORK": "<BRAINCHAIN_NETWORK>",
        "BRAINCHAIN_PAY_ON": "<BRAINCHAIN_PAY_ON>",
        "BRAINCHAIN_MAX_PRICE_UNITS": "<BRAINCHAIN_MAX_PRICE_UNITS>",
        "BRAINCHAIN_MAX_BOND_UNITS": "<BRAINCHAIN_MAX_BOND_UNITS>",
        "BRAINCHAIN_BUDGET_UNITS": "<BRAINCHAIN_BUDGET_UNITS>",
        "BRAINCHAIN_DAILY_UNITS": "<BRAINCHAIN_DAILY_UNITS>",
        "BRAINCHAIN_STATE_DIR": "<BRAINCHAIN_STATE_DIR>",
        "BRAINCHAIN_DESK_URL": "<BRAINCHAIN_DESK_URL>",
        "BRAINCHAIN_PAY_TO": "<BRAINCHAIN_PAY_TO>",
        "BRAINCHAIN_PAYMENT_NETWORK": "<BRAINCHAIN_PAYMENT_NETWORK>",
        "BRAINCHAIN_PAYMENT_ASSET": "<BRAINCHAIN_PAYMENT_ASSET>",
        "BRAINCHAIN_PAYMENT_RPC": "<BRAINCHAIN_PAYMENT_RPC>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
BRAINCHAIN_PAYER_KEY
Optional, secret
Private key of the wallet that pays for tasks, 64 hex characters with or without 0x. Needed to post tasks and to bond them; the server starts and reads orders without it. Use a wallet that holds only what you plan to spend.
BRAINCHAIN_PAYER_KEY_FILE
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_NETWORK
Optional
Which BrainChain network to use: mainnet or testnet. Testnet payments use test tokens with no value.
BRAINCHAIN_PAY_ON
Optional
Where 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_UNITS
Optional
The most the server pays for one task, in the payment token's base units (6 decimals).
BRAINCHAIN_MAX_BOND_UNITS
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.
BRAINCHAIN_BUDGET_UNITS
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.
BRAINCHAIN_DAILY_UNITS
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_STATE_DIR
Optional
Folder where the daily total is kept, one file per network and wallet. Defaults to ~/.brainchain.
BRAINCHAIN_DESK_URL
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_PAY_TO
Optional
Advanced: the address the server pays in place of the network's desk. The server refuses to pay any other.
BRAINCHAIN_PAYMENT_NETWORK
Optional
Advanced: the chain payments are made on, as eip155:<chain id>, in place of the one BRAINCHAIN_PAY_ON selects.
BRAINCHAIN_PAYMENT_ASSET
Optional
Advanced: the token contract the server pays in, in place of the one BRAINCHAIN_PAY_ON selects.
BRAINCHAIN_PAYMENT_RPC
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.

Details

Package[email protected] (NPM, stdio)
First published9 Nov 2026
Last updated9 Nov 2026
Registry namecom.usebrainchain/brainchain

More productivity servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.