@accesslint/mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@accesslint/mcp audit https://example.com for WCAG violations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This package is maintained in the AccessLint monorepo.
@accesslint/mcp
MCP server for accessible agentic coding — WCAG audit tools for AI coding agents. Built on @accesslint/core. From AccessLint.
Setup
Add to your MCP client configuration:
{
"mcpServers": {
"accesslint": {
"command": "npx",
"args": ["@accesslint/mcp"]
}
}
}Related MCP server: A11y MCP Server
Tools
audit_html — Audit an HTML string for WCAG violations. Auto-detects fragments vs full documents.
audit_file — Read an HTML file from disk and audit it.
audit_url — Fetch a URL and audit the returned HTML.
diff_html — Audit new HTML and diff against a previously named audit to verify fixes.
list_rules — List available WCAG rules with optional filters by category, level, fixability, or criterion. All audit and diff tools accept an optional
min_impactparameter to filter results by severity. Valid values, from most to least severe:critical,serious,moderate,minor. When set, only violations at that level or above are shown.
Each violation in the audit output includes the rule ID, CSS selector, failing HTML, impact level, and — where available — a concrete fix suggestion, fixability rating, and guidance. When multiple elements break the same rule, shared metadata is printed once to keep output compact.
Prompts
React Component Auditing
To audit React components (.jsx/.tsx), the agent uses the audit-react-component prompt, which guides it through:
Reading the component source
Mentally rendering it to static HTML (acting as
renderToStaticMarkup)Passing the rendered HTML to
audit_htmlwithcomponent_mode: true
No extra runtime dependencies are required — the agent renders the component itself based on the source code.
Why use this instead of prompting alone?
Without tools, the agent reasons about WCAG rules from memory. The MCP replaces that with structured output — specific rule IDs, CSS selectors, and fix suggestions — so the agent skips straight to applying fixes. This means 23% fewer output tokens per run, which translates directly to faster and cheaper completions.
Benchmarked across 25 test cases, 67 fixable violations, 3 runs each (Claude Opus):
With @accesslint/mcp | Agent alone | |
Violations fixed | 99.5% (200/201) | 93.5% (188/201) |
Regressions | 1.7 / run | 2.0 / run |
Cost | $0.56 / run | $0.62 / run |
Duration | 270s / run | 377s / run |
Timeouts | 0 / 63 tasks | 2 / 63 tasks |
License
MIT
Available Tools
5 toolsaudit_fileB
Read an HTML file from disk and audit it for accessibility violations.
Inputs: path (required), name, min_impact.
audit_htmlC
Audit an HTML string for accessibility violations. Auto-detects fragments vs full documents.
Inputs: html (required), name, min_impact.
audit_urlB
Fetch a URL and audit the returned HTML for accessibility violations.
Inputs: url (required), name, min_impact.
diff_htmlA
Audit new HTML and diff against a previously named audit. Use after audit_html with a name to verify fixes.
Inputs: html (required), before (required), min_impact.
list_rulesA
List available accessibility rules with optional filters by category, WCAG level, fixability, or criterion.
Inputs: wcag, level, category, fixability.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct input source or purpose: HTML strings, files, URLs, diffs, and rule listing. There is no meaningful overlap between audit sources or the diff and rules tools.
Tool names consistently follow a verb_noun pattern in snake_case: audit_html, audit_file, audit_url, diff_html, list_rules. The naming is predictable and easy to reason about.
Five tools is well-scoped for an accessibility auditing server. Each tool covers a distinct, necessary function without bloat or redundancy.
The tool surface covers the full audit workflow: input from multiple sources, diffing to verify fixes, and rule discovery. No obvious dead-end operations or critical missing capabilities for the stated purpose.
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Related MCP Servers
- AlicenseBqualityBmaintenanceAn MCP (Model Context Protocol) server for performing accessibility audits on webpages using axe-core. Use the results in an agentic loop with your favorite AI assistants (Cline/Cursor/GH Copilot) and let them fix a11y issues for you!2421 npm53Mozilla Public 2.0
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to perform web accessibility testing against WCAG standards using Deque Axe-core API and Puppeteer.6502 npm97MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server for accessibility auditing that provides WCAG 2.2 criteria lookup, HTML remediation guidance, and automated documentation generation for UI components. It enables users to analyze code snippets for issues and generate professional accessibility audit reports.MIT
- AlicenseAqualityFmaintenanceAn accessibility expert MCP server that provides AI coding assistants with real-time access to WAI-ARIA patterns, code review, contrast checking, and WCAG guidance for writing accessible code from the start.4121 PyPIMIT