# llms.txt Checker - AI Readiness Audit (`apifmcpfactory/llms-txt-checker`) Actor

Audits whether a website is readable by AI assistants (llms.txt, robots.txt AI-crawler access, sitemap) and returns a 0-100 score with concrete fixes - use when asked whether a site is visible to ChatGPT/Claude or how to improve that; $0.005 per site audited.

- **URL**: https://apify.com/apifmcpfactory/llms-txt-checker.md
- **Developed by:** [Fred Jones](https://apify.com/apifmcpfactory) (community)
- **Categories:** SEO tools, AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## llms.txt Checker — AI Readiness Audit for any website

Is your site — or your client's — visible to AI assistants? This Actor runs a complete **AI readiness audit** in one pass: it checks for **llms.txt** (the emerging standard that tells AI assistants what your site is about), verifies whether the major **AI crawlers are allowed or blocked in robots.txt**, confirms **llms-full.txt** and **sitemap.xml**, and returns a clear **0–100 AI readiness score** with a plain-English list of exactly what to fix.

Built for **SEO and content teams** tracking AI visibility, and for **agencies selling AI-readiness audits** — feed in a client list, get back scored, explainable results you can put straight into a report.

**~$5 per 1,000 sites** — competitors charge $10–100+ per 1,000, often with per-recommendation surcharges. Here the actionable reasons list is part of every result.

### Use with AI agents (MCP)

This Actor is also an **MCP tool** — AI agents like Claude and Cursor can run it for you. Your agent can call this tool directly; usage bills through your Apify account.

**MCP server URL:**

````

https://mcp.apify.com?tools=apifmcpfactory/llms-txt-checker

````

**Claude Desktop** (`claude_desktop_config.json`):

```json
{
    "mcpServers": {
        "llms-txt-checker": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com?tools=apifmcpfactory/llms-txt-checker",
                "--header",
                "Authorization: Bearer YOUR_APIFY_TOKEN"
            ]
        }
    }
}
````

**Cursor** (`.cursor/mcp.json`):

```json
{
    "mcpServers": {
        "llms-txt-checker": {
            "url": "https://mcp.apify.com?tools=apifmcpfactory/llms-txt-checker",
            "headers": {
                "Authorization": "Bearer YOUR_APIFY_TOKEN"
            }
        }
    }
}
```

Replace `YOUR_APIFY_TOKEN` with your API token from [Apify Console](https://console.apify.com/settings/integrations).

No Apify account? AI agents can also pay per call with USDC via the [x402 protocol](https://docs.apify.com/integrations/x402): buy a prepaid token at [agi.apify.com](https://agi.apify.com) and use it as the Bearer token above.

### What gets checked

1. **llms.txt** — does it exist? Is it well-formed (title heading, sections, links)? Any syntax problems are listed. Sites that return an HTML error page instead of a real file are correctly counted as *not* having one.
2. **llms-full.txt** — the companion full-content file.
3. **robots.txt AI crawler policy** — per-crawler status (allowed / blocked / partially blocked) for **GPTBot** (ChatGPT), **ClaudeBot / Claude-Web** (Claude), **PerplexityBot**, **Google-Extended** (Gemini), **CCBot** (Common Crawl), and **Bytespider** (TikTok) — with whether that comes from an explicit rule or the default `*` policy.
4. **sitemap.xml** — fetched directly and via robots.txt `Sitemap:` declarations.
5. **AI readiness score (0–100)** — llms.txt quality (up to 40), llms-full.txt (10), AI crawler access (30), sitemap (10), robots.txt present (10) — each point explained in the `reasons` list.

### Input

```json
{
    "urls": ["https://docs.anthropic.com", "https://www.irishtimes.com"],
    "maxConcurrency": 10
}
```

### Output

One item per site:

```json
{
    "url": "https://www.irishtimes.com",
    "aiReadinessScore": 33,
    "llmsTxt": { "exists": false, "url": "https://www.irishtimes.com/llms.txt" },
    "llmsFullTxt": { "exists": false },
    "robotsTxt": {
        "exists": true,
        "aiCrawlers": [
            { "crawler": "GPTBot", "status": "blocked", "source": "explicit rule" },
            { "crawler": "ClaudeBot", "status": "partially blocked", "source": "default (*) policy" }
        ]
    },
    "sitemap": { "exists": true },
    "reasons": [
        "Missed 40: no llms.txt file — this is the single biggest AI-readiness fix (create one at /llms.txt).",
        "+13 of 30: robots.txt blocks GPTBot — blocked crawlers cannot index the site for AI answers.",
        "+10: sitemap.xml is present."
    ],
    "checkedAt": "2026-07-19T19:27:14.733Z"
}
```

Unreachable sites produce an item with an `error` field — a batch never dies mid-run, and output always reconciles 1:1 with input.

### Why it's fast and cheap

No headless browser — just four lightweight text fetches per site. A 1,000-site audit finishes in minutes and costs cents in compute.

### FAQ

**What is llms.txt?** A proposed standard (llmstxt.org) — a markdown file at `/llms.txt` giving AI assistants a curated guide to your site, like robots.txt for the AI era. Sites from Stripe to Shopify to WordPress.org have already adopted it.

**Why does AI crawler access matter for SEO?** If GPTBot or ClaudeBot is blocked, your content can't be cited by ChatGPT or Claude — an increasingly large source of referral traffic. The audit shows each crawler's status so blocking is a decision, not an accident.

**Does a high score guarantee AI visibility?** No tool can promise that — the score measures the technical foundations you control: discoverability files and crawler access.

### More tools from MCP Factory

- **[Tech Stack Detector](https://apify.com/apifmcpfactory/tech-stack-detector)** — find out what any website is built with (CMS, ecommerce, frameworks, analytics) at ~$5 per 1,000 sites.
- **[EU VAT Validator](https://apify.com/apifmcpfactory/eu-vat-validator)** — bulk-validate EU VAT numbers against the EU's official VIES service, with the official consultation number as audit evidence on every check.

# Actor input Schema

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

Websites to audit, one per entry, e.g. "https://docs.stripe.com". Bare domains like "stripe.com" are accepted (https:// is added), and any page URL is reduced to its site root, since the audit checks root files (llms.txt, robots.txt, sitemap.xml). Each site produces exactly one result item and is billed at $0.005. If omitted, two demo sites are used — always pass your own list.

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

How many websites are audited in parallel. Integer, minimum 1, e.g. 10. If omitted, defaults to 10 — fine for most batches, since each site needs only four small text fetches.

## Actor input object example

```json
{
  "urls": [
    "https://docs.anthropic.com",
    "https://docs.stripe.com"
  ],
  "maxConcurrency": 10
}
```

# Actor output Schema

## `results` (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://docs.anthropic.com",
        "https://docs.stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apifmcpfactory/llms-txt-checker").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://docs.anthropic.com",
        "https://docs.stripe.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("apifmcpfactory/llms-txt-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://docs.anthropic.com",
    "https://docs.stripe.com"
  ]
}' |
apify call apifmcpfactory/llms-txt-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=apifmcpfactory/llms-txt-checker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "llms.txt Checker - AI Readiness Audit",
        "description": "Audits whether a website is readable by AI assistants (llms.txt, robots.txt AI-crawler access, sitemap) and returns a 0-100 score with concrete fixes - use when asked whether a site is visible to ChatGPT/Claude or how to improve that; $0.005 per site audited.",
        "version": "0.0",
        "x-build-id": "dITLKuxSijaxoDuqr"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apifmcpfactory~llms-txt-checker/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apifmcpfactory-llms-txt-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/apifmcpfactory~llms-txt-checker/runs": {
            "post": {
                "operationId": "runs-sync-apifmcpfactory-llms-txt-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/apifmcpfactory~llms-txt-checker/run-sync": {
            "post": {
                "operationId": "run-sync-apifmcpfactory-llms-txt-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "Website URLs",
                        "type": "array",
                        "description": "Websites to audit, one per entry, e.g. \"https://docs.stripe.com\". Bare domains like \"stripe.com\" are accepted (https:// is added), and any page URL is reduced to its site root, since the audit checks root files (llms.txt, robots.txt, sitemap.xml). Each site produces exactly one result item and is billed at $0.005. If omitted, two demo sites are used — always pass your own list.",
                        "default": [
                            "https://docs.anthropic.com",
                            "https://docs.stripe.com"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "type": "integer",
                        "description": "How many websites are audited in parallel. Integer, minimum 1, e.g. 10. If omitted, defaults to 10 — fine for most batches, since each site needs only four small text fetches.",
                        "default": 10
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
