home / mcp / accessibility mcp server
Provides automated accessibility audits using axe-core, Lighthouse, and WAVE to deliver deterministic, WCAG-mapped results for URLs and local files.
Configuration
View docs{
"mcpServers": {
"duds-accessibility-mcp": {
"command": "node",
"args": [
"/absolute/path/to/accessibility-mcp/dist/index.js"
],
"env": {
"WAVE_API_KEY": "YOUR_WAVE_API_KEY",
"WAVE_API_URL": "https://wave.webaim.org/api/request",
"LIGHTHOUSE_TIMEOUT": "60000",
"PLAYWRIGHT_BROWSER": "chromium",
"PLAYWRIGHT_TIMEOUT": "30000",
"LIGHTHOUSE_CHROME_FLAGS": "--headless --no-sandbox"
}
}
}
}You can run an Accessibility MCP Server to perform automated WCAG-compliant accessibility audits for web content. It leverages axe-core via Playwright, Lighthouse CLI, and an optional WAVE API to deliver machine-actionable results that help you identify and remediate accessibility issues across URLs, local files, and localhost deployments.
Set up the MCP server as part of your Cursor workflow to run automated accessibility audits. You can invoke axe-core, Lighthouse, or WAVE audits against web pages, local files, or local servers, and you will receive deterministic outputs that map findings to WCAG criteria with actionable context.
Follow these concrete steps to install and prepare the Accessibility MCP Server for use with your MCP client.
The server runs as a local, stdio-based MCP server. You start it via a node command that points to the built JavaScript entry file.
Optional environment controls let you tune timeouts and integrate the WAVE API. You can configure Playwright browser choice, Lighthouse timeouts, and the WAVE API settings. All results remain machine-actionable and deterministic, with explicit pass/fail/unknown outcomes.
axe_audit runs automated accessibility checks using axe-core via Playwright. It supports URLs, local files, and localhost addresses. You can tailor checks with WCAG tags and browser choices.
Keep your API keys and sensitive information in secure environments. When using the WAVE API, ensure your API key is kept secret and only used in trusted contexts. The server normalises results to a consistent schema to facilitate automated remediation.
If audits fail to run, check that the target URL or file path is accessible from the machine running the MCP server. Verify environment variables are set correctly and that the necessary browser binaries are installed for Playwright.
Runs automated accessibility checks via axe-core integrated with Playwright. Supports URL, local file, and localhost targets with configurable WCAG tags and browser.
Executes Lighthouse accessibility audits for broader performance and accessibility insights, with optional category selection and timeouts.
Uses the WAVE API for additional accessibility validation, serving local files via a temporary HTTP server when needed.