Server data from the Official MCP Registry
Validate HTML, CSS, JSON, XML and WCAG accessibility from an AI coding agent. No key needed.
About
Validate HTML, CSS, JSON, XML and WCAG accessibility from an AI coding agent. No key needed.
Security Report
The validatehtml MCP server is a straightforward HTML/CSS/JSON/XML validator client that sends user-requested code or URLs to validatehtml.com and reads only whitelisted file extensions. Its network and file access match its stated validation purpose, and the keyed audit endpoint correctly reads its API key from an environment variable. Remaining observations are minor: the free tools send content to a third party without auth (documented), and the loopback fetch and file read paths have no size or path restrictions beyond extension checks. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed · 10 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: VALIDATEHTML_API_KEY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"validatehtml": {
"command": "npx",
"args": [
"-y",
"validatehtml@0.1.0"
],
"env": {
"VALIDATEHTML_API_KEY": "your-validatehtml-api-key-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub 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"] }
}
}
| Tool | What it does | Key |
|---|---|---|
validate_code | Checks HTML, CSS, JSON, XML, or HTML for WCAG issues | No |
validate_file | The same on a local file, without reading it into the conversation | No |
validate_url | Checks a live page, including a dev server on localhost | No |
audit_page | Every check on one deployed page: HTML, accessibility, meta tags, Open Graph, page weight | Yes |
site_scan_link | A link for you to scan a whole site in your browser | No |
Agent skill
skills/validatehtml/SKILL.md tells an agent
when to validate and how to read the result (fix errors, report warnings, never
claim WCAG compliance). Copy the folder into .claude/skills/ (or your agent's
skills folder) next to the MCP server.
Command line
validatehtml <file|url|-> [--type html|css|json|xml|accessibility]
[--audit] [--fail-on error|warning] [--format text|json]
validatehtml mcp
- reads standard input. --audit needs a key.
Key
--audit and audit_page use VALIDATEHTML_API_KEY. Create one at
https://validatehtml.com/dashboard. A free account includes 100 calls a month;
larger allowances are on the pricing page.
What leaves your machine
The code or file you ask to check is sent to validatehtml.com, checked in memory
and not stored. A page on localhost is read on your machine and sent the same
way. Only .html, .htm, .css, .json, .xml and .svg files can be read,
up to 1 MB. Each call also counts the tool used and the package version, never
the content.
Licence
MIT for this client. The licence does not cover the ValidateHTML name.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
