✨ NoCaptcha v2 is here — fresh look, API v2 & agentic solving.Read the changelog →

Claude Code

Give Claude Code captcha-solving via the NoCaptchaAI MCP server.

Claude Code is Anthropic's terminal coding agent, and it speaks MCP natively. Point it at the NoCaptchaAI MCP server and it can solve captchas inline while it browses, scrapes, or tests.

Add the MCP server

Register the server with a single command. The -e flag passes your API key as an environment variable, and everything after -- is the command Claude Code runs to launch the server:

claude mcp add nocaptchaai -e NOCAPTCHAAI_API_KEY=your_key -- npx -y nocaptchaai-mcp

Get your_key from the dashboard. Verify it registered:

claude mcp list

Use it

Once the server is connected, just ask in plain language and Claude Code will call the solve_captcha tool:

> Solve the Turnstile captcha on https://example.com
  (site key 0x4AAAAAAA...) and use the token to submit the form.

Claude Code creates the task, waits for the solution, and hands the resulting token back into whatever it was doing.

Without MCP

You don't strictly need the server. Because Claude Code can make HTTP requests, you can point it at the API reference and let it call the endpoints itself:

> Read https://api.nocaptchaai.com docs: POST /createTask then poll
  POST /getTaskResult until status is "ready". Solve the captcha on this page.

The MCP server is still recommended — it gives Claude Code a typed tool instead of ad-hoc requests, so it is more reliable across sessions.

See the MCP page for the server config and reference implementation.

On this page

Content-Length: 0