nokk — MCP server for Claude Code: stealth browser that clears Cloudflare
nokk — an MCP server built in Rust with a real V8 engine and DOM that replicates Chrome's TLS and HTTP fingerprint to pass Cloudflare challenges — no Chromium required.
Apache-2.0 ★ 32 updated 2026-10-28
claude mcp add --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> --transport stdio nokk -- uvx nokk-mcpWhat nokk does
nokk runs on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and several other platforms. The core is a Rust runtime with V8 and a DOM; the TLS handshake and HTTP/2 fingerprints (JA3/JA4) match Chrome 151. There is no navigator.webdriver and no CDP detection artifacts, so anti-bot systems see a regular Chrome session.
Benchmarks on nokk 0.1.35 across 8 production sites show 24 of 24 Cloudflare solves; median wall time is 12.4 s, peak memory per solve around 570 MB versus ~720 MB for Chrome under Puppeteer. At idle the process takes about 60 MB in a single process. Ad and tracker requests are dropped by default; anti-bot vendor requests are always allowed through because they must complete to issue a clearance cookie.
Screenshots, PDFs and layout rendering are not available — nokk has no rendering engine, and CDP coverage covers navigation and scripting only. Installation requires Python with uvx; the nokk-mcp package is on PyPI. Proxy routing, fingerprint rotation and auto-solve behaviour are controlled through NOKK_PROXY, NOKK_ROTATE_FINGERPRINT and NOKK_NO_AUTO_SOLVE.
What it helps with
- fetch the content of a page behind a Cloudflare interstitial
- connect Puppeteer or Playwright to a CDP endpoint without launching Chromium
- run DOM queries on pages with Turnstile widgets through an AI agent
- route browser sessions through a proxy with per-context fingerprint rotation
- scrape a protected page without exposing headless signals
Example prompts for the agent
- Go to
https://www.scrapingcourse.com/cloudflare-challengeand return the text of theh2heading - Connect to nokk over CDP, navigate past the Cloudflare challenge, and print
document.title - Launch nokk with fingerprint rotation and proxy
socks5://host:1080, then load the target page
How to install nokk
Platform CLI
claude mcp add --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> --transport stdio nokk -- uvx nokk-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>
Platform CLI
codex mcp add nokk --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> -- uvx nokk-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>
Config file
{
"mcpServers": {
"nokk": {
"command": "uvx",
"args": [
"nokk-mcp"
],
"env": {
"NOKK_PROXY": "<NOKK_PROXY>",
"NOKK_ROTATE_FINGERPRINT": "<NOKK_ROTATE_FINGERPRINT>",
"NOKK_NO_AUTO_SOLVE": "<NOKK_NO_AUTO_SOLVE>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>
Config file
{
"servers": {
"nokk": {
"type": "stdio",
"command": "uvx",
"args": [
"nokk-mcp"
],
"env": {
"NOKK_PROXY": "<NOKK_PROXY>",
"NOKK_ROTATE_FINGERPRINT": "<NOKK_ROTATE_FINGERPRINT>",
"NOKK_NO_AUTO_SOLVE": "<NOKK_NO_AUTO_SOLVE>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>
Platform CLI
gemini mcp add -e NOKK_PROXY=<NOKK_PROXY> -e NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> -e NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> nokk uvx nokk-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nokk-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about nokk
How do I install nokk in Claude Code?
Run claude mcp add nokk -- uvx nokk-mcp. To set proxy or solve options, use the full form: `claude mcp add --env NOKK_PROXY=<NOKK_PROXY> --env NOKK_ROTATE_FINGERPRINT=<NOKK_ROTATE_FINGERPRINT> --env NOKK_NO_AUTO_SOLVE=<NOKK_NO_AUTO_SOLVE> --transport stdio nokk -- uvx nokk-mcp`.
What does nokk do?
nokk is a headless browser engine written in Rust that mimics Chrome's TLS and HTTP fingerprint to pass Cloudflare challenges. AI agents control it through the MCP interface; Puppeteer and Playwright connect over CDP as they would to any Chrome instance.
Do I need to install a browser separately?
No browser download is needed. The Python package (pip install nokk) and the Node package (npm install @koloss777/nokk) both ship a prebuilt binary for Linux x86_64/ARM64, macOS Apple Silicon, and Windows x64. Other platforms require a build from source.