A11y MCP Server
MCP server by ronantakizawa Verified · npm:a11y-mcp-server
A11y MCP is an MCP server that gives AI assistants access to web accessibility testing. It uses Deque's Axe-core API and Puppeteer to check URLs and HTML against WCAG standards.
Install A11y MCP Server
Built from the published package, never by AI.
claude mcp add a11y-mcp-server -- npx -y a11y-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"a11y-mcp-server": {
"args": [
"-y",
"a11y-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"a11y-mcp-server": {
"args": [
"-y",
"a11y-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"a11y-mcp-server": {
"args": [
"-y",
"a11y-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add a11y-mcp-server -- npx -y a11y-mcp-server{
"mcpServers": {
"a11y-mcp-server": {
"args": [
"-y",
"a11y-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add a11y-mcp-server npx -y a11y-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the a11y-mcp-server block.
About
A11y MCP is a Model Context Protocol server that gives LLMs access to web accessibility testing APIs. It uses the Deque Axe-core API and Puppeteer to analyze web content for WCAG compliance and identify accessibility issues. Users can test any public URL with customizable viewport dimensions, or test a raw HTML string.
The server also offers rule exploration, color contrast checks against WCAG requirements, ARIA attribute validation, and detection of orientation lock. Users can choose which WCAG tags to test against, such as wcag2aa or wcag22aa. Results come back as structured JSON with violations, passes, and incomplete counts. The project is released under the MIT license.
Written from the project's README and checked against it.
Tools it gives your assistant
test_accessibilityTests a URL for accessibility issues, with optional tags and viewport size.test_html_stringTests an HTML string for accessibility issues, with optional tags and viewport size.get_rulesReturns available accessibility rules, optionally filtered by tags.check_color_contrastChecks whether a foreground and background color meet WCAG contrast requirements.check_aria_attributesChecks whether ARIA attributes are used correctly in HTML.check_orientation_lockChecks whether HTML content forces a specific screen orientation.
What you need
- Node.js 18 or later
- An MCP-compatible client such as Claude Desktop, Claude Code, VS Code, Cursor, or Windsurf
Try asking
- Test https://example.com for WCAG 2.2 AA issues on a mobile viewport.
- Check if #777777 text on a #EEEEEE background meets WCAG contrast at 16px.
- Test this HTML snippet for ARIA attribute problems and list the fixes.
Good to know
- This is not an official MCP server from Deque Labs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to A11y MCP Server
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
A11y MCP Server: common questions
What WCAG standards can it test against?
The tags parameter accepts WCAG 2.0, 2.1 and 2.2 tags at levels A and AA, plus wcag2aaa and best-practice. You choose the tags for each test.
Is this an official Deque product?
No. The source says it is not an official MCP server from Deque Labs, although it uses Deque's Axe-core API.
What does a test result contain?
Results are structured JSON with violations, passes, incomplete and inapplicable counts, a timestamp, the tested URL, and the axe-core version.
How do I install A11y MCP Server?
In Claude Code run claude mcp add a11y-mcp-server -- npx -y a11y-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is A11y MCP Server the official server?
A11y MCP Server is published by npm:a11y-mcp-server from its verified domain in the official MCP Registry.
Is A11y MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is A11y MCP Server safe to use?
It scores 62 of 100. Grades: maintenance D, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to A11y MCP Server?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does A11y MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
