llms.txt Checker, Generator & Monitor | HTF Agentic

Audit, generate and monitor llms.txt for public websites. Connect through Apify MCP with your own account; current usage pricing is on the Apify product page.

Servidor MCP hospedado

npx add-mcp 'https://mcp.apify.com?tools=apifmcpfactory/llms-txt-suite'

Instala no Claude Code, Codex, Cursor e outros

Documentação

llms.txt Checker, Generator & Monitor: AI Search Readiness. (apifmcpfactory/llms-txt-suite) Actor

Generate, audit and monitor your llms.txt so ChatGPT and AI agents can read your site. Get an AI-readiness score and a ready-to-publish file. Works on public pages only. We store nothing personal.

Pricing

from $10.00 / 1,000 llms.txt audits

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 section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

Audit, generate and monitor your llms.txt in one Actor, so ChatGPT and other AI assistants can read your site and keep reading it. Score what you have today, draft a publishable file from your own pages, or re-check on a schedule and get told only what changed.

1. Why use llms.txt Suite

AI assistants increasingly answer questions about products by reading websites directly, and llms.txt is how a site tells them which pages matter. Getting that right is three separate jobs: find out where you stand, produce the file, and notice when it drifts.

Doing them with three different tools means three formats, three sets of results and no continuity between them. The audit that says "no llms.txt" hands you the writing work; the file you write has no baseline to be measured against later; and nobody notices six months on when a site restructure leaves half the listed URLs pointing at 404s.

This Actor covers all three modes with one input shape and one output contract, so the score you generate against is the score you are later monitored on.

2. Key features

  • Three modes in one Actor: audit scores what exists, generate drafts a new file, monitor diffs against a stored baseline.
  • 0–100 readiness score with named checks — each returns its own pass/fail and a detail line.
  • Concrete recommendations, not just a number.
  • Missing-section detection against the llms.txt structure.
  • Link validation. audit and monitor can fetch a sample of the links your llms.txt lists and report the dead ones.
  • robots.txt respected by default in every mode.
  • Optional llms-full.txt generation alongside the index file.
  • Change detection with status, distinguishing missing, broken, stale and changed from ok.
  • Charged per completed mode, and never on a failed run.

3. Who it's for

For marketing and SEO. Audit your domain, generate the file the audit says is missing, then monitor monthly — one tool covering the whole loop rather than a one-off score you never revisit.

For documentation teams. Generate from your docs sitemap so assistants answering user questions land on current pages, then monitor after each restructure to catch links that have gone stale.

For agencies. Audit a client portfolio, generate drafts for the ones scoring badly, and use monitor to show measurable improvement at the next review.

For developers and AI agents. Run monitor in a scheduled job and alert only when changed is true, so a site restructure that breaks your llms.txt surfaces immediately rather than at the next manual audit.

4. How to use it

  1. Open the Actor and click Try for free.
  2. Choose a Mode: audit to score, generate to draft, monitor to compare against the last check.
  3. Put your site in Site URL — a bare domain or any page on it.
  4. Adjust Max pages if generating for a large documentation site.
  5. Click Start and read the result in the Output tab.

5. Input parameters

FieldTypeRequiredDefaultDescription
modestringYesauditaudit, generate or monitor.
siteUrlstringYeshttps://docs.stripe.comThe site to process. A bare domain or any page on it.
maxPagesintegerNo50How many pages generate reads, discovered via sitemap.xml first.
includeFullTextbooleanNofalseWhen true, generate also assembles llms-full.txt with the same pages' body text.
validateLinksbooleanNotrueWhen true, audit and monitor fetch a sample of the links listed in llms.txt to find dead ones.
respectRobotsbooleanNotrueWhen true, every mode honours the site's robots.txt.

6. Output

The shape depends on the mode. Every result also carries ms, the run duration.

audit

{
  "mode": "audit",
  "siteUrl": "https://docs.stripe.com",
  "hasLlmsTxt": true,
  "score": 78,
  "checks": [
    { "name": "llms.txt present", "passed": true, "detail": "Found at /llms.txt" },
    { "name": "Links resolve", "passed": false, "detail": "2 of 20 sampled links returned 404" }
  ],
  "missingSections": ["Optional"],
  "recommendations": ["Fix or remove the 2 dead links listed in checks."],
  "ms": 3120
}

generate

{
  "mode": "generate",
  "siteUrl": "https://example.com",
  "llmsTxt": "# Example\n\n> Summary...\n\n## Docs\n\n- [Getting started](https://example.com/docs)\n",
  "pagesIncluded": ["https://example.com/docs", "https://example.com/pricing"],
  "fileUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms.txt",
  "ms": 8450
}

monitor

{
  "mode": "monitor",
  "siteUrl": "https://example.com",
  "previousScore": 78,
  "currentScore": 64,
  "changed": true,
  "diff": ["Score fell 78 -> 64", "3 links now return 404"],
  "status": "broken",
  "ms": 2980
}

A run that could not complete returns the same shape with an error field and is not charged.

7. Output fields

FieldModeMeaning
modeallWhich mode produced this result.
siteUrlallThe site processed.
msallRun duration in milliseconds.
errorallPresent only on failure. The run is not charged when it appears.
hasLlmsTxtauditWhether a file was found at all.
scoreaudit0–100 readiness score.
checks[]auditEach named check with passed and a detail line.
missingSectionsauditExpected sections absent from the file.
recommendationsauditConcrete actions to raise the score.
llmsTxtgenerateThe generated file, complete and ready to publish.
llmsFullTxtgenerateThe full-text variant, when includeFullText was true.
pagesIncludedgenerateThe page URLs that made it into the file.
fileUrl / fileUrlFullgenerateDirect download links to the generated file(s).
previousScoremonitorThe stored baseline score, or null on a first run.
currentScoremonitorThe score right now.
changedmonitorWhether anything material moved since the baseline.
diff[]monitorHuman-readable list of what changed.
statusmonitorok, missing, broken, stale or changed.

8. How it works

Audit fetches the site's llms.txt, parses it structurally, and runs a set of named checks — presence, structure, sections, and optionally whether the listed links still resolve. Each check contributes to the score and returns its own detail line, so the number is always explainable.

Generate discovers pages via sitemap.xml first, falling back to link-following, and reads each page's own title and description. Nothing is invented: the file is assembled from what the site already publishes. The result is written to the run's key-value store and returned both inline and as a download URL.

Monitor re-audits and compares against a stored baseline for that site URL — a score and a content hash, nothing more. The internal hash is stripped from the output before it reaches your dataset.

Charging is per mode and only on success. A run that fails writes its result with an error and is not billed.

9. API & MCP usage

cURL

curl -X POST "https://api.apify.com/v2/acts/apifmcpfactory~llms-txt-suite/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"audit","siteUrl":"https://docs.stripe.com"}'

As an Apify MCP tool. This Actor is callable directly by AI agents such as Claude and Cursor. Usage bills through your own Apify account.

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

Claude Desktop (claude_desktop_config.json):

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

As a standalone MCP server. Auditing and generation also run as a dedicated hosted MCP server, with audit_llms_txt, generate_llms_txt and bulk_audit_llms_txt for up to 50 sites. See the product page for that endpoint.

10. Pricing

Priced per completed mode, because the three do very different amounts of work:

ModePriceWhat it covers
audit$0.01One completed AI-readiness audit of one site.
generate$0.03One completed llms.txt draft of one site.
monitor$0.005One completed check against the stored baseline.

Plus a small per-run start fee. A run that fails is not charged — no usable result, no charge.

11. Limits & performance

Memory256 MB
Pages read by generate50 by default
Link validationA sample of listed links, not all of them
Baseline storageScore and content hash, keyed by site URL

12. Limitations

  • Readability, not ranking. A high score means assistants can read your site. It does not promise they will cite it.
  • Generated files are drafts. Sections come from URL structure and summaries from your own metadata; review before publishing.
  • Link validation samples. It checks a sample of listed links, so a clean result is strong evidence rather than proof that every link resolves.
  • Monitor needs a baseline. The first run on a site has nothing to compare against and returns previousScore: null.
  • Scoring is our published model, not an industry standard. The checks are visible in every result so you can judge them.
  • JavaScript-rendered content is not executed. Titles and descriptions must be in the served HTML.
  • Public pages only. Nothing behind a login or paywall is fetched.

13. FAQ

What is llms.txt? A plain-text file at your domain root listing your key pages for AI assistants, in the way robots.txt speaks to search crawlers.

Which mode should I start with? audit. It tells you whether you need generate at all.

How is the score calculated? From named checks returned in the checks array of every audit, each with its own pass/fail and detail. The arithmetic is visible in the result.

Does generate use AI to write the file? No. Titles and summaries come from your own pages' HTML.

How do I publish the generated file? Copy the llmsTxt value, or download it from fileUrl, and serve it at /llms.txt on your domain.

What does monitor compare against? A stored baseline for that site URL — a score and a content hash, both derived from your own public llms.txt.

What do the monitor statuses mean? ok — nothing material changed. missing — the file has gone. broken — listed links no longer resolve. stale — the file no longer reflects the site. changed — it moved, without a more specific diagnosis.

Am I charged if a run fails? No. Charging happens only on a completed mode.

Compliance

Public pages only — this Actor never accesses anything behind a login or paywall. respectRobots (on by default) makes every mode honour a site's robots.txt. Nothing personal is stored: the only state kept between runs is the Monitor baseline (a score and a content hash, keyed by site URL), derived entirely from the site's own public llms.txt.

More tools from MCP Factory

— A HTF Agentic tool. Public sources, nothing personal stored.

Actor input Schema

mode (type: string):

What to do. "audit" scores the site's current llms.txt (0-100) with fix recommendations. "generate" crawls the site and drafts a spec-compliant llms.txt (and optionally llms-full.txt) ready to publish. "monitor" re-runs the audit and diffs it against the last run — pair with an Apify Schedule to get alerted when a site's AI-readiness changes.

siteUrl (type: string):

The site to process, e.g. "https://docs.stripe.com" — a bare domain or any page URL is reduced to its site root. Also accepts a direct llms.txt URL. Public pages only; nothing behind a login or paywall is ever accessed.

maxPages (type: integer):

How many pages "generate" reads to build llms.txt (discovered via sitemap.xml first, falling back to homepage links). Integer 1-200, e.g. 50. Ignored by audit and monitor. This is also the cost guardrail: it caps crawl compute regardless of site size.

includeFullText (type: boolean):

When true, "generate" also assembles llms-full.txt — the same pages' body text in one file, for AI assistants that read full page content instead of just links. Ignored by audit and monitor.

validateLinks (type: boolean):

When true, "audit" and "monitor" fetch a sample of the links listed in llms.txt to confirm they still resolve (HTTP < 400) and to detect link rot. Ignored by generate.

respectRobots (type: boolean):

When true (recommended), every mode honors the site's robots.txt: "generate" skips disallowed pages while crawling, and "audit"/"monitor" skip disallowed links when validating. Turn off only if you have permission to ignore robots.txt for this site.

Actor input object example

{
  "mode": "audit",
  "siteUrl": "https://docs.stripe.com",
  "maxPages": 50,
  "includeFullText": false,
  "validateLinks": true,
  "respectRobots": true
}

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

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 = {
    "siteUrl": "https://docs.stripe.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apifmcpfactory/llms-txt-suite").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

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 = { "siteUrl": "https://docs.stripe.com" }

# Run the Actor and wait for it to finish
run = client.actor("apifmcpfactory/llms-txt-suite").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

echo '{
  "siteUrl": "https://docs.stripe.com"
}' |
apify call apifmcpfactory/llms-txt-suite --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apifmcpfactory/llms-txt-suite"
        }
    }
}

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/d8gBJMhax90lsBplC/builds/6TVbZOMWnE9pWMIJg/openapi.json