# Website & Sitemap SEO Auditor (Zero Proxy, MCP Ready) (`omerblau/website-seo-sitemap-audit-mcp`) Actor

Audit websites or XML sitemaps for title, meta description, canonical, H1, OpenGraph, word count, and SEO issues.

- **URL**: https://apify.com/omerblau/website-seo-sitemap-audit-mcp.md
- **Developed by:** [Omer Blau](https://apify.com/omerblau) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 pages 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

## Website & Sitemap SEO Auditor (Zero Proxy, MCP Ready)

Audit any list of URLs — or a whole **XML sitemap** — for on-page SEO health in seconds. Every page gets an **SEO score (0–100)** and a machine-readable **`issues` array** you can act on immediately. **No proxies, no browser, no login.**

Built for **SEO agencies, content teams, web developers, and AI agents (Claude, Cursor, n8n, LangChain via Apify MCP)** that need fast, structured technical-SEO checks at scale.

### What does it check?

| Signal | Field(s) |
|---|---|
| HTTP status & final URL (after redirects) | `statusCode`, `url` |
| `<title>` text and length | `title`, `titleLength` |
| Meta description text and length | `metaDescription`, `metaDescriptionLength` |
| Canonical URL | `canonical` |
| Robots meta (`noindex`, `nofollow`) | `robotsMeta` |
| H1 count and primary H1 text | `h1Count`, `h1` |
| OpenGraph tags present | `hasOpenGraph` |
| Visible body word count (thin-content check) | `wordCount` |
| Actionable problems | `issues` |
| Overall score | `seoScore` |

**Issue codes:** `http_error`, `missing_title`, `title_too_long` (>65 chars), `missing_meta_description`, `meta_description_too_long` (>165 chars), `missing_h1`, `multiple_h1`, `missing_canonical`.

### Use cases

- **Pre-launch QA:** audit a staging sitemap before going live.
- **Client reporting:** export a CSV/Excel of every page with its score and issues.
- **Content audits:** find thin pages (`wordCount`), duplicate/missing titles and descriptions.
- **Monitoring:** schedule a daily run on your sitemap and alert on new `http_error` or `missing_title` issues.
- **AI agents:** let an LLM agent audit a site and propose fixes directly from the JSON.

### Input

| Field | Type | Description |
|---|---|---|
| `urls` | Array | Page URLs to audit |
| `sitemapUrl` | String | Optional XML sitemap URL; pages are discovered automatically |
| `maxPages` | Integer | Max pages to audit (1–100, default 10) |

```json
{
  "sitemapUrl": "https://www.example.com/sitemap.xml",
  "maxPages": 50
}
```

### Output example

```json
{
  "url": "https://example.com/",
  "statusCode": 200,
  "title": "Example Domain",
  "titleLength": 14,
  "metaDescription": "",
  "canonical": "",
  "h1Count": 1,
  "h1": "Example Domain",
  "hasOpenGraph": false,
  "wordCount": 28,
  "issues": ["missing_meta_description", "missing_canonical"],
  "seoScore": 75
}
```

### Pricing (Pay-Per-Event)

- **`$0.002` per audited page** (`page-audited`). Auditing 100 pages costs about $0.20 — no monthly rental.

### API & MCP integration

- **Actor ID:** `omerblau/website-seo-sitemap-audit-mcp`
- **Sync REST API:** `POST https://api.apify.com/v2/acts/omerblau~website-seo-sitemap-audit-mcp/run-sync-get-dataset-items?token=YOUR_TOKEN`
- **MCP:** add this Actor to the Apify MCP server (`https://mcp.apify.com`) and call it as a tool from Claude Desktop, Cursor, or any MCP client.

### FAQ

**Does it render JavaScript?** No — it analyses the server-rendered HTML, which is what most search crawlers see first. This keeps runs fast and cheap.
**Do I need proxies?** No. Pages are fetched directly with a 12-second timeout per page.
**What happens if a page fails?** You still get a row with `statusCode: 0`, an `error` message, and `http_error` in `issues`.

# Actor input Schema

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

List of webpage URLs to audit for SEO signals.

## `sitemapUrl` (type: `string`):

Optional XML sitemap URL to discover and audit pages automatically.

## `maxPages` (type: `integer`):

Maximum number of pages to audit (1 to 100).

## Actor input object example

```json
{
  "urls": [
    "https://www.iana.org/domains/reserved"
  ],
  "maxPages": 3
}
```

# Actor output Schema

## `pages` (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://www.iana.org/domains/reserved"
    ],
    "maxPages": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("omerblau/website-seo-sitemap-audit-mcp").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://www.iana.org/domains/reserved"],
    "maxPages": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("omerblau/website-seo-sitemap-audit-mcp").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://www.iana.org/domains/reserved"
  ],
  "maxPages": 3
}' |
apify call omerblau/website-seo-sitemap-audit-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omerblau/website-seo-sitemap-audit-mcp"
        }
    }
}
```

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/25sn3tj0wmBh8Luwx/builds/qvxKhshWcZpcF4q2b/openapi.json
