solvehub-mcp
Provides an MCP interface to SolveHub for solving CAPTCHA/anti-bot challenges and managing related tasks.
solve_captcha: create a task and wait for its token, cookie, or OCR text.create_task: create a task immediately and return its ID for later.get_task: check one task's status and solution.wait_for_task: poll an existing task until done, failed, cancelled, or timed out.cancel_task: cancel a queued/running task and refund the reserved amount.list_tasks: list recent tasks newest first.get_balance: check available and reserved USD balance.get_prices: get live per-task pricing for supported challenge types.Supports Turnstile, Interstitial, DataDome, Akamai, PerimeterX, Imperva, AWS WAF, Alibaba CAPTCHA 2.0, Arkose FunCaptcha, and image OCR.
Solves Akamai Bot Manager challenges via the SolveHub API, taking a website URL and proxy and returning the _abck and bm_sz cookies needed to pass the anti-bot check.
Solves Cloudflare Turnstile challenges (and interstitial clearance pages) through the SolveHub API, accepting a site key and page URL and returning the solution token or clearance cookie plus user agent.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@solvehub-mcp Solve the Turnstile CAPTCHA on https://example.com/login with site key 0x4AAAAAAA"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
solvehub-mcp
MCP server for the SolveHub CAPTCHA and anti-bot solver API. Gives Claude, Cursor, VS Code and any other MCP client eight tools to solve a challenge and get the token, cookie or OCR text back - Turnstile, Interstitial, DataDome, Akamai, PerimeterX, Imperva, AWS WAF, Alibaba CAPTCHA 2.0, Arkose FunCaptcha and image OCR through a single REST endpoint.
Zero dependencies, one npx command, Node 18 or newer.
Tools
Tool | What it does |
| Create a task and wait for it, returning the solution (token, cookies or text). |
| Create a task and return its id immediately, for work you finish later. |
| Status of one task, plus its solution once done. |
| Poll an existing task until it is done, failed or cancelled. |
| Cancel a queued or running task; the reserved amount is refunded. |
| Recent tasks, newest first. |
| Available and reserved balance in USD. |
| Live per-task price for every challenge type. |
Related MCP server: 2Captcha MCP
Install
Get an API key from the SolveHub console; new accounts get a $0.10 trial credit after Telegram verification.
Claude Desktop
Edit claude_desktop_config.json and restart the app:
{
"mcpServers": {
"solvehub": {
"command": "npx",
"args": ["-y", "github:seencxy/solvehub-mcp"],
"env": { "SOLVEHUB_API_KEY": "sh_live_xxx" }
}
}
}Cursor, VS Code, Cline, Windsurf
Most clients read the same JSON in mcp.json (VS Code and Cursor use the servers key):
{
"servers": {
"solvehub": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:seencxy/solvehub-mcp"],
"env": { "SOLVEHUB_API_KEY": "sh_live_xxx" }
}
}
}From a clone
git clone https://github.com/seencxy/solvehub-mcp
cd solvehub-mcp
SOLVEHUB_API_KEY=sh_live_xxx node index.mjsDocker
A public image is built from this repo on every push to main, so no local Node install is needed:
docker run -i --rm -e SOLVEHUB_API_KEY=sh_live_xxx ghcr.io/seencxy/solvehub-mcp:latestClaude Desktop (or any stdio client) can launch the same image:
{
"mcpServers": {
"solvehub": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "SOLVEHUB_API_KEY=sh_live_xxx", "ghcr.io/seencxy/solvehub-mcp:latest"]
}
}
}What it looks like in use
Solve the Cloudflare Turnstile on https://example.com/login. The site key is 0x4AAAAAAA... and I am allowed to test this site.
The model calls solve_captcha with type: turnstile and the challenge fields, then answers
with the token and its expiry. Anything that needs a proxy (DataDome, Imperva, Akamai,
PerimeterX) takes a proxy argument as well, for example http://user:pass@host:port.
Environment variables
Variable | Default | Meaning |
| - | Console API key. Required for every tool except |
|
| Override for a self-hosted or staging endpoint. |
|
| Per-request socket timeout. |
Billing behaviour you should know
The price is frozen when the task is created, charged only when it completes, and refunded if the task fails or is cancelled. A failed challenge costs nothing.
The server sends an
Idempotency-Keyon every create, and retries 429/5xx and network errors with exponential backoff, so a retry cannot bill the same task twice.get_balanceandget_pricesare there so an agent can check the cost before spending anything.uncertainis not a failure: the challenge could not be judged yet and can still resolve, sowait_for_taskkeeps polling instead of giving up.
Supported challenge types
Type | Typical fields |
|
|
|
|
|
|
|
|
|
|
|
|
| challenge script URL, optional captcha script, proxy |
| scene id, identity prefix, verification payload |
|
|
|
|
Exact field names per type are in the API reference.
Development
npm testThe tests run the JSON-RPC dispatcher, the tool schemas and the polling state machine against a mocked HTTP layer, so they need no API key and no network.
Related
solvehub-python - Python SDK, also dependency free
solvehub-node - Node SDK
Anti-bot cookie glossary - what
_abck,reese84,_px3andcf_clearanceeach contain, and why they expire. In English, 日本語 and Bahasa Indonesia.
Legal
Use it on systems you own or have written permission to test. That is what the API is for, and the terms say the same thing.
MIT licensed.
Available Tools
8 toolscancel_taskA
Cancel a queued or running task. The reserved amount is refunded.
Inputs: task_id (required).
create_taskA
Create a SolveHub task and return its id without waiting. Use get_task or wait_for_task afterwards. Billing happens only when the task completes, and the price is frozen at creation.
Inputs: task (required), type (required), proxy, idempotency_key.
get_balanceA
Current account balance in USD: available and reserved (held by unfinished tasks).
Inputs: no named parameters.
get_pricesA
Live price catalogue: per-task cost for every supported challenge type. Public, does not need a task.
Inputs: no named parameters.
get_taskA
Read one task: status (queued, processing, uncertain, done, failed, cancelled) and, once done, its solution. uncertain means the challenge could not be judged yet and can still resolve; poll again.
Inputs: task_id (required).
list_tasksA
List the most recent tasks, newest first, with status and type.
Inputs: limit.
solve_captchaA
Create a SolveHub task and wait until it finishes, then return the token, cookie or recognised text. Use this for a site you own or are authorized to test. Typical Turnstile fields: websiteURL and websiteKey; DataDome/Imperva/Akamai need a proxy.
Inputs: task (required), type (required), proxy, idempotency_key, +1 more.
wait_for_taskA
Poll one existing task until it is done, failed or cancelled, or until timeout_seconds pass. Returns the task in either case, with timedOut true when the budget ran out.
Inputs: task_id (required), timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools are clearly distinct: create_task (fire-and-forget), get_task (single read), wait_for_task (polling), and cancel_task map to distinct lifecycle operations. The main overlap is solve_captcha, which is a create+wait convenience wrapper over create_task/wait_for_task, and get_task vs wait_for_task both return task state; the descriptions do differentiate them, but an agent could plausibly pick the wrong one.
All eight tools follow a clean verb_noun pattern (solve_captcha, create_task, get_task, wait_for_task, cancel_task, list_tasks, get_balance, get_prices). Verb choice is also semantically meaningful (list_ for collections, get_ for single reads), with no mixing of case or style.
Eight tools is well-scoped for a CAPTCHA-solving task API: one wrapper, four lifecycle operations, one listing, and two account/pricing lookups. Nothing obviously redundant or missing at the count level.
The task lifecycle is fully covered (create, read, wait, cancel, list) plus pricing and balance, so agents won't hit dead ends in the core flow. Minor gaps exist around task history/pagination (list_tasks only returns 'most recent') and no explicit task-type or status-introspection helper, but these are workable.
Maintenance
Related MCP Connectors
Solve reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile and image captchas. Platform-hosted, no creden
Solve reCAPTCHA image grids, text captchas, GeeTest and FunCAPTCHA for AI agents. Free tier.
Cloudflare Solver: Scraping API designed to bypass Cloudflare protection.
Human-in-the-loop API for AI agents. CAPTCHA, OTP, KYC, and approvals by real humans.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with 2Captcha to solve various CAPTCHA types (image, reCAPTCHA, hCaptcha, etc.) for AI agents via MCP.-
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes the full 2Captcha API surface to Claude Code, enabling solving of 31 captcha types, management tools, and webhook integration for asynchronous solves.5MIT
- FlicenseNot gradedqualityCmaintenanceEnables solving CAPTCHAs in MCP workflows with authorization, bounded attempts, and structured result validation.-
- AlicenseNot gradedqualityDmaintenanceEnables solving reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, and image captchas through MCP tools. Users pay per solve with prepaid credit and can retrieve results asynchronously.MIT