# Web Validator by DigestSEO [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/AKzar1el/mcp-web-validator  
**GitHub Stars:** 9  
**npm Downloads (last month):** 2349  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/web-validator-by-digestseo

## Description
Validate HTML and CSS, audit SEO and JSON-LD, and check user-authorized public links.

## Tools
Capabilities this server exposes over MCP:

- **html.local** — Validate a local HTML or XHTML file.
- **html.url** — Validate the markup returned by a public URL.
- **css.local** — Validate a local CSS file.
- **seo.metadata** — Audit titles, descriptions, canonical tags, robots noindex directives, headings, viewport metadata, image alt attributes, and Open Graph metadata.
- **links.broken** — Check links extracted from supplied HTML.
- **schema.markup** — Parse JSON-LD blocks and report JSON syntax errors.
- **report.validation** — Combine HTML/XHTML, optional CSS, SEO, JSON-LD, and bounded link checks in a Markdown report.
- **audit.history** — Opt-in local site-audit snapshot history: `save`, `list`, or `get` by ID.
- **screenshot.capture** — Capture desktop, tablet, mobile, or custom viewport screenshots.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "web-validator-by-digestseo": {
    "command": "npx",
    "args": ["-y","mcp-web-validator"]
  }
}
```

## Documentation

## What Web Validator by DigestSEO does

Web Validator by DigestSEO brings common web quality checks into MCP clients. The local package can inspect HTML, XHTML, and CSS files; validate markup returned by a public URL; analyze supplied HTML for on-page SEO and accessibility signals; parse JSON-LD; check extracted links; generate a combined Markdown report; and capture screenshots at selected viewport sizes.

The hosted surface is designed for remote use. It can fetch one authorized public page, audit a bounded set of same-origin pages discovered through sitemap-related sources, or process markup and links supplied directly to the tool. Use the local surface when files in a workspace or screenshot output are part of the task, and use the hosted surface when the agent needs Streamable HTTP access to public web content.

## How it works

The local server starts with `npx -y mcp-web-validator` and communicates with an MCP client over stdio. HTML validation is sent to the external W3C Nu HTML Checker, while CSS validation uses the external W3C Jigsaw CSS Validator. SEO analysis and JSON-LD parsing operate on supplied HTML, and link checks send bounded requests to eligible public destinations.

The hosted endpoint is available at `https://web-validator-mcp.digestseo.com/mcp`. Its public-page audit follows at most three validated redirects and accepts bounded HTML responses. The site audit is sitemap-first, remains on the same public origin, respects `robots.txt`, and audits no more than eight eligible pages per call. Optional hosted link checks are capped at 20 links. Hosted processing does not retain tool inputs, fetched HTML, or results.

Screenshot capture opens a local file or eligible public URL and writes PNG files to the chosen output directory. The local tool installs its pinned Puppeteer browser on first use and reuses it afterward. Existing matching screenshot files may be replaced.

## Setup and configuration

Node.js 22.12.0 or newer is required. For Claude Desktop, add a stdio server entry that runs `npx` with the `-y mcp-web-validator` arguments, then restart the client. Cursor and compatible clients can use the same command as a command-based stdio server. Codex CLI can register either the local package or the hosted MCP endpoint.

The package does not require API keys or environment variables. Set `PUPPETEER_CACHE_DIR` only when the browser cache used by local screenshots needs to live in a custom location. The hosted service cannot read local files.

Review file paths, public URLs, and output directories before approving tool calls. Only inspect files, markup, and webpages that you own or are authorized to review; public URLs may expose sensitive query parameters.

## Tools and capabilities

The local npm package exposes these tools:

- `html.local` validates a local HTML or XHTML file, with XHTML parsing semantics for `.xhtml` paths.
- `html.url` validates markup fetched from a public URL.
- `css.local` validates a local CSS file.
- `seo.metadata` checks titles, descriptions, canonical tags, `noindex` directives, headings, viewport metadata, image alt attributes, and Open Graph metadata.
- `links.broken` checks links extracted from supplied HTML.
- `schema.markup` reports JSON syntax errors in JSON-LD blocks.
- `report.validation` combines markup, optional CSS, SEO, JSON-LD, and bounded link checks in Markdown.
- `screenshot.capture` creates desktop, tablet, mobile, or custom-viewport PNG screenshots.

The hosted service provides corresponding tools for public-page audits, bounded site audits, raw HTML and CSS validation, SEO and schema checks, link checking, and report generation. Its report tool can resolve relative links with `base_url` without fetching a page.

## Limitations and notes

The local server runs with the MCP client’s operating-system permissions and can contact external validators and link targets. It does not download a browser during installation, but screenshot capture downloads the pinned browser on first use. The hosted surface cannot access local files, authenticate, execute page JavaScript, recursively crawl HTML links, fetch linked stylesheets or assets, or create screenshots.

Hosted site audits reject private or reserved destinations, credentials, custom ports, service self-fetches, and HTTPS-to-HTTP redirect downgrades. They do not perform site-wide link checking. Link redirects are reported rather than followed, and relative sitemap directives are interpreted for the originally audited authority.

_Full upstream README: https://allmcps.com/mcp/web-validator-by-digestseo/readme_

