# E-commerce Store & GMC Compliance Audit MCP (`signalnodes/ecommerce-store-audit-mcp`) Actor

Read-only MCP storefront health & GMC pre-flight audit for Shopify, WooCommerce & generic stores: robots.txt, sitemap, 404 products, JSON-LD Product/Offer, SKU/GTIN, pricing & broken images. Zero PII, SSRF-hardened, PPE ($0.02/store, $0 on invalid/blocked).

- **URL**: https://apify.com/signalnodes/ecommerce-store-audit-mcp.md
- **Developed by:** [Zhihao Wu](https://apify.com/signalnodes) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 public storefront audits

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## E-commerce Storefront & GMC Compliance Audit (MCP)

**Actor slug:** `ecommerce-store-audit-mcp`\
**Category:** E-commerce QA · Google Merchant Center (GMC) Compliance · SEO & JSON-LD · AI Agent Tool (`mcp.apify.com`)

A lightweight, strictly read-only Apify Actor designed for **AI Agents (`mcp.apify.com`)** and automated e-commerce QA pipelines across **Shopify, WooCommerce, and generic storefronts**. Given 1–10 public storefront URLs, it inspects publicly accessible storefront signals (`robots.txt`, `sitemap.xml`, sampled product pages, JSON-LD `Product`/`Offer` schema, `sku`/`gtin`/`mpn` identifiers, image availability, and—when permitted—Shopify public catalog endpoints) and returns a deterministic `severity_score` (`0–100`), `risk_grade` (`GREEN` / `YELLOW` / `RED`), and structured evidence.

***

### Typical AI Agent Use Cases

| Use Case | Who Benefits | What the Agent Checks Automatically |
| :--- | :--- | :--- |
| **1. GMC Pre-Flight Disapproval Audit** | Shopify & WooCommerce merchants, PPC agencies | Detects missing `sku`/`gtin`/`mpn` identifiers, missing JSON-LD `Product`/`Offer` markup, invalid/non-positive prices, `OutOfStock` pages, and Shopify `compare_at_price <= price` sale-price inversions before Google Merchant Center (GMC) feed rejection. |
| **2. Competitor & Multi-Store Catalog Health Scan** | E-commerce analysts, growth & SEO teams | Benchmarks up to 10 public storefronts per run for broken `404/410` product links, broken product images, missing `<meta name="description">`, and sitemap/catalog hygiene with deterministic `0–100` scoring. |
| **3. Automated Storefront Ops & Agency QA Patrol** | Store operators, n8n/Make/Claude workflows | Runs scheduled read-only health checks after theme or catalog updates and triggers alerts whenever `risk_grade` shifts to `YELLOW`/`RED`—using only 128–256 MB RAM with zero headless-browser overhead. |

***

### Connect via Apify MCP (`mcp.apify.com`)

Attach this Actor directly to **Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI Agent** through Apify's official hosted MCP server:

```json
{
  "mcpServers": {
    "apify-ecommerce-audit": {
      "url": "https://mcp.apify.com/?tools=<YOUR_APIFY_USERNAME>/ecommerce-store-audit-mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

**Example AI Agent Prompt:**

> *"Audit `https://shop.example.com` in `standard` mode using `ecommerce-store-audit-mcp`. Summarize any GMC compliance risks (missing GTIN/SKU, JSON-LD `Offer` gaps, broken product pages, or Shopify `compare_at_price` inversions) and list exact fix priorities from the returned `evidence`."*

***

### Dual-Track Detection Signal Matrix

All checks use standard, unauthenticated public `GET`/`HEAD` requests. **Zero PII policy:** this Actor never extracts, parses, or stores email addresses, phone numbers, or personal data.

| Track | Applies To | Signals Checked | Zero-PII & Compliance Boundary |
| :--- | :--- | :--- | :--- |
| **Generic Storefront Track** | Any public e-commerce storefront — **WooCommerce, Magento, BigCommerce, custom storefronts, or Shopify** (`platform: "generic"` or `"shopify"`) | • `robots.txt` availability & root disallow compliance<br>• `sitemap.xml` discovery (including 1-level product sitemap index resolution)<br>• Broken sampled product pages (`HTTP 404/410/5xx`)<br>• JSON-LD `Product`/`Offer` audit: missing `Product`/`Offer`, missing `sku` & `gtin`/`gtin8`/`gtin12`/`gtin13`/`gtin14`/`mpn`, invalid/non-positive prices (`<= 0`), out-of-stock (`OutOfStock`/`SoldOut`)<br>• Missing `<meta name="description">`<br>• Sampled image URL `HEAD` verification (`404/410/5xx` broken images) | Strictly honors `robots.txt`; skips store if root `/` is disallowed or WAF/Captcha blocks access. Never extracts emails or customer/merchant PII. |
| **Shopify Deep-Enrichment Track** | Auto-enabled when `robots.txt` permits `/products.json?limit=50` and valid Shopify catalog JSON is returned (`platform: "shopify"`) | • **E1 — Pricing Inversion:** `compare_at_price <= price` on active variants<br>• **E3 — SKU Hygiene:** missing or duplicate SKUs across catalog variants<br>• **E4 — Catalog Quality:** `$0` purchasable variants, empty product descriptions, or malformed/dirty HTML<br>• Supplements product-page and image sampling using public product handles | Only touches public `/products.json?limit=50` if permitted by `robots.txt`. Never queries admin, checkout, cart, or contact endpoints; zero email scraping. |

***

### Transparent Pay-Per-Event + Usage Pricing & Zero-Charge Safeguards

This Actor is configured for Apify **`Pay-per-event + usage`** billing with **zero actor-start fee** (no `apify-actor-start` charge) and a single transparent event defined in `.actor/pay_per_event.json`:

| PPE Event Name | Price (USD) | Billing Trigger |
| :--- | :---: | :--- |
| `apify-actor-start` | **Disabled ($0.00)** | Never charged — zero startup fee for quick MCP agent calls or failed validations. |
| `store-audit` | **$0.02** | Charged **once per store** only when the audit completes with `status: "audited"`. |

- **Lightweight compute footprint (`128–256 MB` RAM):** Pure Python HTTP requests with zero Chromium/Playwright overhead keep caller platform usage costs minimal under `Pay-per-event + usage`.

#### Strict Zero-Charge & AI-Agent Safety Guarantees

- **Zero charge on invalid input (`VALIDATION_ERROR` -> `$0.00`):** Before issuing any HTTP request or calling `Actor.charge()`, the Actor validates all input keys, types, ranges, and public-IP/SSRF rules. Any violation aborts the entire run immediately with **0 HTTP calls** and **0 charged events**.
- **Hardened against `apify-mcp-server#1266`:** Every parameter in `.actor/input_schema.json` encodes its exact hard bounds, SSRF rules, and zero-charge guarantee directly inside its `description` text so LLMs see all constraints even when MCP adapters strip JSON Schema validation keywords.
- **Zero charge on blocked or unreachable stores (`$0.00`):** Stores returning WAF/Cloudflare/Captcha challenges (`403`/`429`), disallowing `/` in `robots.txt` (`status: "skipped_blocked"`), or timing out/failing DNS (`status: "skipped_unreachable"`) are recorded in the dataset with `charged: false` and incur **zero charge**.
- **Budget cap enforcement:** If Apify's run spending limit triggers `event_charge_limit_reached`, the Actor stops immediately without auditing or charging remaining stores.

***

### Input Schema & Example

Strict allowlist of 5 keys (unknown keys and booleans masquerading as integers are rejected):

| Field | Type | Required | Default | Hard Bounds |
| :--- | :--- | :---: | :---: | :--- |
| `storeUrls` | `string[]` | Yes | — | `1..10` unique `http://` or `https://` public URLs (SSRF-hardened) |
| `mode` | `string` | No | `"standard"` | Enum: `"quick"` or `"standard"` |
| `maxProductSamples` | `integer` | No | `3` | `1..10` |
| `maxImageSamples` | `integer` | No | `6` | `0..15` |
| `timeoutSec` | `integer` | No | `25` | `5..45` |

#### Input JSON Example

```json
{
  "storeUrls": [
    "https://shop.example.com"
  ],
  "mode": "standard",
  "maxProductSamples": 3,
  "maxImageSamples": 6,
  "timeoutSec": 25
}
```

***

### Output Examples

#### Per-Store Dataset Record (`status: "audited"`)

```json
{
  "ok": true,
  "store_url": "https://shop.example.com/",
  "domain": "shop.example.com",
  "platform": "shopify",
  "status": "audited",
  "skipped_reason": null,
  "mode": "standard",
  "severity_score": 42,
  "risk_grade": "YELLOW",
  "score_breakdown": {
    "broken_product_pages": 18,
    "shopify_e1_price_inversion": 14,
    "shopify_e3_sku_defects": 8,
    "missing_meta_descriptions": 2
  },
  "summary": {
    "total_issues": 5,
    "products_sampled": 3,
    "images_checked": 6,
    "broken_product_pages_count": 1,
    "broken_images_count": 0,
    "invalid_price_count": 0,
    "out_of_stock_count": 0,
    "schema_gap_count": 0,
    "missing_identifier_count": 1,
    "missing_meta_description_count": 1,
    "shopify_price_inversion_count": 1,
    "shopify_missing_sku_count": 1,
    "shopify_duplicate_sku_groups": 0,
    "shopify_zero_price_count": 0,
    "shopify_junk_html_count": 0,
    "shopify_empty_desc_count": 0,
    "ssrf_blocked_count": 0,
    "headline": "Audited shop.example.com (shopify): risk=YELLOW (42/100), 5 issue(s) across 3 sampled page(s) and 6 image(s)."
  },
  "checks": {
    "robots": {
      "checked": true,
      "allowed_root": true,
      "sitemaps_declared": ["https://shop.example.com/sitemap.xml"],
      "disallowed_paths": []
    },
    "sitemap": {
      "checked": true,
      "sitemaps_parsed": ["https://shop.example.com/sitemap.xml"],
      "urls_found": 48,
      "product_candidates_found": 20
    },
    "product_pages": {
      "sampled_count": 3,
      "sampled_urls": ["https://shop.example.com/products/example-item"],
      "broken_product_pages": [],
      "out_of_stock": [],
      "invalid_prices": [],
      "missing_identifiers": [],
      "schema_gaps": [],
      "missing_meta_descriptions": []
    },
    "images": {
      "checked_count": 6,
      "broken_images": []
    },
    "shopify": {
      "detected": true,
      "products_scanned": 20,
      "variants_scanned": 42,
      "e1_price_inversions": [],
      "e3_sku_defects": {
        "total_variants": 42,
        "missing_sku_count": 1,
        "missing_sku_ratio": 0.0238,
        "duplicate_sku_group_count": 0,
        "duplicate_groups": [],
        "missing_samples": []
      },
      "e4_zero_or_junk_html": {
        "zero_price_count": 0,
        "junk_html_count": 0,
        "empty_desc_count": 0,
        "zero_price_items": [],
        "junk_html_items": [],
        "empty_desc_items": []
      }
    },
    "security": {
      "ssrf_blocked_urls": []
    }
  },
  "evidence": [
    {
      "code": "E1_PRICE_INVERSION",
      "severity": "HIGH",
      "url": "https://shop.example.com/products/example-item",
      "detail": "compare_at_price (19.99) <= price (24.99); invalid strike-through pricing risks GMC sale_price mismatch"
    }
  ],
  "audited_at_utc": "2026-12-04T08:50:00Z",
  "charged": true
}
```

#### Run Summary (Key-Value Store `OUTPUT`)

```json
{
  "ok": true,
  "mode": "standard",
  "requested_stores": 2,
  "processed_stores": 2,
  "unprocessed_stores": 0,
  "audited_count": 1,
  "skipped_blocked_count": 1,
  "skipped_unreachable_count": 0,
  "charged_events": 1,
  "charge_event_name": "store-audit",
  "limit_reached": false,
  "results": [
    {
      "store_url": "https://shop.example.com/",
      "domain": "shop.example.com",
      "platform": "shopify",
      "status": "audited",
      "skipped_reason": null,
      "severity_score": 42,
      "risk_grade": "YELLOW",
      "charged": true
    },
    {
      "store_url": "https://blocked.example.com/",
      "domain": "blocked.example.com",
      "platform": "unknown",
      "status": "skipped_blocked",
      "skipped_reason": "robots_disallowed_root",
      "severity_score": 0,
      "risk_grade": "GREEN",
      "charged": false
    }
  ]
}
```

#### Validation / SSRF Rejection Output (`$0.00` Charged)

```json
{
  "ok": false,
  "error_code": "VALIDATION_ERROR",
  "charged_events": 0,
  "errors": [
    "storeUrls[0]: non-public IP or restricted host rejected"
  ],
  "hint": "Provide a JSON object with 'storeUrls' (1-10 public http/https URLs; private/loopback/link-local/metadata IPs are blocked), optional 'mode' (['quick', 'standard']), 'maxProductSamples' (1-10), 'maxImageSamples' (0-15), and 'timeoutSec' (5-45). Unknown keys and booleans for integer fields are rejected with zero charge."
}
```

***

### Compliance & Read-Only Safety Declaration

1. **Strictly Read-Only:** Performs only unauthenticated public `GET` and `HEAD` requests. Never submits forms, logs in, adds to cart, or mutates remote state.
2. **Honors `robots.txt`:** Evaluates `robots.txt` before crawling storefront pages or `/products.json`. If `/` is disallowed or a WAF/anti-bot challenge is encountered, the store is skipped without retry abuse or bypass attempts.
3. **SSRF & Redirect-SSRF Hardened:** Blocks `localhost`, `*.local`, `*.internal`, embedded URL credentials (`user:pass@`), RFC1918 private networks, loopback, link-local / cloud metadata (`169.254.169.254`), CGNAT (`100.64.0.0/10`), multicast/reserved ranges, and IPv6-mapped private addresses—both on initial DNS resolution and on every HTTP redirect hop (capped at 3 hops), as well as external image URLs.
4. **Zero PII:** Does not collect, store, or return email addresses, phone numbers, or personal data of any kind.

***

### SignalNodes Read-Only MCP Suite

Part of the **[SignalNodes](https://apify.com/signalnodes)** family of lightweight (`128–256 MB` RAM), zero-API-key, zero-startup-fee (`apify-actor-start` disabled), deterministic read-only MCP Actors on Apify Store:

| Actor | Core Capabilities | Pricing (Zero Startup Fee) | Store Page |
| :--- | :--- | :---: | :--- |
| **E-commerce Store & GMC Compliance Audit MCP** *(this Actor)* | Shopify, WooCommerce & generic storefront QA, JSON-LD `Product`/`Offer`, GTIN/SKU hygiene & GMC pre-flight audit | **$0.02 / store** | [`signalnodes/ecommerce-store-audit-mcp`](https://apify.com/signalnodes/ecommerce-store-audit-mcp) |
| **Domain Security & Email Deliverability MCP** | 10-dimension RFC 7208 recursive SPF (`>10` lookup cliff), DMARC, DKIM, MX/ESP, MTA-STS, TLS-RPT, BIMI, DNSSEC/CAA, native TLS 1.3, OWASP headers & RDAP audit | **$0.02 / domain** | [`signalnodes/domain-security-deliverability-mcp`](https://apify.com/signalnodes/domain-security-deliverability-mcp) |
| **Prediction Markets Intelligence MCP (Polymarket & Kalshi)** | Normalized live Polymarket + Kalshi search, true sorted L2 orderbook depth & VWAP slippage, and fee-adjusted cross-venue arbitrage spread | **$0.01 / query** | [`signalnodes/prediction-markets-intel-mcp`](https://apify.com/signalnodes/prediction-markets-intel-mcp) |

- **Recommended E-commerce + Domain Compliance Combo (A1 + A3):** Pair **[E-commerce Store & GMC Compliance Audit MCP](https://apify.com/signalnodes/ecommerce-store-audit-mcp)** with **[Domain Security & Email Deliverability MCP](https://apify.com/signalnodes/domain-security-deliverability-mcp)** to audit both storefront GMC/catalog health and domain-level SPF/DMARC/DKIM email deliverability & TLS 1.3 security in one automated workflow.
- **Ready-to-Use MCP Integration Templates (Claude Desktop, Cursor, Windsurf & n8n):** [github.com/Wlegend369/signalnodes-mcp-toolkit](https://github.com/Wlegend369/signalnodes-mcp-toolkit)
- **All SignalNodes Actors:** [apify.com/signalnodes](https://apify.com/signalnodes)

# Actor input Schema

## `storeUrls` (type: `array`):

REQUIRED array of 1 to 10 public e-commerce storefront URLs (hard limits: min 1, max 10 items per run; duplicates disallowed). Allowed schemes: http:// or https:// only. SSRF & security restrictions: URLs with credentials (user:pass@), localhost, \*.local, \*.internal, loopback, private RFC1918, link-local/cloud metadata (169.254.169.254), CGNAT (100.64.0.0/10), multicast/reserved, or IPv6-mapped private IPs (including after DNS resolution or HTTP redirects) are strictly blocked. Zero-charge guarantee: if empty, >10 URLs, or any URL is invalid/non-public, the entire run fails immediately with VALIDATION_ERROR, zero HTTP calls, and $0.00 charged.

## `mode` (type: `string`):

Audit depth mode. Allowed enum values ONLY: "quick" or "standard" (default: "standard"). "quick" limits sitemap-index expansion to 1 sub-sitemap and skips homepage product-link fallback unless sitemap/Shopify yield no candidates; "standard" expands up to 2 sub-sitemaps and always includes homepage product-link fallback. Both modes run Shopify /products.json deep enrichment whenever permitted by robots.txt. Hard rule: any value other than "quick" or "standard" fails immediately with VALIDATION_ERROR, zero HTTP calls, and $0.00 charged.

## `maxProductSamples` (type: `integer`):

Maximum number of public product pages sampled per store from sitemap/catalog. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 1, max 10 (default: 3). Hard cap: values <1 or >10 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged.

## `maxImageSamples` (type: `integer`):

Maximum number of storefront/product image URLs verified via HTTP HEAD per store. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 0 (skip image checks), max 15 (default: 6). SSRF rule: external image hosts are also public-IP validated before any HEAD request. Values <0 or >15 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged.

## `timeoutSec` (type: `integer`):

Per-request HTTP timeout in seconds. Must be a strict integer (booleans/floats/strings rejected) within hard range: min 5, max 45 (default: 25). Values <5 or >45 trigger immediate VALIDATION_ERROR with zero HTTP calls and $0.00 charged. Stores that time out or are unreachable incur $0.00 charge.

## Actor input object example

```json
{
  "storeUrls": [
    "https://shop.example.com"
  ],
  "mode": "standard",
  "maxProductSamples": 3,
  "maxImageSamples": 6,
  "timeoutSec": 25
}
```

# Actor output Schema

## `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 = {
    "storeUrls": [
        "https://shop.example.com"
    ],
    "mode": "standard",
    "maxProductSamples": 3,
    "maxImageSamples": 6,
    "timeoutSec": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalnodes/ecommerce-store-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 = {
    "storeUrls": ["https://shop.example.com"],
    "mode": "standard",
    "maxProductSamples": 3,
    "maxImageSamples": 6,
    "timeoutSec": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("signalnodes/ecommerce-store-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 '{
  "storeUrls": [
    "https://shop.example.com"
  ],
  "mode": "standard",
  "maxProductSamples": 3,
  "maxImageSamples": 6,
  "timeoutSec": 25
}' |
apify call signalnodes/ecommerce-store-audit-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalnodes/ecommerce-store-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/yoyJ1nIqcuNxaNI0H/builds/fhrJuIgxL88SHhshI/openapi.json
