# Build with AI

> Give an AI client the means to read .onion sites through DarkCrawl.

To call the hosted API you need a key. [Get a key](https://darkcrawl.dev/docs/build-with-ai/get-a-key/) says how.

Three things help an AI client work with DarkCrawl.

- **The MCP server.** A client gets DarkCrawl’s operations as tools, from the hosted endpoint at `https://api.darkcrawl.dev/mcp` with your key, or from `darkcrawl mcp` on your machine. See the [MCP page](https://darkcrawl.dev/docs/mcp/), and the quick-start for your client: [Claude Code](https://darkcrawl.dev/docs/quickstart/claude-code/), [Claude Desktop](https://darkcrawl.dev/docs/quickstart/claude-desktop/), [Cursor](https://darkcrawl.dev/docs/quickstart/cursor/), [Codex CLI](https://darkcrawl.dev/docs/quickstart/codex-cli/) or [any MCP client](https://darkcrawl.dev/docs/quickstart/any-mcp-client/).
- **The agent skill.** A folder that teaches an agent such as Claude Code how to use the `darkcrawl` command and its safety rules. See [Agent skill](https://darkcrawl.dev/docs/build-with-ai/agent-skill/).
- **Docs as plain text.** Every docs page is also served as Markdown, and `/docs/llms.txt` lists them all. See [llms.txt](https://darkcrawl.dev/docs/build-with-ai/llms-txt/).

> **Note:** Page text from an onion site is untrusted. Whatever you build, keep it apart from your own instructions and never act on instructions found in it.
