Quick-starts
Claude Code
Copy page
Add DarkCrawl to Claude Code so it can read .onion pages for you.
Works with Claude Code
-
Get a key, then set it in your environment as
DARKCRAWL_API_KEY. Start Claude Code from a terminal where it is set. -
Add the server to
.mcp.jsonin your project, merging it into anymcpServersyou already have. Claude Code reads the key fromDARKCRAWL_API_KEY, so the file never holds it.{ "mcpServers": { "darkcrawl": { "type": "http", "url": "https://api.darkcrawl.dev/mcp", "headers": { "Authorization": "Bearer ${DARKCRAWL_API_KEY}" } } } } -
Check it. Ask Claude Code to list the tools DarkCrawl gives it, or run
/mcp. You should see the tools on the MCP page.
-
Run DarkCrawl on your own machine. The commands below point at it at
http://127.0.0.1:3002. -
Install the
darkcrawlcommand with its MCP extra, from the repository root.uv tool install --reinstall --python 3.13 '.[mcp]' -
Add the server. Run this in a terminal, and put your key in place of
YOUR_API_KEY.claude mcp add --env DARKCRAWL_API_KEY=YOUR_API_KEY --transport stdio darkcrawl -- darkcrawl --url http://127.0.0.1:3002 mcp -
Check it. Ask Claude Code to list the tools DarkCrawl gives it. You should see the tools on the MCP page.