vastlint — Claude Code MCP server: VAST XML validation and fixes
vastlint - IAB XML VAST validator and linter is an MCP server that checks VAST tags against IAB specs and reports failed rules. It helps investigate missing impressions or conflicting platform numbers.
no license 404 installs updated 2026-04-30
claude mcp add --transport http vastlint https://aleksuix-vastlint.run.toolsWhat vastlint - IAB XML VAST validator and linter does
The server takes an ad tag and measures it against IAB Tech Lab VAST 2.0–4.3. Beyond the spec itself it looks at XML 1.0 well-formedness, URI syntax, SIMID 1.0–1.2, currency values per ISO 4217, Ad-ID identifier shape, and whether MIME types come from the IANA registry. That adds up to 118 rules spread across required fields, schema, structure, security, deprecated attributes and value formats.
Five tools do the work. validate_vast takes raw XML, validate_vast_url fetches a tag and follows its wrapper chain (5 levels deep unless you say otherwise), list_rules returns the catalog, explain_rule details a single rule, and fix_vast handles the safe repairs: http to https in URLs, removal of deprecated attributes. Everything else comes back as a list for you to fix by hand.
The core is Rust with no dependencies, replies land under a millisecond, and the XML is never stored. AdCP tools such as calibrate_content and validate_content_delivery need a Bearer token, so set one up before you touch them. list_creatives always comes back empty because creatives are checked on the fly rather than kept.
What it helps with
- catch a broken VAST tag before launch
- see which rule fired and how to fix it
- walk a wrapper chain behind a tag URL
- strip http links and deprecated attributes from a tag
- browse the rule catalog while reviewing an integration
Example prompts for the agent
- Validate this VAST tag with vastlint and list the failing rule IDs.
- Fetch the tag from that URL, follow the wrappers and tell me what breaks.
- Explain the rule that fired and run
fix_vaston the XML.
How to install vastlint - IAB XML VAST validator and linter
Platform CLI: remote server
claude mcp add --transport http vastlint https://aleksuix-vastlint.run.toolsPlatform CLI: remote server
codex mcp add vastlint-iab-xml-vast-validator-and-linter --url https://aleksuix-vastlint.run.toolsConfig file
{
"mcpServers": {
"vastlint-iab-xml-vast-validator-and-linter": {
"url": "https://aleksuix-vastlint.run.tools"
}
}
}Config file
{
"servers": {
"vastlint-iab-xml-vast-validator-and-linter": {
"type": "http",
"url": "https://aleksuix-vastlint.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http vastlint-iab-xml-vast-validator-and-linter https://aleksuix-vastlint.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about vastlint - IAB XML VAST validator and linter
How do I install vastlint in Claude Code?
Run claude mcp add --transport http vastlint https://aleksuix-vastlint.run.tools. The server is remote, so there is nothing to build locally.
What does vastlint do?
It validates VAST XML against 118 IAB-derived rules, explains any rule that triggers, and repairs part of the problems automatically.
Do I need a Bearer token?
Only for the AdCP tools: content standard sets, the pre-flight creative check and delivery verification. Plain VAST validation runs without one.