Capsolver
FreeNot checkedMCP Server for CapSolver — give AI agents the ability to solve CAPTCHAs (reCAPTCHA v2/v3, Cloudflare Turnstile) via the Model Context Protocol. Works with Claud
About
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.
README
MCP Server for CapSolver — expose captcha-solving capabilities to AI agents via the Model Context Protocol.
See the 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.
Install
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 / 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
# 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
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:
hostandportare constructor parameters oncreate_server()(forwarded toFastMCP), matching the MCP Python SDK (>=1.0) API.
Configure in Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"capsolver": {
"command": "capsolver-mcp",
"env": {
"CAPSOLVER_API_KEY": "your-key"
}
}
}
}
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:
pip install capsolver-mcp[browser]
playwright install chromium
Development
git clone https://github.com/capsolver-ai/mcp-capsolver.git
cd mcp-capsolver
uv sync --all-extras # or: pip install -r requirements-dev.txt
uv run pytest # run tests
uv run ruff check src tests # lint
License
ISC
Install Capsolver in Claude Desktop, Claude Code & Cursor
unyly install capsolverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add capsolver -- uvx --from git+https://github.com/capsolver-ai/capsolver-mcp capsolver-mcpStep-by-step: how to install Capsolver
FAQ
Is Capsolver MCP free?
Yes, Capsolver MCP is free — one-click install via Unyly at no cost.
Does Capsolver need an API key?
No, Capsolver runs without API keys or environment variables.
Is Capsolver hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Capsolver in Claude Desktop, Claude Code or Cursor?
Open Capsolver on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Capsolver with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
