Quick-starts
Cursor
Copy page
Add DarkCrawl to Cursor so it can read .onion pages for you.
Works with Cursor
-
Get a key, then set it in your environment as
DARKCRAWL_API_KEY. Start Cursor from a terminal where it is set. -
Add the server to
mcp.json:~/.cursor/mcp.jsonfor every project, or.cursor/mcp.jsoninside one project. Cursor reads the key fromDARKCRAWL_API_KEY, so the file never holds it.{ "mcpServers": { "darkcrawl": { "url": "https://api.darkcrawl.dev/mcp", "headers": { "Authorization": "Bearer ${env:DARKCRAWL_API_KEY}" } } } } -
Check it. Ask Cursor to list the tools DarkCrawl gives it. 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 to
mcp.json:~/.cursor/mcp.jsonfor every project, or.cursor/mcp.jsoninside one project. Put your key in place ofYOUR_API_KEY.{ "mcpServers": { "darkcrawl": { "type": "stdio", "command": "darkcrawl", "args": [ "--url", "http://127.0.0.1:3002", "mcp" ], "env": { "DARKCRAWL_API_KEY": "YOUR_API_KEY" } } } } -
Ask Cursor to list the tools DarkCrawl gives it. You should see the tools on the MCP page.
Cursor is a trademark of Anysphere, Inc.