# AI Readiness Audit – GPTBot Access, llms.txt, Schema, GEO Score (`gazidev/ai-readiness-audit`) Actor

Audit any site for AI search and agents: which AI crawlers robots.txt allows (GPTBot, ClaudeBot, PerplexityBot and others), Content-Signal rules, llms.txt, agents.md, MCP and UCP discovery files, JSON-LD and server-rendered text. Score 0–100 with fixes.

- **URL**: https://apify.com/gazidev/ai-readiness-audit.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 site auditeds

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/running/actors-in-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 Readiness Audit - GPTBot Access, llms.txt, Schema and a GEO Score

Check how ready a website is for AI search and AI agents, in bulk. For each URL you get:

- **AI crawler access:** whether `robots.txt` allows or blocks GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot and Applebot-Extended, or any token you add;
- **Content-Signal** preferences from `robots.txt` (`search`, `ai-input`, `ai-train`);
- **Discovery files:** `llms.txt` (with size and link count), `agents.md`, the MCP server card and the UCP profile;
- **JSON-LD types** on the page, and how much **text is in the HTML before JavaScript runs**;
- **Sitemap** presence;
- a **score from 0 to 100**, a grade, the points behind the score, and a list of issues with fixes.

Pricing is **$3 per 1,000 audited URLs**, plus a $0.00005 start fee. URLs that could not be audited are free.

> **The score is a heuristic, not proof of AI visibility.** It is our own weighted checklist of technical signals we can measure from outside. It does not show whether ChatGPT, Claude, Perplexity or Google actually crawl, cite or rank a site, and a higher score does not promise more AI traffic. Use it to find technical gaps and to track changes, not as a measure of results.

### What you can do with it

- **Audit your own site or your clients' sites** before writing a GEO or AI SEO plan, and get a concrete fix list.
- **Check a portfolio:** run hundreds of domains and sort by score or by which crawlers are blocked.
- **Catch accidental changes:** schedule it with `onlyChanged` to learn when a deploy or a firewall template changes your `robots.txt` or removes `llms.txt`.
- **Research adoption:** see which sites in a sector publish `llms.txt`, `agents.md`, MCP or UCP files.

### Input example

```json
{
  "urls": ["https://apify.com", "example.com"],
  "aiBots": ["GPTBot", "OAI-SearchBot", "ClaudeBot", "PerplexityBot", "Google-Extended", "CCBot", "Applebot-Extended"],
  "checkDiscoveryFiles": true,
  "onlyChanged": false,
  "maxConcurrency": 5
}
```

Only `urls` matters for most runs. With empty input the Actor audits the two prefilled URLs.

The URL you give is the page checked for JSON-LD and text, so you can audit an article or product page as well as a home page. `robots.txt` and the discovery files are always read from the root of the site that page ends up on after redirects.

### Output example

```json
{
  "url": "https://apify.com",
  "finalUrl": "https://apify.com",
  "status": "audited",
  "score": 95,
  "grade": "A",
  "bots": {"GPTBot": "allow", "OAI-SearchBot": "allow", "ClaudeBot": "allow", "PerplexityBot": "allow",
           "Google-Extended": "allow", "CCBot": "allow", "Applebot-Extended": "allow"},
  "botsBlocked": [],
  "botsNamedInRobots": [],
  "contentSignal": {"raw": "search=yes, ai-input=yes, ai-train=yes",
                    "signals": {"search": "yes", "ai-input": "yes", "ai-train": "yes"}},
  "llmsTxt": {"present": true, "valid": true, "url": "https://apify.com/llms.txt", "httpStatus": 200,
              "sizeBytes": 17633, "linkCount": 73},
  "agentsMd": {"present": true, "valid": true, "url": "https://apify.com/agents.md", "sizeBytes": 20549},
  "mcpDiscovery": {"present": true, "valid": true, "url": "https://apify.com/.well-known/mcp/server-card.json"},
  "ucpDiscovery": {"present": false, "url": "https://apify.com/.well-known/ucp", "httpStatus": 404},
  "jsonLdTypes": ["Organization", "WebSite", "SoftwareApplication"],
  "serverRenderedTextChars": 10187,
  "hasSitemap": true,
  "scoreBreakdown": [{"check": "aiCrawlers", "points": 30, "max": 30}, {"check": "ucpDiscovery", "points": 0, "max": 5}],
  "issues": ["No UCP profile found."],
  "fixes": ["If you sell online, publish a Universal Commerce Protocol profile at /.well-known/ucp (ucp.dev)."],
  "checkedAt": "2026-11-05T13:35:00Z"
}
```

This example is shortened. `scoreBreakdown` has one line per check, and the full rows are in the dataset.

- **`present`** is `true`, `false`, or `null` when we could not tell: the site refused us (401, 403, 429, 5xx) or `robots.txt` disallows that path for our client.
- **`bots`** values are `allow`, `block`, or `unknown` when `robots.txt` itself refused our client. The verdict is for the page you audited.
- **`botsNamedInRobots`** lists crawlers that have their own group in `robots.txt`, as opposed to following the `*` rules.
- **`agentsMd.advertisedInRobots`** is true when `robots.txt` mentions `agents.md`.

### How the score works

Each check earns points. A check we could not measure is removed from the maximum, so it neither helps nor hurts, and the result is scaled to 100.

| Check | Points | How it is earned |
|---|---|---|
| AI crawler access | 30 | Share of the listed crawlers that `robots.txt` allows for this page |
| `llms.txt` | 15 | Present and starting with a `#` title; half if malformed |
| JSON-LD | 15 | At least one usable block; a third is lost if any block is broken |
| Server-rendered text | 15 | Full at 1,000 characters, half at 300 |
| Content-Signal | 5 | A `Content-Signal` line in `robots.txt` |
| `agents.md` | 5 | Present and not an HTML page |
| MCP discovery | 5 | Valid JSON at `/.well-known/mcp/server-card.json` or `/.well-known/mcp.json` |
| UCP profile | 5 | Valid JSON at `/.well-known/ucp` |
| Sitemap | 5 | Listed in `robots.txt`, or found at `/sitemap.xml` |

Grades: A from 85, B from 70, C from 50, D from 30, F below that.

The weights are our judgement. **A low score is not automatically a problem.** Blocking AI training crawlers is a legitimate choice and it lowers this score. An MCP or UCP file means nothing for a site with no MCP server and no online shop. Read the individual checks rather than chasing 100.

### Limits

- **It reads rules, it does not test access.** `robots.txt` says what a site asks of crawlers. A firewall or CDN can still block GPTBot while `robots.txt` allows it. We never send requests under an AI crawler's name, so this Actor cannot detect that.
- **Crawlers may not behave as listed.** Whether a crawler obeys `robots.txt` or `Content-Signal` is up to its operator. `Google-Extended` and `Applebot-Extended` are control tokens rather than separate crawlers.
- **These standards are young.** `llms.txt`, `agents.md`, Content-Signal, MCP server cards and UCP are all still changing, and we make no claim that any AI product reads a given file or rewards it. The paths checked may change, and we update the list as they do.
- **One page per URL.** It is not a site crawl. JSON-LD and text are measured on the URL you give, from HTML only, with no JavaScript run. Up to 3 MB of each page is read.
- **Light file checks.** We confirm that a discovery file exists, is not an HTML error page and has the basic format. We do not validate it against each full specification, and a sitemap listed in `robots.txt` is not opened. File contents are not saved to the dataset.
- **Some sites refuse automated clients.** Those URLs return `httpError` and are not charged. No proxies or browser disguises are used to get past this, and sites that block us cannot be scored.
- **Up to 2,000 URLs per run.**

### Good behaviour and safety

- We identify ourselves as `AIReadinessAudit/1.0` and follow each target's `robots.txt` for our own requests. If it disallows a page for our client (or for `*`), the page is not fetched and the row says so. If `robots.txt` answers with a server error, the site is treated as disallowed, as RFC 9309 says.
- Requests to one host are at least 0.5 s apart, or follow the site's `Crawl-delay` up to 10 s.
- **Private targets are refused:** private, loopback, link-local and reserved IP addresses, `localhost` and internal hostnames. This also applies to redirects and to public hostnames that resolve to a private address.
- Fetched text is treated as data. Nothing in a target's files changes what the Actor does.

### Pricing

| Event | Price | When |
|---|---|---|
| `site-audited` | $0.003 | Each URL that was fully audited and scored |
| `apify-actor-start` | $0.00005 | Once per run |

**Free rows:**

| `status` | Meaning |
|---|---|
| `robotsDisallowed` | `robots.txt` disallows the page for us. Crawler verdicts are still in the row, with no score |
| `robotsUnavailable` | `robots.txt` answered with a server error, so nothing else was fetched |
| `httpError` | The page answered with an error such as 403 or 404 |
| `notHtml` | The URL is a PDF, image or other non-HTML file |
| `unreachable` | DNS, connection or timeout failure |
| `blockedTarget` | Private or internal address |
| `invalidUrl` | Not a valid http(s) URL |

**With `onlyChanged`:** an audited URL with no changes saves no row and is still charged $0.003, because the audit ran. The run summary counts these as `unchanged`. The first audit of a URL always saves a row. The state lives in a key-value store named `ai-readiness-audit-state` in your account, so delete that store to start again.

The run stops cleanly when your maximum total charge is reached, and the summary in the `OUTPUT` record shows `stoppedAtMaxCharge: true`.

### FAQ

**Does a score of 100 mean ChatGPT will cite my site?** No. See the note at the top. The score covers technical signals only.

**Should I allow every AI crawler?** That is a business decision. Search and answer crawlers can send visitors, while training crawlers mostly take content. Separate them in `robots.txt` as you see fit, and do not change your policy just to raise this score.

**Why is `present` null?** The site refused the request or `robots.txt` disallows the path, so we do not know. It does not count against the score.

**Why does my file show as missing when the URL opens in my browser?** Check `note` on that field. An HTML page is never accepted as a discovery file, because many sites answer 200 with a normal page for any path.

**Can I check other crawlers?** Yes, add any `robots.txt` token to `aiBots`. Custom lists change the crawler share in the score.

# Actor input Schema

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

Sites or pages to audit, one row per URL. A bare domain like `example.com` becomes `https://example.com`. The URL you give is the page checked for JSON-LD and server-rendered text; robots.txt and discovery files are read from the root of its site. Private, loopback and internal addresses are refused. Up to 2,000 URLs per run.

## `aiBots` (type: `array`):

Robots.txt user-agent tokens to report on. This only reads the rules in robots.txt: no request is ever sent under these names. Leave empty for the default list.

## `checkDiscoveryFiles` (type: `boolean`):

Look for llms.txt, agents.md and the MCP and UCP discovery files. When off, those checks are left out of the score.

## `onlyChanged` (type: `boolean`):

Remember each URL's last result in a key-value store named `ai-readiness-audit-state` in your account, and save a row only when the score, a crawler verdict, Content-Signal, a discovery file, the JSON-LD types or the sitemap changed. An audited but unchanged URL saves no row and is still charged, because the audit ran.

## `maxConcurrency` (type: `integer`):

How many URLs are audited in parallel. Requests to one host are always spaced at least 0.5 s apart, or by the site's Crawl-delay up to 10 s.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://example.com"
  ],
  "aiBots": [
    "GPTBot",
    "OAI-SearchBot",
    "ClaudeBot",
    "PerplexityBot",
    "Google-Extended",
    "CCBot",
    "Applebot-Extended"
  ],
  "checkDiscoveryFiles": true,
  "onlyChanged": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `audit` (type: `string`):

No description

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

No description

## `summary` (type: `string`):

No description

# 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://apify.com",
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/ai-readiness-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://apify.com",
        "https://example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gazidev/ai-readiness-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://apify.com",
    "https://example.com"
  ]
}' |
apify call gazidev/ai-readiness-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/ai-readiness-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/98LxZnUnqaY1JYavV/builds/aXOEqgFmRjNqzMPyh/openapi.json
