GetABrain🧠| Live Human-in-the-Loop MCP for AI Agents
One-line summary: GetABrain is a human-in-the-loop MCP server that lets an AI agent submit structured questions to real paid human workers, wait for their answers, manage prepaid funds, and rate the responses.
submit_query — ask humans a question in one of 16 formats (yes/no, multiple choice, rating scale, ranking, A/B test, sentiment, image comparison/selection/analysis, video/audio review, free text, voice/video/photo capture); supports
quote_onlyfor exact pricing, custom bids/bonuses, required response counts, expiry (1–168h), worker-quality filters, and per-query webhooks.get_responses — instant, one-shot read of a query's status and whatever responses exist so far (no waiting, free).
wait_for_responses — bounded polling (up to 50s) that returns
readywith answers orpendingto retry later.get_balance — check prepaid balance (cents), mode (
test/live), sandbox credit, and auto-reload status with a setup link.create_topup_link — mint a Stripe Checkout URL (min $5) that a human must open in a browser to add funds; the agent can't pay itself.
list_queries — browse recent queries, optionally filtered by status, to review activity or recover a lost
query_id.rate_response — score a worker's answer 1–5 with optional feedback, feeding the worker quality system.
Test mode — a test-mode key gives a $5 sandbox credit with clearly marked
simulated: trueAI-generated answers, so the full submit → wait → rate flow can be built before spending real money (live keys pay workers ~$9/hr plus a 20% fee).
Allows creating a Stripe Checkout URL to add funds to the account via a human-completed payment.
GetABrain MCP server: human-in-the-loop for AI agents
Let your AI agent ask real people. GetABrain is a human-in-the-loop API: an agent sends a question, paid human workers answer it, and the answers come back as structured JSON. Use it when a model should not decide alone: human approval before an action, taste and preference tests, A/B tests with real people, content review, fact checks against the real world, or human-labelled evaluation data.
Structured question types: yes/no, multiple choice, rating scale, ranking, A/B test, sentiment, image comparison, image analysis, video and audio review, free text.
Pay per answer: you set the bid (minimums are about $9/hour of a worker's time) plus a 20% fee (lower on a monthly plan: https://www.getabrain.ai/pricing).
Safe to build against: a test-mode key gives a $5 sandbox credit and clearly labelled simulated answers.
Works with Claude (Desktop, Code, claude.ai connectors), Cursor, Windsurf, VS Code, and any MCP client; also a REST API and Node / Python SDKs.
Common uses: human approval step in an agent workflow · RLHF-style preference data · "which headline would you click" tests · UX and copy feedback · checking an AI answer with real people · crowd opinion polls.
Docs: https://www.getabrain.ai/docs · Human-in-the-loop guide: https://www.getabrain.ai/human-in-the-loop · Compare with MTurk and Prolific: https://www.getabrain.ai/vs/mturk-prolific
Use with Claude Desktop / Cursor
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"getabrain": {
"command": "npx",
"args": ["-y", "@getabrain/mcp-server"],
"env": {
"GETABRAIN_API_KEY": "gab_k_…",
"GETABRAIN_API_SECRET": "gab_s_…"
}
}
}
}Get your API key by signing up at https://getabrain.ai.
Related MCP server: Datapoint MCP
Remote (hosted) MCP server -- no install
Prefer not to run anything locally? GetABrain also hosts this same server over Streamable HTTP at
https://www.getabrain.ai/api/mcp. The simplest setup is the URL alone: {"url": "https://www.getabrain.ai/api/mcp"}.
Clients that support MCP OAuth then open a GetABrain sign-in, with no keys to paste.
Sign-in connects your live account. For a test-mode key, or a client without OAuth, pass the key pair as headers:
{
"mcpServers": {
"getabrain": {
"url": "https://www.getabrain.ai/api/mcp",
"headers": {
"X-API-Key": "gab_k_…",
"X-API-Secret": "gab_s_…"
}
}
}
}Same 7 tools, same schemas, same test-mode support. Docs: https://www.getabrain.ai/docs
Test mode
Test mode is a flag on the key, not a different key format. When you mint an API key — via
POST /api/v1/requestor/keys with {"mode":"test"}, or by choosing "test" in the dashboard — you get
back a completely normal gab_k_… / gab_s_… key pair. There's no _test_ in the string; the
test-ness lives in the database as an is_test flag on that key. No funding or card required.
Point GETABRAIN_API_KEY / GETABRAIN_API_SECRET at a test-mode key and the server behaves identically, except:
submit_queryis billed at the minimum bid with no fee — paid from your one-time $5 sandbox credit first, then your balance (402 if both are empty).Responses come back synthetic and are always marked
simulated: true, so your pipeline (submit → wait/poll → rate) can be built and exercised end-to-end before any real human worker or real money is involved.get_balancereportsmode: "test"so the agent/human can tell at a glance which environment it's in.
When you're ready to go live: mint a live-mode key (same call, {"mode":"live"} or the dashboard
default), fund the account with create_topup_link (works with either key type — a test-mode agent can
generate the link, a human completes checkout to add real funds), and swap the env vars. get_balance
then reports mode: "live", and submit_query starts spending real balance and dispatching to real paid
workers.
Tools
get_balance— read-only: prepaid balance (cents),mode("test"/"live"), andauto_reload_enabled(with a setup link + hint when it's off and would otherwise stall a live account at zero balance).create_topup_link— mints a Stripe Checkout URL to add funds (min $5); a human opens it in a browser to pay — the agent cannot complete payment itself.submit_query— ask real humans a question (A/B test, rating, ranking, sentiment, yes/no, image/video/audio review, free text, …). Returns aquery_id. Spends balance on a live key; simulated (simulated: true) on a test key, paid from the $5 sandbox credit first.get_responses— one-shot, read-only: current status + whatever responses exist right now, no waiting.wait_for_responses— bounded polling (up tomax_wait_seconds, default/max 50s); returnsreadywith responses once enough arrive, orpending— call again to keep waiting. Use this instead ofget_responseswhen you want the tool call itself to wait.list_queries— read-only: your recent queries, optionally filtered bystatus.rate_response— rate a worker's answer 1–5 (optionalfeedback_text); feeds the worker quality system.
Example agent flow
get_balance→ confirm funds (ormode: "test"for a sandbox run; also checksandbox_credit_cents).If funds are short on a live key:
create_topup_link→ human completes checkout →get_balanceagain.submit_query→ getquery_id.wait_for_responses(repeat whilepending) → read the human (or simulated, in test mode) answers.rate_response→ optionally rate each response to improve future worker matching.
Full API docs: https://getabrain.ai/docs/api
Available Tools
7 toolscreate_topup_linkA
Generate a one-time Stripe Checkout URL for adding funds to the prepaid balance. Use when get_balance shows insufficient funds for an upcoming submit_query, or a human asks to add money. Side effect: creates a pending Stripe session (no charge yet); the returned checkout_url must be OPENED IN A BROWSER BY A HUMAN to enter payment details and complete the charge -- the agent cannot complete payment itself; this is an out-of-band, human-in-the-loop step. Works with a test-mode or live-mode key (funding a test-mode account is how you move a sandbox integration to real spending power). Balance updates only after checkout completes; poll get_balance to confirm. Disambiguation: only mints a payment link -- never moves money or blocks waiting for payment itself.
Inputs: amount_cents (required). Returns: checkout_url
get_balanceARead-only
Check the prepaid balance (in cents) available to fund submit_query calls, plus account mode. Call before submit_query if unsure funds suffice, or whenever a query fails/stalls for balance reasons. Read-only, no side effects, free to call. Response includes mode ("test" = sandbox key: SIMULATED answers from an AI stand-in, not real people; "live" = real key, real people, real spend), sandbox_credit_cents (promotional credit, simulated answers only, no cash value), and when relevant whether auto_reload is on, plus an auto_reload_setup_url + hint to enable it so a live account does not stall at zero balance. Disambiguation: reports funds available to spend; does not list queries (list_queries) or responses (get_responses/wait_for_responses).
Inputs: no named parameters. Returns: hint, mode, company_name, balance_cents, +3 more
get_responsesARead-only
One-shot read: fetch a query's current status and whatever human responses have been submitted so far, without waiting. Use this to check progress on demand, or after wait_for_responses reports "pending" if you want an immediate snapshot instead of polling again. Read-only, no cost, returns instantly (does not block or retry). Disambiguation: unlike wait_for_responses, this never delays or blocks waiting for more answers to arrive -- it just reports what exists right now, which may be fewer than required_responses.
Inputs: query_id (required). Returns: notice, status, responses, simulated, +2 more
list_queriesARead-only
List your recent GetABrain queries, most recent first. Use this to get an overview of past/active queries, recover a query_id you lost track of, or filter by status (e.g. find everything still "active" or "pending"). Read-only, no cost. Disambiguation: this lists MANY queries at a summary level; it does not return the individual worker responses for any one query -- use get_responses or wait_for_responses with a specific query_id for that.
Inputs: limit, status. Returns: limit, total, offset, queries, +1 more
rate_responseA
Rate a single worker's response 1-5 to feed the worker quality/reputation system, optionally with free-text feedback. Use after reviewing a response from get_responses/wait_for_responses, to reward good answers and flag poor ones -- this affects the worker's quality score and future eligibility (e.g. queries with min_worker_quality set) and can trigger rewards/suspension server-side. Side effect: writes a rating record and returns the updated worker quality score; does not resubmit or modify the original response. Disambiguation: rates a response you already have -- does not fetch new responses (use get_responses/wait_for_responses first).
Inputs: score (required), query_id (required), response_id (required), feedback_text. Returns: score, response_id, feedback_text, worker_suspended, +4 more
submit_queryA
Submit a structured question to real human workers, returning a query_id -- the entry point for any human-in-the-loop (HITL) step: judgment calls, subjective evaluation, approval/review, or "ask a real person" tasks a model should not answer itself. "type" selects the question format (one of: text, multiple_choice, rating_scale, image_comparison, ranking, yes_no, sentiment, image_selection, free_form_text, video_review, audio_review, image_analysis, ab_test, voice_capture, video_capture, photo_capture); "content_data" is the matching type-specific payload (e.g. ab_test: {question, variant_a:{description}, variant_b:{description}}; yes_no: {question}; rating_scale: {question, scale_type, scale_min, scale_max}). PRICE: before sending a paid question, call this with quote_only: true to get the EXACT cost (worker pay + platform fee = total_cost_cents) plus standard and fast speed options, and tell the user that exact number -- never estimate a price yourself. Omit bid_amount_cents to use the balanced suggested bid; a higher bid is shown to workers first, so it gets answered faster. Cost/side effects: with a LIVE key this deducts (bid_amount_cents + bonus_amount_cents) * required_responses plus the platform fee (20% on top; workers keep the full bid) from balance immediately and dispatches to paid workers (fails if balance too low -- check get_balance or use create_topup_link). With a TEST key, answers are SIMULATED by an AI stand-in, not a real person (marked simulated: true, with a notice); each costs only the per-type minimum bid, paid first from the $5 sandbox credit, then from balance. Use test mode to build and debug your integration before going live. Returns immediately, does not wait -- use get_responses (one-shot) or wait_for_responses (bounded polling) to retrieve answers.
Inputs: type (required), title (required), content_data (required), required_responses (required), +7 more. Returns: id, type, quote, title, +16 more
wait_for_responsesARead-only
Poll for human responses to a query, blocking for up to max_wait_seconds (default 50, max 50) before returning. Use right after submit_query to wait for real answers in one call instead of manually re-checking with get_responses. DOES NOT GUARANTEE COMPLETION -- if min_responses have not arrived within the time budget it returns status "pending" rather than erroring. Call it ONCE after submit_query; if still pending, tell the user the question is sent and they can ask for results later, instead of looping. Returns status "ready" with the responses array once enough have arrived (or the query otherwise completed). Read-only / free -- cost was already charged by submit_query. Disambiguation: unlike get_responses (instant, one-shot, may return 0 responses), this actively waits, trading time for a higher chance of a complete result.
Inputs: query_id (required), min_responses, max_wait_seconds. Returns: hint, notice, status, responses, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools target clearly distinct actions (submit, list, rate, balance, top-up). The only genuine overlap is get_responses vs wait_for_responses, both returning answers for a query_id, but both descriptions carry explicit 'Disambiguation:' notes contrasting instant snapshot vs blocking poll, which largely resolves the risk.
All seven names follow a strict verb_noun snake_case pattern (get_balance, submit_query, get_responses, wait_for_responses, rate_response, create_topup_link, list_queries). No style deviations or vague verbs like 'process' or 'handle'.
Seven tools is a tight, well-scoped surface for a HITL query lifecycle: fund, submit, retrieve (two modes), rate, list, and top-up. Each tool maps to a distinct step with no filler.
The create/read/list/rate/fund lifecycle is fully covered, including pricing quotes and sandbox vs live mode. Minor gaps: no cancel/expire query operation and no way to fetch a single query's metadata independently of its responses, so agents have limited cleanup or introspection paths.
Maintenance
Related MCP Connectors
Human-as-a-Service for AI agents. Delegate tasks that need a real human, get results via API.
Human judgment for AI agents: discover capabilities, get quotes, and track paid human tasks.
Human-in-the-loop API for AI agents. CAPTCHA, OTP, KYC, and approvals by real humans.
Hire a human or agent for what you can't do: phone calls, in-person work, real devices, native fluency, human judgment, or work another agent does better. Permanent public record. Real money via Stripe, paid on completion. Read the entire market with no account and no key.
Related MCP Servers
- AlicenseAqualityFmaintenanceFeedback collection for AI agents. Create surveys from JSON schema, collect responses from groups of people, and retrieve structured results.51MIT
- AlicenseAqualityDmaintenanceEnables AI agents to recruit real humans for evaluation tasks like surveys, A/B tests, and ratings on text, images, audio, and video, returning aggregated results directly into the conversation.137MIT

humanforaiofficial
AlicenseAqualityCmaintenanceEnables AI agents to hire real human operators for tasks requiring physical presence, human perception, or judgment, such as verification, testing, data collection, and physical-world tasks.451 npm1MIT- AlicenseAqualityBmaintenanceLast-mile human work for AI agents. Phone calls, physical-world tasks, captcha on an already-authorized account, subjective QA, and long manual work, done by real virtual assistants.1368 npmMIT