check_color_contrast
Check if a foreground and background color combination meets WCAG contrast requirements.
How to use it
check_color_contrast is exposed by the A11ymcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the check_color_contrast tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install A11ymcp
claude mcp add a11y-accessibility -- npx -y a11y-mcp-serverOther tools in A11ymcp (14)
Yes
Check if ARIA attributes are used correctly in HTML.
Check if content forces a specific orientation.
No
Yes
Get information about available accessibility rules with optional filtering. Returns an array of rule objects, each containing ruleId, description, help, helpUrl, and tags.
No
Yes
No
No
Tests a URL for accessibility issues.
Tests an HTML string for accessibility issues.
Yes
No