check_aria_attributes
Check if ARIA attributes are used correctly in HTML
Run axe-core against a URL or a block of HTML and get the accessibility violations back in the place you are writing the markup.
LABSCO SUMMARY
test_html_string takes markup that has never been deployed, so a component gets checked in the same turn it is generated rather than in a sweep three weeks later. check_color_contrast answers the narrow question a palette actually raises — this pair, at this font size, bold or not — without running the full suite to get it.
An accessibility checker built on Axe-core. It tests a live URL or an HTML string at a viewport you set, plus three focused checks: colour contrast against WCAG, ARIA attribute usage, and orientation locking.
npx on your PATH. No account and no key.
One command — npx -y a11y-mcp-server
USE CASES
The markup is tested as a string, so a component gets an Axe-core pass and an ARIA check in the same turn it was generated rather than in an audit weeks later.
The page is tested at a width and height you choose, filtered to the rule tags you are being held to — and the rule list is readable up front so you know what the run covers.
The check takes the foreground, the background, the font size and whether the text is bold, which is the whole input WCAG contrast actually depends on — no page needed.
Content that forces one orientation is a specific failure with its own check, separate from the general pass over the page.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
check_aria_attributesCheck if ARIA attributes are used correctly in HTML
check_color_contrastCheck if a foreground and background color combination meets WCAG contrast requirements
check_orientation_lockCheck if content forces a specific orientation
get_rulesGet information about available accessibility rules with optional filtering
test_accessibilityTest a webpage for accessibility issues using Axe-core
test_html_stringTest an HTML string for accessibility issues
BEFORE YOU INSTALL
6 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"a11y-mcp-server": {
"command": "npx",
"args": [
"-y",
"a11y-mcp-server"
]
}
}
}npx -y a11y-mcp-server