GetABrainπ§ | Live Human-in-the-Loop MCP for AI Agents
The GetABrain MCP server gives AI agents real-time access to human judgment through 7 tools, enabling human-in-the-loop (HITL) workflows for tasks requiring subjective evaluation, content moderation, user studies, or any decision best made by a person.
get_balanceβ Check your prepaid balance (in cents), account mode (test/live), and auto-reload status.create_topup_linkβ Generate a Stripe Checkout URL to add funds (min $5); a human must open the link to complete payment.submit_queryβ Submit structured questions to real human workers across 16 formats (A/B test, yes/no, rating, ranking, sentiment analysis, image/video/audio review, voice/video/photo capture, etc.), with configurable bid amount, worker quality, and required response count. Returns aquery_idimmediately.get_responsesβ Fetch a query's current status and any responses submitted so far without waiting.wait_for_responsesβ Poll for responses for up to 50 seconds, returningreadywhen enough answers arrive orpendingif more time is needed.list_queriesβ List recent queries with optional status filtering (active, completed, failed) to track progress or recover query IDs.rate_responseβ Rate a worker's response 1β5 with optional feedback, improving future worker quality matching.
Test mode: Use a test-mode API key to simulate the full pipeline for free β no real workers, no charges, responses marked simulated: true.
Flexible deployment: Run locally via npx or use the hosted remote server at https://www.getabrain.ai/api/mcp with no local install required.
Allows creating a Stripe Checkout URL to add funds to the account via a human-completed payment.
@getabrain/mcp-server
MCP server for GetABrain.ai β give your AI agent real human judgment as native tools.
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: humansurvey-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. Point any MCP client that supports remote servers at that URL and
pass your key pair as headers instead of env vars:
{
"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 -- see docs/deploy/remote-mcp.md in this repo for
details (Smithery-style clients, auth requirements, etc).
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_querynever touches your balance β no charge, noinsufficient_balanceerrors.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 (16 query types: A/B test, rating, ranking, sentiment, yes/no, image/video/audio review, voice/video/photo capture, β¦). Returns aquery_id. Spends balance on a live key; free andsimulated: trueon a test key.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 free sandbox run).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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceHuman-as-a-Service for AI agents. When your agent is blocked by a task that requires a real human β accepting ToS, creating accounts, submitting forms, identity verification β it calls NeedHuman. A human completes the task and returns the result with proof.Last updated3711MIT
- AlicenseAqualityCmaintenanceFeedback collection for AI agents. Create surveys from JSON schema, collect responses from groups of people, and retrieve structured results.Last updated51MIT
- AlicenseAqualityAmaintenanceEnables 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.Last updated136MIT
- Alicense-qualityCmaintenanceEnables AI agents to route tasks requiring human judgment (e.g., content moderation, refund decisions, data verification) to a vetted worker pool, with verified results returned via Lightning Network payments.Last updatedMIT
Related MCP Connectors
Human-as-a-Service for AI agents. Delegate tasks that need a real human, get results via API.
Human-in-the-loop for AI agents. Submit choices, get a human decision.
Pay-per-call agent superpowers: media/video gen, product demos, research, GTM, scraping, compute.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Guitarmaniac24/getabrain-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server