# AI Visibility, llms.txt and Prerender Auditor (`bodacious_mistral/geo-ai-crawler-audit`) Actor

Audit up to 100 URLs for AI search readiness: AI crawler rules in robots.txt (GPTBot, ClaudeBot, PerplexityBot and more), llms.txt validity, what the raw HTML holds before JavaScript runs, and JSON-LD. Score out of 100 with ranked fixes. Pay per audited URL. Works through Apify MCP.

- **URL**: https://apify.com/bodacious_mistral/geo-ai-crawler-audit.md
- **Developed by:** [Red Center Studio](https://apify.com/bodacious_mistral) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 urls audited

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI Visibility, llms.txt and Prerender Auditor

Find out in seconds whether AI search tools can read your website. For every URL you give it, this Actor checks which AI crawlers your robots.txt lets in (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot and more), whether `/llms.txt` and `/llms-full.txt` exist and follow the llms.txt proposal, whether the page's content is in the raw HTML or only appears after JavaScript runs, and whether its JSON-LD structured data parses. You get a 0 to 100 GEO readiness score, severity-ranked findings and a concrete fix for each one. It uses plain HTTP fetches (no browser, no proxies), so it is fast and cheap, and the same input always gives the same score. It also runs as an MCP server, so Claude, Cursor and other AI assistants can audit a URL as a tool.

### What it checks

- **AI crawler access.** Reads robots.txt and applies the RFC 9309 matching rules (named group beats wildcard, longest path wins, allow wins a tie) for 15 AI crawlers. A robots.txt that answers with a server error is treated as "keep out of the whole site", as the standard says.
- **llms.txt and llms-full.txt.** Presence, HTTP status, content type and structure: an H1 title first, an optional blockquote summary, H2 sections with lists of links. A server that answers an HTML page at that address (a soft 404) counts as missing.
- **Server rendered or client rendered.** From the raw HTML: visible word count, empty app mounts (`#root`, `#app`, `#__next` and similar), scripts, and a "you need to enable JavaScript" notice. This is what a crawler that does not run JavaScript sees.
- **Head tags.** Title, meta description, canonical URL, Open Graph tags, H1, robots meta and `X-Robots-Tag` (noindex).
- **JSON-LD.** Parses every `application/ld+json` block, including `@graph`, lists the schema types, and flags blocks that do not parse.

### Pricing

This Actor uses pay per event. You pay for results, not for compute time.

| Event | Price | When it is charged |
|---|---|---|
| `url-audited` | $0.002 | Once for each URL that was fetched and audited, even if the audit finds many problems |

- **Not charged:** URLs that cannot be fetched at all (domain does not resolve, connection refused, timeout, blocked address, invalid address). They appear in the dataset as `status: "error"` rows with the reason.
- **Run start.** Apify also charges its own small run-start event (`apify-actor-start`) for runs started from the Console or the API with an input. This Actor does not charge it in code; it is Apify's standard event and it is not free. Tool calls over MCP in Standby mode are charged one `url-audited` event each.
- A URL that answers with an error page (for example HTTP 404) was fetched, so it is audited and charged: its robots.txt and llms.txt results are still real, and the report says the page itself is an error.
- The same address listed twice is audited and charged once.
- Example: 1,000 URLs that are fetched and audited cost $2.00 in `url-audited` events ($2.00 per 1,000), plus Apify's run-start event for each run. URLs that cannot be fetched add nothing.
- Set the maximum cost per run in the run options. When the limit is reached the Actor stops cleanly, keeps every result it already produced and says so in the log.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `urls` | array of strings | `["https://redcenterstudio.com"]` | 1 to 100 web addresses, one per line. You can leave out `https://`. Only http and https on standard ports are accepted. Private, internal and local addresses are refused. |

Example input:

```json
{
  "urls": [
    "https://redcenterstudio.com",
    "https://www.iana.org"
  ]
}
```

Press Start without changing anything to try the prefilled example.

### Output

One dataset row per URL. The flat columns are shown in the dataset's Overview table. The detail sits in `details`, `findings` and `nextSteps`.

| Column | Meaning |
|---|---|
| `url` | The address audited |
| `status` | `ok` or `error` |
| `score`, `grade` | GEO readiness score 0 to 100 and grade A to F |
| `renderingRisk` | `low`, `medium`, `high`, or `unknown` when the URL is not an HTML page |
| `wordCount` | Visible words in the raw HTML |
| `aiCrawlersBlocked`, `aiCrawlersAllowed` | Crawler names that robots.txt blocks and allows for this URL's path |
| `llmsTxt` | `valid`, `invalid` or `missing` |
| `llmsFullTxt` | `present` or `missing` |
| `schemaTypes` | JSON-LD types found |
| `findingsCount`, `topFinding` | Number of findings and the title of the most severe one |
| `error` | Why the URL could not be audited, otherwise `null` |
| `details` | Full robots.txt, llms.txt, rendering, metadata and structured data results and the score breakdown |
| `findings` | Each finding has `id`, `severity` (`critical`, `high`, `medium`, `low`), `title`, `detail` and `fix` |
| `nextSteps` | Links to related resources |

Rows for URLs that could not be fetched have the same columns, with `null` in place of results.

Sample row, trimmed (real output from a live run, see `samples/output.json` for the full file):

```json
{
  "url": "https://redcenterstudio.com/",
  "status": "ok",
  "score": 97,
  "grade": "A",
  "renderingRisk": "low",
  "wordCount": 746,
  "aiCrawlersBlocked": [],
  "aiCrawlersAllowed": [
    "OAI-SearchBot",
    "ChatGPT-User",
    "GPTBot",
    "Claude-SearchBot",
    "..."
  ],
  "llmsTxt": "valid",
  "llmsFullTxt": "present",
  "schemaTypes": [
    "ItemList",
    "ProfessionalService",
    "WebPage",
    "WebSite"
  ],
  "findingsCount": 1,
  "topFinding": "llms.txt is valid but can be improved",
  "error": null,
  "details": {
    "page": {
      "finalUrl": "https://redcenterstudio.com/",
      "httpStatus": 200,
      "redirects": 0,
      "contentType": "text/html",
      "htmlBytes": 37558,
      "truncated": false,
      "fetchMs": 460,
      "isHtml": true
    },
    "llmsTxt": {
      "url": "https://redcenterstudio.com/llms.txt",
      "status": 200,
      "found": true,
      "softNotFound": false,
      "contentType": "text/plain",
      "bytes": 75143,
      "valid": true,
      "title": "Red Center Studio",
      "hasSummary": true,
      "sections": 22,
      "links": 159,
      "issues": [
        {
          "level": "warning",
          "message": "33 list items are not in the form \"- [name](url): notes\"."
        }
      ]
    },
    "rendering": {
      "risk": "low",
      "wordCount": 746,
      "emptyMounts": []
    },
    "...": "robots, llmsFullTxt, metadata, structuredData, scoreBreakdown"
  },
  "findings": [
    {
      "id": "llms-txt-warnings",
      "severity": "low",
      "title": "llms.txt is valid but can be improved",
      "detail": "33 list items are not in the form \"- [name](url): notes\". 3 sections have no links.",
      "fix": "Address each warning above. In the llms.txt format a short summary sits in a blockquote under the title, each section is an H2 heading, and each list item is \"- [Page name](https://example.com/page): what it covers\"."
    }
  ],
  "nextSteps": [
    {
      "title": "Run the free single-site GEO audit",
      "url": "https://redcenterstudio.com/geo-audit/",
      "why": "Checks one site with 17 checks and gives copy-paste fixes for schema, llms.txt and robots.txt."
    },
    "..."
  ]
}
```

### How the score works

The score is the sum of the points below. It is deterministic: the same page and site state always give the same number. It measures readiness only. It does not know how any AI assistant ranks or cites a site.

| Check | Points | What earns them |
|---|---|---|
| `ai-crawler-access` | 25 | robots.txt lets AI search and assistant crawlers in |
| `robots-sitemap` | 3 | robots.txt exists and lists a sitemap |
| `llms-txt` | 12 | /llms.txt is present and follows the proposal |
| `llms-full-txt` | 3 | /llms-full.txt is present |
| `server-rendered` | 20 | Content is in the raw HTML (server rendered) |
| `content-depth` | 5 | Enough visible text in the raw HTML |
| `title` | 4 | Page has a title |
| `meta-description` | 4 | Page has a meta description |
| `canonical` | 3 | Page declares a canonical URL |
| `open-graph` | 4 | Open Graph title, description and image |
| `json-ld` | 12 | Valid JSON-LD that names the site or page |
| `indexable` | 5 | Page answers 200 as HTML and is not noindex |

How the points are given:

- `ai-crawler-access`: 25 points times the share of the 9 AI search and assistant crawlers that robots.txt allows (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Googlebot, Bingbot, Applebot), rounded. Training crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent) are reported but not scored: blocking them is a valid business choice.
- `robots-sitemap`: all 3 points when robots.txt exists and has a Sitemap line.
- `llms-txt`: 12 points for a valid file with no warnings, 9 for a valid file with warnings, 4 for a file that exists but breaks the structure, 0 when missing.
- `server-rendered`: 20 points for low rendering risk, 10 for medium, 0 for high.
- `content-depth`: 5 points for 300 or more visible words, 3 for 150, 1 for 50, otherwise 0.
- `open-graph`: 4 points times the share of og:title, og:description and og:image that are present, rounded.
- `json-ld`: 8 points for at least one valid block, plus 4 when a block names the organization or the page type, minus 4 when any block does not parse.
- `indexable`: 5 points when the page answers with a success status as HTML and carries no noindex (meta robots or `X-Robots-Tag`).

Grades: A is 90 or more, B is 75, C is 60, D is 40, F is below 40.

Rendering risk is read from the raw HTML only. It is `high` when an app mount such as `#root` is empty and no mount holds content, or when the page has fewer than 30 words and 3 or more scripts. It is `medium` when a mount holds fewer than 50 words and the page has fewer than 150, or the page has fewer than 100 words and at least one script. Otherwise it is `low`.

Findings are sorted by severity (critical, high, medium, low), then by id.

### Use it from an AI assistant (MCP)

The Actor runs as an Apify Server Actor (also called Standby mode) with an MCP endpoint at `/mcp` and one tool, `audit_url`, which audits one URL and returns the same row as the dataset (as structured content, plus a short text summary). Each successful call is charged one `url-audited` event. A URL that cannot be fetched returns a tool error and is not charged.

**Recommended: Apify's hosted MCP server.** It needs no token in your config: your client opens a browser to sign in to Apify the first time.

```
https://mcp.apify.com?tools=bodacious_mistral/geo-ai-crawler-audit
```

The `tools` parameter replaces the default tool selection, so only this Actor is loaded. To use an API token instead, send the same URL with the header `Authorization: Bearer <APIFY_TOKEN>`.

**Claude Desktop and claude.ai.** Open Settings, Connectors, add a custom connector, paste the URL above and sign in to Apify when asked.

**Cursor.** Add to `.cursor/mcp.json` (OAuth, no token):

```json
{
  "mcpServers": {
    "geo-ai-crawler-audit": {
      "url": "https://mcp.apify.com?tools=bodacious_mistral/geo-ai-crawler-audit"
    }
  }
}
```

With a token instead:

```json
{
  "mcpServers": {
    "geo-ai-crawler-audit": {
      "url": "https://mcp.apify.com?tools=bodacious_mistral/geo-ai-crawler-audit",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

**Claude Code.**

```bash
claude mcp add --transport http geo-ai-crawler-audit "https://mcp.apify.com?tools=bodacious_mistral/geo-ai-crawler-audit"
```

Then run `/mcp` inside Claude Code to sign in. With a token instead, add `--header "Authorization: Bearer <APIFY_TOKEN>"`.

**Direct Server URL.** You can also call the Actor's own server endpoint: `<STANDBY_URL>/mcp`. Copy the real URL from the Server tab of the Actor in Apify Console, because the exact host name depends on the account and Actor name. Authenticate with `Authorization: Bearer <APIFY_TOKEN>` (or `X-Apify-Authorization: Bearer <APIFY_TOKEN>`). The endpoint speaks MCP Streamable HTTP in stateless mode: POST only, a plain JSON response, no session. GET and DELETE on `/mcp` answer 405.

### Known limitations

- **No JavaScript rendering.** The Actor reads the raw HTML, exactly as a crawler that does not run scripts would. It does not tell you what a browser shows after scripts run, and a page can be fully usable to a person while scoring high rendering risk.
- **robots.txt shows rules, not firewall behaviour.** The Actor reports what robots.txt says. A firewall, CDN or bot-protection rule can still block a crawler that robots.txt allows, and the Actor does not test that.
- **One page per URL.** The page itself is audited, plus robots.txt, llms.txt and llms-full.txt on the same host. It does not crawl the rest of the site.
- **robots.txt is checked for the URL's path.** A rule that blocks `/private` does not affect an audit of the home page. Audit each important path if rules differ.
- **Word count and rendering risk are heuristics.** They are documented above and deterministic, but they are estimates of how much a non-JavaScript crawler can read.
- **llms.txt is a proposal, not a standard.** The check follows the structure described at llmstxt.org. No AI provider has promised to read the file.
- **Size and time limits.** The page is read up to 2 MB and the other files up to 500 KB, with a 10 second timeout for the page and 6 seconds for each file. Pages that take longer, or that block automated requests, come back as error rows.
- **Public sites only.** Pages behind a login, private networks and non-standard ports are refused.
- **The score is a readiness measure.** It does not predict rankings or citations in any AI assistant.

### Links

- Landing page and guides: https://redcenterstudio.com/apify/geo-ai-crawler-audit/
- Free audit of a single site, with copy-paste fixes: https://redcenterstudio.com/geo-audit/

# Actor input Schema

## `urls` (type: `array`):

One web address per line, up to 100. Each URL is audited on its own: the page itself, plus robots.txt, llms.txt and llms-full.txt on the same site. You can leave out https://. The same address listed twice is audited once.

## Actor input object example

```json
{
  "urls": [
    "https://redcenterstudio.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One row per entry checked, in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://redcenterstudio.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bodacious_mistral/geo-ai-crawler-audit").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://redcenterstudio.com"] }

# Run the Actor and wait for it to finish
run = client.actor("bodacious_mistral/geo-ai-crawler-audit").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://redcenterstudio.com"
  ]
}' |
apify call bodacious_mistral/geo-ai-crawler-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bodacious_mistral/geo-ai-crawler-audit"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iGNoT0Fr2CnEBZCOL/builds/5bqNdLlja8hy2Ky4q/openapi.json
