
Validatehtml
Validate HTML, CSS, JSON, XML and WCAG accessibility from an AI coding agent. No key needed.
- tools
- 5
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Nov 10, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
validate_codeChecks HTML, CSS, JSON, XML, or HTML for WCAG issues
Checks 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 conversation
The 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 localhost
Checks 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 weight
Every 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 browser
A link for you to scan a whole site in your browser
No parameter schema in public metadata yet.
Sponsors
Configuration
VALIDATEHTML_API_KEYsecretOptional. Only audit_page needs it. 100 free calls a month.
Readme
validatehtml
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.
For AI coding agents (MCP)
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"] }
}
}
Details
- Repository
- github.com/theodcrx/validatehtml-cli
- Categories
- AI & LLM Tools, Data & Analytics
- Package
validatehtml- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active