MCP Server for CapSolver — give AI agents the ability to solve CAPTCHAs (reCAPTCHA v2/v3, Cloudflare Turnstile) via the Model Context Protocol. Works with Claude, Cursor, Windsurf, and any MCP client.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add capsolver-mcp -- python -m capsolver-mcp{
"mcpServers": {
"capsolver-mcp": {
"command": "python",
"args": ["-m", "capsolver-mcp"],
"env": {
"CAPSOLVER_API_KEY": "<capsolver_api_key>"
}
}
}
}CAPSOLVER_API_KEYMCP Servers overview
# capsolver-mcp
<!-- mcp-name: io.github.capsolver-ai/capsolver-mcp -->
MCP Server for [CapSolver](https://capsolver.com) — expose captcha-solving capabilities to AI agents via the [Model Context Protocol](https://modelcontextprotocol.io).
Published on PyPI as [`capsolver-mcp`](https://pypi.org/project/capsolver-mcp/) and listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.capsolver-ai/capsolver-mcp`.
See the [capsolver-ai-hub](https://github.com/capsolver-ai/capsolver-ai-hub) repo for integration examples and the full documentation.
For detailed MCP client setup (Claude Desktop, Claude Code, Cursor, Windsurf, Cline, and more), see [docs/mcp-integration.md](docs/mcp-integration.md).
## Install
```bash
pip install capsolver-mcp
pip install capsolver-mcp[browser] # with Playwright support (for detect/solve_on_page)
```
All tools read the API key from the environment:
```bash
# bash / zsh
export CAPSOLVER_API_KEY="your-capsolver-api-key"
# PowerShell
$env:CAPSOLVER_API_KEY = "your-capsolver-api-key"
# cmd
set CAPSOLVER_API_KEY=your-capsolver-api-key
```
## Usage
### CLI
```bash
# stdio (default — for local MCP clients like Claude Desktop)
capsolver-mcp
# SSE (for remote / HTTP access)
capsolver-mcp --transport sse --host 0.0.0.0 --port 8000
# Streamable HTTP (MCP 2025-03-26 spec)
capsolver-mcp --transport streamable-http --host 0.0.0.0 --port 8000
```
#### CLI options
```
capsolver-mcp [OPTIONS]
--transport {stdio,sse,streamable-http}
Transport protocol (default: stdio)
--host HOST Bind host for SSE/HTTP transports (default: 127.0.0.1)
--port PORT Bind port for SSE/HTTP transports (default: 8000)
--api-key KEY API key (fallback: CAPSOLVER_API_KEY env)
--name NAME Server name (default: capsolver)
```
### Programmatic
```python
from capsolver_mcp.server import create_server
server = create_server(
api_key="your-key", # or set CAPSOLVER_API_KEY env var
server_name="capsolver", # name advertised to MCP clients
host="127.0.0.1", # bind host for SSE / HTTP transports
port=8000, # bind port for SSE / HTTP transports
)
server.run(transport="sse") # or "stdio" or "streamable-http"
```
> **Note:** `host` and `port` are constructor parameters on `create_server()`
> (forwarded to `FastMCP`), matching the MCP Python SDK 1.x API.
## Configure in Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"capsolver": {
"command": "capsolver-mcp",
"env": {
"CAPSOLVER_API_KEY": "your-key"
}
}
}
}
```
To run without installing it globally, use `"command": "uvx"` with
`"args": ["capsolver-mcp"]` — this is what MCP clients generate from the
registry entry. See [docs/mcp-integration.md](docs/mcp-integration.md) for
per-client examples.
## Available tools
| Tool | Browser? | Description |
|--------------------------|----------|----------------------------------------------------|
| `solve_captcha` | No | Solve a captcha by type + site params (token mode) |
| `detect_captchas` | Yes | Scan a page URL and list present captcha types |
| `solve_on_page` | Yes | Detect + solve + autofill all captchas on a page |
| `get_balance` | No | Check account balance and packages |
| `get_supported_captchas` | No | List all supported captcha types and handlers |
Browser-based tools (`detect_captchas`, `solve_on_page`) require the `browser` extra:
```bash
pip install capsolver-mcp[browser]
playwright install chromium
```
## Development
```bash
git clone https://github.com/capsolver-ai/capsolver-mcp.git
cd capsolver-mcp
uv sync --all-extras # or: pip install -r requirements-dev.txt
uv run pytest # run tests
uv run ruff check src tests # lint
```
## License
MIT
What people ask about capsolver-mcp
What is capsolver-ai/capsolver-mcp?
+
capsolver-ai/capsolver-mcp is mcp servers for the Claude AI ecosystem. MCP Server for CapSolver — give AI agents the ability to solve CAPTCHAs (reCAPTCHA v2/v3, Cloudflare Turnstile) via the Model Context Protocol. Works with Claude, Cursor, Windsurf, and any MCP client. It has 1 GitHub stars and its last recorded update is dated 2026-09-18.
How do I install capsolver-mcp?
+
You can install capsolver-mcp by cloning the repository (https://github.com/capsolver-ai/capsolver-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is capsolver-ai/capsolver-mcp safe to use?
+
Our security agent has analyzed capsolver-ai/capsolver-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains capsolver-ai/capsolver-mcp?
+
capsolver-ai/capsolver-mcp is maintained by capsolver-ai. The last recorded GitHub activity is dated 2026-09-18, with 0 open issues.
Are there alternatives to capsolver-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy capsolver-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/capsolver-ai-capsolver-mcp)<a href="https://claudewave.com/repo/capsolver-ai-capsolver-mcp"><img src="https://claudewave.com/api/badge/capsolver-ai-capsolver-mcp" alt="Featured on ClaudeWave: capsolver-ai/capsolver-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.