SuperAPI AI Directory

mcp-web-validator

Validate HTML and CSS, audit technical SEO and accessibility, check JSON-LD and public links, and capture responsive screenshots.

Open website

About this tool

Purpose

mcp-web-validator is an MCP (Model Context Protocol) server for web page quality and technical SEO checks. It packages capabilities such as HTML/CSS validation, technical SEO and accessibility checks, JSON-LD syntax validation, broken link checking, and responsive screenshots as tools for MCP-enabled AI clients to call. The project is part of the DigestSEO open-source SEO tool suite and is licensed under MIT.

Main capabilities

  • HTML and CSS validation: HTML is sent to https://html5.validator.nu/(Nu HTML Checker) for validation; CSS parsing is completed within the DigestSEO Worker.
  • Technical SEO and accessibility checks: perform SEO analysis and accessibility checks on pages.
  • JSON-LD syntax validation: parse and validate structured data syntax.
  • Broken link checking: make capped HEAD requests to eligible public HTTP(S) URLs, falling back to capped GET when necessary; link redirects are reported but not followed.
  • Responsive screenshots: the locally installed screenshot.capture tool installs a fixed-version headless browser into the Puppeteer cache on first use, then reuses it; the cache location can be customized via PUPPETEER_CACHE_DIR.
  • Reporting tool: generate validation reports.

Two ways to use

: the repository deliberately provides two mutually independent MCP interfaces:

  1. Local installation: run via the npm package in stdio mode, supporting validation of workspace files and responsive screenshots.
  2. Hosted endpoint: a remote Streamable HTTP service that can only access public web pages and cannot access local files or create screenshots.

The hosted app exposes eight tools, among them:

  • audit_public_webpage: follows up to three validated redirects, accepts size-limited text/html responses and records the final URL; does not crawl additional pages, does not execute JavaScript, does not perform authentication, and does not fetch linked stylesheets and resources.
  • audit_public_site: first locks the final public origin, then reads a capped robots.txt as well as same-origin XML Sitemap, RSS 2.0, Atom 1.0, and plain-text sitemap representations, auditing at most eight eligible sitemap pages per call. robots discovery can follow up to five validated public redirects across authorities; sitemap entries remain same-origin with the audited pages; private/reserved targets, credentials, custom ports, service self-crawling, and HTTPS-to-HTTP redirect downgrades are all rejected. This tool does not follow HTML links or external sitemap entries; when the response indicates there are more eligible pages, page_offset can be used.

Usage

Local client configuration example (Claude Desktop): add the server to claude_desktop_config.json, the Windows path is %APPDATA%\Claude\claude_desktop_config.json, and the macOS path is ~/Library/Application Support/Claude/claude_desktop_config.json. After saving, restart Claude Desktop.

Cursor and compatible clients: create an MCP server of type command/stdio. The repository also includes a Cursor Marketplace plugin manifest; after the plugin is published, you can install Web Validator by DigestSEO from the Cursor Marketplace, or add the repository from the Cursor plugin interface; the plugin bundles the same local stdio server and does not require an API key or environment variables.

Codex CLI can directly add the published local stdio package, or switch to the existing hosted Streamable HTTP interface, and verify the configuration with the corresponding command.

Gemini CLI supports local stdio MCP servers; just add the published package, with no API key or environment variables required.

GitHub Copilot CLI can add the published local stdio server; when starting Copilot CLI inside a clone of the repository, it can also discover the checked-in root .mcp.json, which already points mcp-web-validator to npx -y mcp-web-validator.

Local development: clone the repository and install the locked dependencies, run the local quality gates, run the local stdio server, and separately validate the hosted Worker.

When to use

  • Perform HTML/CSS validation, SEO, and accessibility checks on web pages you own or are authorized to check in an AI client.
  • Validate JSON-LD structured data syntax.
  • Check for broken links on public pages.
  • Validate local workspace files and generate responsive screenshots (local version only).
  • Perform limited-scope sitemap page audits on public sites (hosted version).

Limitations and notes

  • Only validate files, markup, and public web pages that you own or are authorized to check. Public page URLs may contain sensitive query values; remove tokens and private identifiers before submitting. Do not submit passwords, API keys, access tokens, payment data, health data, private source code, or other sensitive personal data.
  • The local server has the same operating system permissions as its MCP client; review tool inputs before approving file access, external validation, link checking, or screenshot creation. The hosted app cannot access your local file system.
  • The hosted version does not retain tool inputs, fetched HTML, or results.
  • Runtime requirements: Node.js 22.12.0 or later; local stdio requires an MCP client that supports stdio, and the hosted endpoint requires a client that supports Streamable HTTP.
  • The validation, SEO, schema, link, and reporting tools do not download a browser at install time; only the local screenshot.capture tool installs a headless browser on first use.
  • The hosted version does not perform full-site link checking; audit_public_webpage does not crawl additional pages, does not execute JavaScript, and does not perform authentication.
  • For more details on data handling, see the published privacy policy, and for private vulnerability reports, see SECURITY.md.

Links

  • Repository:https://github.com/AKzar1el/mcp-web-validator
  • Product page: digestseo.com/validator-mcp
  • Support: digestseo.com/support
  • Privacy: digestseo.com/privacy