2captcha-mcp
2Captcha MCP server for AI agents with web search, web scraping, browser automation, captcha solving, and scalable web data collection.
Install / Use
claude mcp add 2captcha -- npx -y github:2captcha/2captcha-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of 2captcha-mcp
2captcha-mcp scores 87/100 on our quality scale, 1467th of 2,730 Automation skills we index.
Its MCP Server is 33 KB long, well organised into 31 sections with 35 code examples: a thorough specification that gives an agent plenty to work with.
It has 43 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so 2captcha-mcp is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
2captcha-mcp compared with similar skills
All 4 of these similar skills score higher than 2captcha-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| 2captcha-mcp (this skill)by 2captcha | 87 | 43 | 45d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 81.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install 2captcha-mcp?
- Run
claude mcp add 2captcha -- npx -y github:2captcha/2captcha-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does 2captcha-mcp work with?
- It is written for Claude Code, Claude Desktop and Gemini CLI, as a MCP Server file. Other agents that read the same format can often use it too.
- Is 2captcha-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is 2captcha-mcp still maintained?
- The repository was last updated about 2 months ago, so 2captcha-mcp is actively maintained.
Skill content
View source on GitHubhttps://github.com/user-attachments/assets/884d89a8-3a73-495b-9649-dca282a70369
<sub>Codex desktop, same model and prompt, recorded one after the other · 3× speed</sub>
[!IMPORTANT] The official 2Captcha MCP package is
@2captcha/mcp(published under the @2captcha npm organization). The unscoped2captcha-mcppackage on npm is not affiliated with 2Captcha — don't put your API key into it.
Overview
The 2Captcha MCP server gives AI agents real-time access to web data that blocks ordinary HTTP clients. It exposes 40 tools covering:
- Web search — ranked organic results (title, URL, snippet) for a query
- Page scraping — any URL as clean Markdown or raw HTML. Every request runs through a tiered anti-bot ladder: hidden JSON APIs, a TLS-impersonating HTTP client, rotating residential proxies, and a managed browser with CAPTCHA solving — escalating only as far as the page requires, so easy pages stay fast and cheap.
- Marketplace parsing — product pages and search listings as structured JSON (title, price, rating, seller, stock, offers). Deterministic tiers first (hidden marketplace APIs, JSON-LD, learned selectors); an LLM extraction pass only when they miss.
- Structured extraction — any URL or raw text plus your own JSON Schema in, matching JSON out.
- Batch jobs — run the scraping/parsing tools over many URLs as a background job: submit, poll, cancel.
- CAPTCHA solving, including in your browser — solve any type 2Captcha supports (reCAPTCHA, Turnstile, hCaptcha, DataDome, images, …).
detect_captchanames the wall on a page you are already driving in Playwright MCP, browser-use or an extension — free, from HTML you paste in — andsolve_captcha_on_pagesolves it and hands back the exact JavaScript or cookie to apply in your own session. Nothing has to move to our browser. - Browser logins — opt-in. Sign in to a site whose login form is behind a CAPTCHA, in a managed browser, and save the session for later.
Two deployment options: the hosted remote server (one URL, no installation) or a local instance via npx @2captcha/mcp.
Free tier: what's included
Signing up for 2Captcha is free, and an account comes with a monthly allowance on this server: 200 calls or $0.50 of measured spend per 30 days, whichever comes first, across the whole tool surface — scraping, marketplace parsing, structured extraction, batch jobs, the browser tools and CAPTCHA solving. No card, no separate plan, no feature gating.
The window is rolling rather than calendar-monthly, so capacity returns continuously instead of everyone's quota resetting on the 1st.
The allowance is metered per account, which is why a credential is required: the identity is what it is counted against. There is no anonymous mode — an IP address is not an identity, and a free tier keyed to one is a free tier keyed to a proxy pool.
get_account reports what is left, so an agent can plan around the limit instead of discovering it
as a failure halfway through a task:
{"tenant": "2captcha:8f14e45fceea167a",
"free_tier": {"allowance": {"max_calls": 200, "calls": 12, "remaining_calls": 188,
"max_spend_usd": 0.5, "remaining_spend_usd": 0.4871,
"window_hours": 720}}}
Nothing else on this server bills per call: CAPTCHA solves are charged to your 2Captcha balance as
they always were, and include_meta: true reports what any call actually cost. So when the
allowance runs out, calls are refused until the window refills — the message says so, and says the
operator can raise it. Need more than the allowance? Talk to the operator; on the hosted service
that is 2Captcha support.
Quick Start
Hosted server — no installation
Add the URL to your MCP client with an Authorization header:
URL: https://mcp.2captcha.com/mcp
Header: Authorization: Bearer YOUR_API_TOKEN
Your token is your 2Captcha API key (account settings) or the bearer token your server operator issued. Signing up is free and brings the monthly allowance with it.
Local server via npx
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>"
}
}
}
}
The local server mirrors the hosted tool surface over stdio — use it with clients that can't send auth headers or only launch local MCP servers.
Install
Every client below needs the same two things: the command npx @2captcha/mcp with API_TOKEN in
its environment, or — where the client speaks HTTP — the hosted URL plus an
Authorization: Bearer header. Get a token at
2captcha.com/setting; signing up is free and brings the
monthly allowance with it.
claude mcp add --transport http 2captcha https://mcp.2captcha.com/mcp \
--header "Authorization: Bearer YOUR_API_TOKEN"
Or locally:
claude mcp add 2captcha -e API_TOKEN=YOUR_API_TOKEN -- npx @2captcha/mcp
</details>
<details>
<summary><b>Claude Desktop</b></summary>
One click: download 2captcha-mcp-<version>.mcpb from the
latest release and open it. Claude
Desktop installs it as an extension and asks for your API token — no Node, no npx, no config file.
Or by hand: edit the config file (macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json) and restart the app:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>Cursor</b></summary>
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>Codex CLI</b></summary>
codex mcp add 2captcha --env API_TOKEN=YOUR_API_TOKEN -- npx @2captcha/mcp
Or add it to ~/.codex/config.toml by hand:
[mcp_servers.2captcha]
command = "npx"
args = ["@2captcha/mcp"]
env = { API_TOKEN = "YOUR_API_TOKEN" }
</details>
<details>
<summary><b>VS Code (GitHub Copilot)</b></summary>
Add to .vscode/mcp.json:
{
"servers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>MCP Inspector (explore the tools by hand)</b></summary>
API_TOKEN=YOUR_API_TOKEN npx @modelcontextprotocol/inspector npx @2captcha/mcp
Or connect the Inspector directly to https://mcp.2captcha.com/mcp (transport Streamable HTTP, header Authorization: Bearer YOUR_API_TOKEN).
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>Zed</b></summary>
Add to Zed's settings.json (cmd/ctrl + ,):
{
"context_servers": {
"2captcha": {
"source": "custom",
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>Warp</b></summary>
Settings → AI → Manage MCP servers → + Add, then paste:
{
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" },
"start_on_launch": true
}
}
</details>
<details>
<summary><b>Gemini CLI</b></summary>
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>Kimi Code CLI</b></summary>
Add to ~/.kimi-code/mcp.json, or .kimi-code/mcp.json for a single project:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
Or skip the local process — a url key instead of command makes it an HTTP server:
{
"mcpServers": {
"2captcha": {
"url": "https://mcp.2captcha.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_TOKEN" }
}
}
}
/mcp-config in the TUI edits the same file; /mcp shows connection status.
qwen mcp add 2captcha -e API_TOKEN=YOUR_API_TOKEN npx @2captcha/mcp
Or hosted:
qwen mcp add --transport http 2captcha https://mcp.2captcha.com/mcp \
--header "Authorization: Bearer YOUR_API_TOKEN"
Both write to ~/.qwen/settings.json (.qwen/settings.json for project scope), which you can edit
by hand — note the HTTP field is httpUrl, not url:
{
"mcpServers": {
"2captcha": {
"command": "npx",
"args": ["@2captcha/mcp"],
"env": { "API_TOKEN": "YOUR_API_TOKEN" }
}
}
}
</details>
<details>
<summary><b>DeepSeek Harness (<code>dsh</code>)</b></summary>
dsh reaches MCP servers through the @deepseek-ai/dsh-mcp-client plugin — one entry per server in
cordis.patch.yml, or any file you pass to --patch:
- id: mcp-2captcha
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: 2captcha
transport: stdio
command: npx
args: ['@2captcha/mcp']
env:
API_TOKEN: !!js process.env.API_TOKEN
Or against the hosted server:
- id: mcp-2captcha
name: '@deepseek
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
81.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
