
Validate HTML, CSS, JSON, XML and WCAG accessibility from an AI coding agent. No key needed.
Public tool metadata for what this MCP can expose to an agent.
validate_codeChecks HTML, CSS, JSON, XML, or HTML for WCAG issuesChecks HTML, CSS, JSON, XML, or HTML for WCAG issues
No parameter schema in public metadata yet.
validate_fileThe same on a local file, without reading it into the conversationThe same on a local file, without reading it into the conversation
No parameter schema in public metadata yet.
validate_urlChecks a live page, including a dev server on localhostChecks a live page, including a dev server on localhost
No parameter schema in public metadata yet.
audit_pageEvery check on one deployed page: HTML, accessibility, meta tags, Open Graph, page weightEvery check on one deployed page: HTML, accessibility, meta tags, Open Graph, page weight
No parameter schema in public metadata yet.
site_scan_linkA link for you to scan a whole site in your browserA link for you to scan a whole site in your browser
No parameter schema in public metadata yet.
Sponsors
VALIDATEHTML_API_KEYsecretOptional. Only audit_page needs it. 100 free calls a month.
Validate HTML, CSS, JSON, XML and accessibility from your terminal or your AI coding agent. Errors are spec violations, warnings are best practices, and modern valid code stays clean.
npx validatehtml index.html
npx validatehtml https://example.com
npx validatehtml http://localhost:3000 --type accessibility
No account and no key. Exit code 0 when it passes, 1 when it fails, 2 when it could not run, so it fits in a script or a build.
Claude Code:
claude mcp add validatehtml -- npx -y validatehtml mcp
Cursor, Windsurf, VS Code and any other MCP client:
{
"mcpServers": {
"validatehtml": { "command": "npx", "args": ["-y", "validatehtml", "mcp"] }
}
}
validatehtml