2CaptchaMCP
Integrates with 2Captcha to solve various CAPTCHA types (image, reCAPTCHA, hCaptcha, etc.) for AI agents via MCP.
README
2Captcha MCP Server
A Model Context Protocol (MCP) server implementation that integrates with 2Captcha to provide robust CAPTCHA solving capabilities for AI agents.
Features
- Balance Check: Monitor your 2Captcha account balance.
- Image Captcha: Solve traditional image-based CAPTCHAs (file, base64, or HTML).
- reCAPTCHA v2: Solve reCAPTCHA v2 and Enterprise versions.
- hCaptcha: Solve hCaptcha widgets.
- Cloudflare Turnstile: Solve Cloudflare's invisible challenge.
- Arkose Labs (FunCaptcha): Solve FunCaptcha/Arkose challenges.
- GeeTest: Solve GeeTest v3 challenges.
Installation
Running with npx
You can run the server directly using npx:
env TWOCAPTCHA_API_KEY=YOUR_API_KEY_HERE npx -y 2captcha-mcp
Note for Windows users: If you encounter issues with environment variables, try:
cmd /c "set TWOCAPTCHA_API_KEY=YOUR_API_KEY_HERE && npx -y 2captcha-mcp"
Configuration
Environment Variables
TWOCAPTCHA_API_KEY(Required): Your 2Captcha API key. You can find this in your 2Captcha Dashboard.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"2captcha-mcp": {
"command": "npx",
"args": ["-y", "2captcha-mcp"],
"env": {
"TWOCAPTCHA_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Available Tools
1. Balance Check (get_balance)
Check your current 2Captcha account balance.
Prompt Example:
"How much balance do I have left on 2Captcha?"
2. Solve Image Captcha (solve_image)
Solve an image-based CAPTCHA. Supports local file paths, base64 strings, or HTML snippets containing <img> tags.
Arguments:
body: The image source (path, base64, or HTML).numeric: 0=default, 1=only digits, 2=only letters, 3=either, 4=both (optional).min_len/max_len: Length constraints (optional).
Prompt Example:
"Solve this captcha image: <img src='data:image/png;base64,...'>"
3. Solve reCAPTCHA v2 (solve_recaptcha_v2)
Solve reCAPTCHA v2 or Enterprise.
Arguments:
pageurl: The URL of the page where the captcha is located.googlekey: The sitekey (data-sitekey).enterprise: Set totruefor enterprise version.invisible: Set totruefor invisible version.
4. Solve hCaptcha (solve_hcaptcha)
Solve hCaptcha widgets.
Arguments:
pageurl: The URL of the page.sitekey: The hCaptcha sitekey.
5. Solve Turnstile (solve_turnstile)
Solve Cloudflare Turnstile challenges.
Arguments:
pageurl: The URL of the page.sitekey: The Turnstile sitekey.
6. Solve Arkose/FunCaptcha (solve_arkose)
Solve Arkose Labs/FunCaptcha challenges.
Arguments:
pageurl: The URL of the page.publickey: The Arkose public key.
7. Solve GeeTest (solve_geetest)
Solve GeeTest v3 challenges.
Arguments:
pageurl: The URL of the page.gt: The GeeTestgtvalue.challenge: The GeeTestchallengevalue.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.