> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Build with AI

> Everything you need to onboard your AI agent to ScreenshotRender.

If you're developing with AI, ScreenshotRender gives your agent the web in a few ways: an MCP server with six tools, docs in Markdown for agents to read, and an API your agent can call directly.

* [Get credentials](#get-credentials)
* [Using ScreenshotRender as a tool](#using-screenshotrender-as-a-tool)
* [ScreenshotRender MCP server](#screenshotrender-mcp-server)
* [ScreenshotRender docs for agents](#screenshotrender-docs-for-agents)
* [Agent harnesses](#agent-harnesses)

## Get credentials

Create a free account at [screenshotrender.com](https://www.screenshotrender.com/login) and copy your API key from your [dashboard](https://www.screenshotrender.com/dashboard). It starts with `sr-`, and new accounts start with 100 free credits.

Your agent can also try the API without a key: requests without one share a small daily allowance. See [Billing](/billing.md#without-an-account).

## Using ScreenshotRender as a Tool

Each endpoint does one job. Give your agent the one that fits the task.

> [accordion] Screenshot: see what a page looks like
>
> Use it when your agent needs to see a page: check a layout, read a chart, or show a user what a site looks like. Returns a link to a PNG, the browser window or the full page. See [Screenshot](/features/screenshot.md).

> [accordion] Search: find pages by query
>
> Use it when your agent doesn't have a URL yet. Returns titles, URLs and descriptions, and can read every result in the same call. See [Search](/features/search.md).

> [accordion] Scrape: read a URL
>
> Use it when your agent has a URL and needs its content: Markdown, structured JSON, an answer to a question, or the passages that match a query. See [Scrape](/features/scrape.md).

> [accordion] Parse: read a document
>
> Use it for PDFs, Word files, spreadsheets and more, from a URL or a file. See [Parse](/features/parse.md).

> [accordion] Map: list the URLs on a site
>
> Use it to find the right page on a site before reading it. Costs 1 credit, whatever the size of the site. See [Map](/features/map.md).

> [accordion] Crawl: read a whole site
>
> Use it when your agent needs many pages of one site, like a docs section. Keep it small with `limit` and `includePaths`. See [Crawl](/features/crawl.md).

### How agents chain tools together

* **Search, then scrape**: search for a topic, then read the best results. Or do both in one call with `scrapeOptions`.
* **Map, then scrape**: map a site with `search` to find the right page, then read only that page.
* **Scrape, then screenshot**: read a page, and capture it when the layout matters.

## ScreenshotRender MCP Server

The [MCP server](/mcp-server.md) gives agents that speak MCP, like Claude Code, Claude Desktop and Cursor, all six tools.

> [card] [Set up the MCP server](/mcp-server.md)
>
> Run it locally with npx, or connect to the hosted server.

## ScreenshotRender Docs for Agents

**1. Get credentials**

See [Get credentials](#get-credentials) above.

**2. Markdown docs**

Every page of these docs is available as Markdown: add `.md` to its URL.

**3. llms.txt**

[llms.txt](https://www.screenshotrender.com/llms.txt) describes the whole API in one plain text file: every endpoint with its options, credits and error codes.

**4. Copy to ChatGPT or Claude**

Use the menu at the top of any page to copy it, or open it in ChatGPT or Claude.

## Agent Harnesses

> [card] [Claude Code](/quickstarts/claude-code.md)
>
> One command in your terminal.

> [card] [Claude Desktop](/quickstarts/claude-desktop.md)
>
> Add it to claude\_desktop\_config.json.

> [card] [Cursor](/quickstarts/cursor.md)
>
> Add it to \~/.cursor/mcp.json.

## SDKs

> [card] [Python](/sdks/python.md)

> [card] [Node](/sdks/node.md)
