a11y-mcp-server
a11y-mcp-server
An MCP server that exposes axe-core accessibility auditing as tools — so any MCP-compatible agent (Claude Desktop, Claude Code, or any other MCP client) can audit HTML without a project-specific integration.
This grew out of agentic-design-tools's
a11y-review Claude Code skill: the skill is Claude Code-specific, this is the same auditing capability
as a standard protocol server any agent can call.
Tools
Tool | Description |
| Audit an inline HTML string |
| Audit a local |
| Fetch a URL and audit the raw (server-rendered) response HTML |
Each accepts an optional tags array to restrict which axe-core rule tags run, e.g. ["wcag2a", "wcag2aa"].
Scope note: audits run via jsdom, which has no real layout engine. That
reliably catches structural/semantic issues — missing alt text, unlabeled form inputs, missing
lang/<title>, empty link text, and similar — but rules that depend on rendered geometry or computed
color (color-contrast, focus-order checks) won't reliably fire. For full WCAG coverage, run axe-core in a
real browser (Playwright/Puppeteer) against the rendered page.
Security note: audit_html and audit_url execute any <script> in the input inside a sandboxed jsdom
window (no Node.js API access). Only audit HTML/URLs you trust.
Install & configure
npm install -g @aiuxmasters/a11y-mcp-serverAdd to your MCP client config (e.g. Claude Desktop's claude_desktop_config.json):
{
"mcpServers": {
"a11y": {
"command": "npx",
"args": ["-y", "@aiuxmasters/a11y-mcp-server"]
}
}
}Programmatic API
import { auditHtml } from "@aiuxmasters/a11y-mcp-server";
const result = await auditHtml("<img src='logo.png'>");
console.log(result.violations); // [{ id: "image-alt", impact: "critical", ... }]Development
npm install
npm test # unit tests + a real end-to-end MCP client/server round trip over InMemoryTransport
npm run buildLicense
MIT — see LICENSE.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aiuxmasters/a11y-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server