NSLSolver MCP server
The official Model Context Protocol server for NSLSolver. Add it to Claude Code, Claude Desktop, Cursor, VS Code or Windsurf and your AI agent can solve Cloudflare Turnstile, Cloudflare Challenge, Kasada, Akamai and reCAPTCHA v3 on its own while it browses, scrapes or tests.
Set it up in 2 minutes
1.Get an API key
Create a free account. Your key works right away, and verifying your email adds 100 free solves. Copy it from the dashboard.
2.Add the server to your client
Pick your client and paste the config. Replace YOUR_API_KEY with your key. Requires Node.js 18 or newer.
Terminalclaude mcp add nslsolver -e NSLSOLVER_API_KEY=YOUR_API_KEY -- npx -y nslsolver-mcpShow the config for every client
Claude Code · Terminalclaude mcp add nslsolver -e NSLSOLVER_API_KEY=YOUR_API_KEY -- npx -y nslsolver-mcpClaude Desktop · claude_desktop_config.json{ "mcpServers": { "nslsolver": { "command": "npx", "args": ["-y", "nslsolver-mcp"], "env": { "NSLSOLVER_API_KEY": "YOUR_API_KEY" } } } }Cursor · ~/.cursor/mcp.json{ "mcpServers": { "nslsolver": { "command": "npx", "args": ["-y", "nslsolver-mcp"], "env": { "NSLSOLVER_API_KEY": "YOUR_API_KEY" } } } }VS Code · .vscode/mcp.json{ "inputs": [ { "type": "promptString", "id": "nslsolver-key", "description": "NSLSolver API key", "password": true } ], "servers": { "nslsolver": { "command": "npx", "args": ["-y", "nslsolver-mcp"], "env": { "NSLSOLVER_API_KEY": "${input:nslsolver-key}" } } } }Windsurf · ~/.codeium/windsurf/mcp_config.json{ "mcpServers": { "nslsolver": { "command": "npx", "args": ["-y", "nslsolver-mcp"], "env": { "NSLSOLVER_API_KEY": "YOUR_API_KEY" } } } }3.Ask your agent
Describe what you need in plain language. The agent picks the right tool and uses the token, cookies or headers in its next request.
- “Get a Turnstile token for https://example.com/login. The sitekey is 0x4AAAAAAA8vwvf7nF7pKCe8.”
- “This page shows "Just a moment...". Get a cf_clearance cookie through my proxy http://user:pass@1.2.3.4:8080.”
- “How much NSLSolver balance do I have left?”
Want the full walkthrough? Read Give your AI agent a captcha solver on the blog.
Tools the server exposes
Each tool maps to one NSLSolver service. Only successful solves are billed; failed and rate-limited calls are free.
| Tool | What it does | Avg. time | Per 1,000 |
|---|---|---|---|
solve_turnstile | Cloudflare Turnstile widget → token | ~250 ms | $0.80 |
solve_cloudflare_challenge | Cloudflare "Just a moment..." challenge → cf_clearance cookie + user agent | ~2.5 s | $1.00 |
solve_recaptcha_v3 | reCAPTCHA v3 and Enterprise → token | ~4.5 s | $1.00 |
solve_kasada | Kasada (KPSDK) → x-kpsdk-* headers | ~6 s | $1.50 |
solve_akamai | Akamai Bot Manager (beta) → _abck and session cookies | ~9 s | $2.00 |
get_balance | Balance, allowed types and rate limits (free) | – | – |
MCP server FAQ
What is the NSLSolver MCP server?
It is a small open-source program (npm package nslsolver-mcp) that speaks the Model Context Protocol. It gives AI agents six tools that call the NSLSolver API: one per supported captcha type plus a balance check.
Which AI clients does it work with?
Any MCP client that can run a local stdio server: Claude Code, Claude Desktop, Cursor, VS Code with GitHub Copilot agent mode, Windsurf, Cline, Zed and others. The config is the same npx command everywhere.
How much does it cost?
The server itself is free and MIT-licensed. Solves are billed at the normal NSLSolver rates, from $0.80 per 1,000 Turnstile solves, and only successful solves are charged. New accounts get 100 free solves after email verification.
Does the agent need a proxy?
Not for Turnstile or Kasada. Cloudflare Challenge, Akamai and reCAPTCHA v3 need one, because the returned cookie or score is tied to the exit IP. Give the agent your proxy in the prompt, in protocol://user:pass@host:port format.
Is my API key safe?
The key stays on your machine in your client config, and the server only sends it to api.nslsolver.com. In VS Code you can use an input prompt so the key is stored in the secure secret store instead of a file.
Give your agent a captcha solver
Create a free account, copy your API key and paste one config block. 100 free solves, no card required.