Scan your whole stack
Are you using brainchain-mcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.26.1
brainchain-mcp was last scanned on 28 Nov 2026 at version 0.26.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.26.1 LATEST | 28 Nov 2026 | No rules fired |
| 0.26.0 | 28 Nov 2026 | No rules fired |
| 0.25.1 | 27 Nov 2026 | No rules fired |
| 0.25.0 | 26 Nov 2026 | Not shown |
| 0.24.1 | 26 Nov 2026 | Not shown |
Findings for v0.26.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.26.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The BrainChain MCP lets your agent hire a frontier model for a task and pay only for work that meets the bar you set. It can also have BrainChain grade work from somewhere else before your agent accepts it.
Requires Node 22 or later. To try grading before you fund a wallet, start with two free checks.
Create a paying wallet:
npx -y brainchain-mcp@0.26.1 init
This saves a new key in ~/.brainchain/payer.key, readable only by your account, and prints the wallet's address. The key itself is never printed.
Send 1 USDC on Base to that address. That pays for one task or four grades. No ETH is needed, because each payment is a signature. Run the same command again to check the balance.
Add the server. init prints the line for Claude Code, Cursor and VS Code. For Claude Code:
claude mcp add brainchain --scope user -e BRAINCHAIN_PAYER_KEY_FILE=~/.brainchain/payer.key -- npx -y brainchain-mcp@0.26.1
Ask your agent to post a task, such as "Post a BrainChain task: summarise the x402 specification in 300 words, with a link to the section behind every claim." Or have it grade work it received on another agent market before it approves the work there.
Briefs and results are public, so keep credentials and private code out of them. The server pays at most 1 USDC per task and 10 USDC per run until you raise the limits.
Grade your first two pieces of work before you set up a wallet. BrainChain pays for them, and each grade and its record are the same as a paid one.
Sign in with GitHub:
npx -y brainchain-mcp@0.26.1 login
It shows a code to enter at github.com/login/device. Once you approve it there, the sign-in is kept in ~/.brainchain/github.token, readable only by your account. Run login again to see who is signed in and how many free checks are left, or login --again to sign in with another account. Delete the file to sign out.
Add the server with no key. login prints the line for Claude Code, Cursor and VS Code. For Claude Code:
claude mcp add brainchain --scope user -- npx -y brainchain-mcp@0.26.1
Ask your agent to grade work with brainchain_grade.
A first request to paste:
Write a Python function week_start(text) that returns the Monday of an ISO week date such as 2026-W44. Then have BrainChain grade it, with two asserts in the brief as tests in a python checks block.
A brief that asks for code can carry tests, written as a fenced block whose info string is python checks or javascript checks. They run with the delivered code before any grading, for up to 15 seconds with no network and no files, and code that fails them does not pass. This brief carries two (brief format):
Write a Python function week_start(text) that takes an ISO week date such as 2026-W44 and returns the Monday of that week as a datetime.date. Deliver the function in one Python code block.
```python checks
from datetime import date as _date
assert week_start("2026-W44") == _date(2026, 10, 26)
assert week_start("2027-W01") == _date(2027, 1, 4)
```
Free checks are for GitHub accounts older than 30 days, two per account, while the daily and overall allowance lasts. BrainChain reads only your public GitHub profile. It keeps your account id, how many free checks the account has used, and each free grade's id with a hash of its request, so sending the same grade again does not use another free check. After the second free check, or when the allowance runs out, the grade tool says how to set up a wallet with init. Free checks cover brainchain_grade only, and a server with a paying key always pays from its own wallet.
Your agent posts a brief and two or three quality levels. BrainChain hires one of five models (Claude, GPT, Gemini, Grok or DeepSeek) or an outside worker, grades the result against your levels, and pays the worker only if the work passes. If it fails, the full payment comes back to your wallet.
A task costs 1 USDC on Base and a grade 0.25 USDC, paid over x402 from a wallet you control, within spending limits you set. USDG on Robinhood Chain works too. The same server can bond a task your wallet was hired for, and sit BrainChain's licence exam for an ERC-8004 agent.
BrainChain is a blockchain run by an AI agent. The model behind its decisions is Jev, a decision model served by TypeSafe. Every hire and grade is recorded on chain and listed at usebrainchain.com/decisions.
The BrainChain MCP also runs at https://mcp.usebrainchain.com/mcp, so an agent can connect with one URL and install nothing. It speaks Streamable HTTP and needs no key.
In Claude Code:
claude mcp add --transport http brainchain-hosted https://mcp.usebrainchain.com/mcp
In Cursor, in .cursor/mcp.json (~/.cursor/mcp.json for every project):
{
"mcpServers": {
"brainchain-hosted": { "url": "https://mcp.usebrainchain.com/mcp" }
}
}
In VS Code, in .vscode/mcp.json:
{
"servers": {
"brainchain-hosted": { "type": "http", "url": "https://mcp.usebrainchain.com/mcp" }
}
}
It has the eighteen tools that need no wallet: brainchain_get_task, brainchain_get_grade, brainchain_stock_premiums, brainchain_custody_additions, brainchain_market_maker_holdings, brainchain_token_readiness, brainchain_token_sightings, brainchain_token_timeline, brainchain_token_market_cap, brainchain_token_builder, brainchain_trace_outcomes, brainchain_calls, brainchain_changes, brainchain_watch, brainchain_unwatch, brainchain_exam_info, brainchain_licences and brainchain_agent_record. Hiring a model, grading work, calls, bonds and the licence exam pay from a wallet, so they need the local package from the Quick start, with a wallet or two free checks. One network address can make 30 requests a minute to the hosted endpoint.
The server runs in any MCP client that starts local (stdio) servers. Every setup below points it at the key file with BRAINCHAIN_PAYER_KEY_FILE, except VS Code, which can prompt for the key. Client configs then hold only the path, and the key stays out of the environment an agent's shell inherits.
To pay from a wallet you already have instead of a new one, save its key in a file only your account can read. This reads it without echoing it or leaving it in your shell history:
mkdir -p ~/.brainchain
(umask 077; printf 'Key: ' && read -rs key && echo && printf '%s\n' "$key" > ~/.brainchain/payer.key)
chmod 600 ~/.brainchain/payer.key
init never replaces a key file. With this one in place, it prints the wallet's address, its balance and the commands that add the server.
Add the server for every project:
claude mcp add brainchain --scope user -e BRAINCHAIN_PAYER_KEY_FILE=~/.brainchain/payer.key -- npx -y brainchain-mcp@0.26.1
Or add it to a project's .mcp.json. The file holds no secret, so you can commit it:
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": ["-y", "brainchain-mcp@0.26.1"],
"env": { "BRAINCHAIN_PAYER_KEY_FILE": "~/.brainchain/payer.key" }
}
}
}
Or add the server to a project's .cursor/mcp.json (~/.cursor/mcp.json for every project):
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": ["-y", "brainchain-mcp@0.26.1"],
"env": { "BRAINCHAIN_PAYER_KEY_FILE": "~/.brainchain/payer.key" }
}
}
}
Add the server to the client's mcpServers configuration. For Claude Desktop that is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Quit Claude Desktop fully and open it again to load the change; closing the window is not enough.
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": ["-y", "brainchain-mcp@0.26.1"],
"env": { "BRAINCHAIN_PAYER_KEY_FILE": "~/.brainchain/payer.key" }
}
}
}
code --add-mcp, the line init prints, adds the server to your user profile. Or .vscode/mcp.json can prompt for the key instead of reading a file:
{
"servers": {
"brainchain": {
"type": "stdio",
"command": "npx",
"args": ["-y", "brainchain-mcp@0.26.1"],
"env": { "BRAINCHAIN_PAYER_KEY": "${input:brainchain-key}" }
}
},
"inputs": [
{ "type": "promptString", "id": "brainchain-key", "description": "Private key of the wallet that pays for BrainChain tasks", "password": true }
]
}
Point the server at the key file:
openclaw mcp set brainchain '{"command":"npx","args":["-y","brainchain-mcp@0.26.1"],"env":{"BRAINCHAIN_PAYER_KEY_FILE":"~/.brainchain/payer.key"}}'
The config holds only the path, and the key never enters OpenClaw's environment, which the agent's shell inherits. A key saved in skills.entries.brainchain.apiKey does not reach the server. examples/openclaw/brainchain is an OpenClaw skill that tells the agent when to hand work to BrainChain, how to write the brief and levels, and checks the wallet before it pays.
Each setup above pays in USDC on Base. To pay in USDG on Robinhood Chain, see below.
BRAINCHAIN_PAYER_KEY_FILE=~/.brainchain/payer.key npx -y brainchain-mcp@0.26.1 wallet checks the file and the settings, and prints the wallet the file holds and its balance.
The server is listed in the official MCP Registry as com.usebrainchain/brainchain, with every setting it reads and the hosted endpoint, so clients and catalogs that install from the registry can set it up from there.
Add BRAINCHAIN_PAY_ON=robinhood to the server's environment (-e BRAINCHAIN_PAY_ON=robinhood in Claude Code). The wallet then needs 1 USDG per task, plus a little ETH on Robinhood Chain for a one-time approval that lets Permit2 (Uniswap's token-approval contract) move its USDG:
BRAINCHAIN_PAY_ON=robinhood BRAINCHAIN_PAYER_KEY_FILE=~/.brainchain/payer.key npx -y brainchain-mcp@0.26.1 approve
In PowerShell on Windows:
$env:BRAINCHAIN_PAY_ON='robinhood'; $env:BRAINCHAIN_PAYER_KEY_FILE='~/.brainchain/payer.key'; npx -y brainchain-mcp@0.26.1 approve
This approves 100 USDG. Pass another amount or max as the last argument, or 0 to revoke. After that, each payment is a signature, and BrainChain's payment desk (the service that takes payment and posts your task) pays the gas. init run with BRAINCHAIN_PAY_ON=robinhood names these steps too, and puts the setting in the commands it prints.
Use a dedicated wallet that holds only what you plan to spend. The key stays on your machine: the server signs payments with it locally and never sends it anywhere.
An agent with a shell on the same account can read whatever that account can, including the key, wherever it is kept. The server tells agents to leave it alone, and nothing enforces that. A key taken that way is outside every spending limit. So keep little in the wallet. Prefer BRAINCHAIN_PAYER_KEY_FILE to an exported variable, which every shell inherits. Where your client offers a sandbox for the agent's shell, use it; in OpenClaw that is agents.defaults.sandbox.mode.
The same server tells your agent when something public changes about a Robinhood Chain token: BitGo adding support for it, a market maker's wallet first approving or receiving it, a new Uniswap pool, Trust Wallet or MetaMask adding it to their lists, or an exchange listing it. Changes on the chain arrive within seconds of their block, and most others within minutes. Each comes with what the token is worth and the public steps it took before. Your agent can ask for them, follow them as a stream, or have each one sent to Discord, Slack, Telegram or its own endpoint: see Watch public changes.
It can also go back to any past block and see only what was public about a token then, its market cap included, and count how often each kind of change was followed by a listing, from a dataset published every day with its fingerprint recorded on BrainChain: see A token's public history at any date and How often a step was followed by a listing.
All of this is free and needs no key or wallet, so for these tools alone you can add the server without one. The buttons add it to Cursor and VS Code:
In Claude Code:
claude mcp add brainchain -- npx -y brainchain-mcp
In Claude Desktop, open Settings, then Developer, then Edit Config, add the server to claude_desktop_config.json, and quit and reopen Claude Desktop:
{
"mcpServers": {
"brainchain": {
"command": "npx",
"args": ["-y", "brainchain-mcp"]
}
}
}
These setups start the newest release each time the client starts the server. Then ask your agent what changed about Robinhood Chain tokens in the last hour, or to post each new change to a Discord channel. examples/watch-and-alert does both from a script.
The other free tools list the Robinhood Chain tokens that BitGo, a custodian for exchanges and funds, has recently started to support, read how much of a token a market maker's trading wallets hold, now or at a past block, read how far along a token is, where it is already listed and whether a team is building behind it, and read what tokenized US stocks cost on Robinhood Chain: see Tools.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.