MCP server for testing web content and HTML snippets for WCAG 2.0/2.1/2.2 accessibility compliance using axe-core.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by A11ymcp.
https://github.com/user-attachments/assets/316c6d44-e677-433e-b4d5-63630b4bab2b
A11y MCP is an MCP (Model Context Protocol) server that gives LLMs access to web accessibility testing APIs.
This server uses the Deque Axe-core API and Puppeteer to allow LLMs to analyze web content for WCAG compliance and identify accessibility issues.
Note: This is not an official MCP server from Deque Labs.
Edit your MCP configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd the server to the mcpServers object:
This registers the server for the current project. To make it available across all projects:
Verify the server is registered:
Note: MCP tools become available after restarting your Claude Code session.
Add to your VS Code settings.json or .vscode/settings.json:
Add to your Cursor MCP configuration (.cursor/mcp.json):
Add to your Windsurf MCP configuration (~/.codeium/windsurf/mcp_config.json):
Tests a URL for accessibility issues.
Parameters:
| Parameter | Required | Description |
|---|---|---|
url | Yes | The URL of the web page to test |
tags | No | Array of WCAG tags to test against (e.g., ["wcag2aa"]) |
width | No | Viewport width in pixels (default: 1280) |
height | No | Viewport height in pixels (default: 800) |
Example โ desktop viewport (default):
Example โ mobile viewport (iPhone 12/13):
Tests an HTML string for accessibility issues.
Parameters:
| Parameter | Required | Description |
|---|---|---|
html | Yes | The HTML content to test |
tags | No | Array of WCAG tags to test against (e.g., ["wcag2aa"]) |
width | No | Viewport width in pixels (default: 1280) |
height | No | Viewport height in pixels (default: 800) |
Example โ default viewport:
Example โ mobile viewport:
Get information about available accessibility rules with optional filtering. Returns an array of rule objects, each containing ruleId, description, help, helpUrl, and tags.
Parameters:
| Parameter | Required | Description |
|---|---|---|
tags | No | Filter rules by tags (e.g., ["wcag2a", "wcag2aa", "best-practice"]) |
Example โ filter rules by WCAG 2.1 AA:
Example โ get all rules (no filter):
Check if a foreground and background color combination meets WCAG contrast requirements.
Parameters:
| Parameter | Required | Description |
|---|---|---|
foreground | Yes | Foreground color (e.g., "#000000", "rgb(0,0,0)") |
background | Yes | Background color (e.g., "#FFFFFF", "rgb(255,255,255)") |
fontSize | No | Font size in pixels (default: 16) |
isBold | No | Whether the text is bold (default: false) |
Example:
Check if ARIA attributes are used correctly in HTML.
Parameters:
| Parameter | Required | Description |
|---|---|---|
html | Yes | HTML content to test for ARIA attribute usage |
Example:
Check if content forces a specific orientation.
Parameters:
| Parameter | Required | Description |
|---|---|---|
html | Yes | HTML content to test for orientation lock issues |
Example:
The server returns accessibility test results in structured JSON:
Common tags you can use with the tags parameter:
| Tag | Description |
|---|---|
wcag2a | WCAG 2.0 Level A |
wcag2aa | WCAG 2.0 Level AA |
wcag2aaa | WCAG 2.0 Level AAA |
wcag21a | WCAG 2.1 Level A |
wcag21aa | WCAG 2.1 Level AA |
wcag22aa | WCAG 2.2 Level AA |
best-practice | Best practices (not strictly WCAG) |
MIT
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ronantakizawa-a11ymcp)<a href="https://allmcps.com/mcp/ronantakizawa-a11ymcp"><img src="https://allmcps.com/api/badge/ronantakizawa-a11ymcp?style=directory" alt="A11ymcp on AllMCPs" /></a>