# llms.txt Scraper & AI Readiness Checker (`spiky_closet/llms-txt-scraper`) Actor

Bulk-check and extract /llms.txt, /llms-full.txt, and clean Markdown company briefs from any list of domains or work emails. Audit AI-agent readiness at scale with zero headless browsers — plus real-time REST API & MCP.

- **URL**: https://apify.com/spiky_closet/llms-txt-scraper.md
- **Developed by:** [AdPulse Labs](https://apify.com/spiky_closet) (community)
- **Categories:** AI, SEO tools, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 domain extracteds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## llms.txt Scraper & AI Readiness Checker

Bulk-check and extract /llms.txt, /llms-full.txt, and clean Markdown company briefs from any list of domains or work emails. Audit AI-agent readiness at scale with zero headless browsers — plus real-time REST API & MCP.

### Why Use llms.txt Scraper & AI Readiness Checker?

- **Zero headless browsers:** Runs in pure Go at a fraction of the RAM (`256 MB`) and 10–30x faster than Puppeteer/Playwright scrapers.
- **Pay-Per-Event (`$0` start fee):** Pay only for valid extracted records. Empty or unreachable targets cost `$0`.
- **Dual access:** Run batch jobs in Apify Console, integrate via REST API, or connect directly to Claude/Cursor via Apify Standby Streamable HTTP MCP (`/mcp`).

### Quick Start

Click **Start** in Apify Console immediately using the prefilled sample targets, or call the Actor via API:

#### Python Example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("spiky_closet/llms-txt-scraper").call(run_input={
  "domains": [
    "stripe.com",
    "vercel.com"
  ],
  "includeBrief": true,
  "includePricing": false,
  "includeDns": true
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### cURL Example

```bash
curl -X POST "https://api.apify.com/v2/acts/spiky_closet~llms-txt-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["stripe.com", "vercel.com"], "includeBrief": true, "includePricing": false, "includeDns": true}'
```

### Sample JSON Output

```json
{
  "domain": "stripe.com",
  "briefSource": "llms.txt",
  "llmsTxtUrl": "https://stripe.com/llms.txt",
  "companyName": "Stripe",
  "companyBrief": "Financial infrastructure to grow your revenue..."
}
```

### Pricing

Transparent **Pay-Per-Event** pricing with **$0 start fee** and automatic volume tier discounts (`FREE` through `DIAMOND`). Your free `$5/mo` Apify credits cover thousands of extractions every month.

### Frequently Asked Questions

**Does this Actor require proxies or headless browsers?**\
No. It uses lightweight HTTP/JSON/DNS Go workers and runs comfortably in `256 MB` memory without Playwright or Chromium overhead.

**Can I use this with n8n, Make, Zapier, or AI agents (MCP)?**\
Yes. Connect via the standard Apify integration in n8n/Make/Zapier, or connect MCP clients directly to `https://spiky-closet--llms-txt-scraper.apify.actor/mcp`.

**What happens if a domain or board has no results?**\
Unreachable domains and empty results are never billed (`$0`).

# Actor input Schema

## `domains` (type: `array`):

List of company domains (e.g. 'stripe.com'), full URLs ('https://linear.app'), or work emails ('ops@vercel.com'). Click Start right away to run with the 3 prefilled domains.

## `domain` (type: `string`):

Optional single domain, URL, or work email shorthand (merged with 'domains').

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

Alias for 'domains' — accepts domains, URLs, or work emails.

## `includePricing` (type: `boolean`):

Fetch and parse the company's /pricing page for tier names, prices, free tier, free trial, enterprise tier, and billing cadence signals.

## `includeLlmsTxt` (type: `boolean`):

Check /llms.txt (and /llms-full.txt) for a structured LLM-ready company brief before falling back to HTML-to-Markdown.

## `includeMarkdown` (type: `boolean`):

Convert homepage and key subpages to clean Markdown and populate the 'companyBrief' field.

## `includeDns` (type: `boolean`):

Resolve live DNS MX and TXT/SPF records to identify the email host (Google Workspace, Microsoft 365, Fastmail, Proton, etc.) and SPF status.

## `maxPagesPerDomain` (type: `integer`):

Maximum number of internal pages fetched per domain (homepage + contact/about/pricing/llms.txt).

## `maxResults` (type: `integer`):

Hard cap on total domains enriched in a single run (0 = process all provided domains).

## `maxItems` (type: `integer`):

Alias for 'maxResults' (0 = process all provided domains).

## `concurrency` (type: `integer`):

Number of domains enriched concurrently.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "vercel.com",
    "supabase.com",
    "cloudflare.com",
    "resend.com"
  ],
  "includePricing": true,
  "includeLlmsTxt": true,
  "includeMarkdown": true,
  "includeDns": true,
  "maxPagesPerDomain": 4,
  "maxResults": 0,
  "maxItems": 0,
  "concurrency": 8
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `pricingPlg` (type: `string`):

No description

## `dnsBrief` (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 = {
    "domains": [
        "stripe.com",
        "vercel.com",
        "supabase.com",
        "cloudflare.com",
        "resend.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spiky_closet/llms-txt-scraper").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 = { "domains": [
        "stripe.com",
        "vercel.com",
        "supabase.com",
        "cloudflare.com",
        "resend.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("spiky_closet/llms-txt-scraper").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 '{
  "domains": [
    "stripe.com",
    "vercel.com",
    "supabase.com",
    "cloudflare.com",
    "resend.com"
  ]
}' |
apify call spiky_closet/llms-txt-scraper --silent --output-dataset

```

## MCP server setup

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

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/fZupVoplsRLbhcJYa/builds/p3HkrRBHwGjrSaclo/openapi.json
