accessibility-ai-mcp
v1.0.0
Published
Accessibility Ai MCP server. Tools: check color contrast, suggest alt text, check heading hierarchy. Built by MEOK AI Labs.
Maintainers
Readme
Accessibility AI MCP Server
By MEOK AI Labs — Web accessibility (a11y) checking tools for WCAG 2.1 compliance
Installation
pip install accessibility-ai-mcpUsage
# Run standalone
python server.py
# Or via MCP
mcp install accessibility-ai-mcpTools
check_color_contrast
Check WCAG 2.1 color contrast ratio between foreground and background colors. Returns AA/AAA pass/fail for normal and large text.
Parameters:
foreground(str): Foreground/text color in hex (e.g., '#333333')background(str): Background color in hex (e.g., '#FFFFFF')font_size(float): Font size in pixels (default 16)bold(bool): Whether text is bold (default False)
suggest_alt_text
Suggest alt text guidelines and templates for different image types per WCAG 2.1 - 1.1.1 Non-text Content.
Parameters:
context(str): Description of the image content/contextimage_type(str): Image type — 'photo', 'icon', 'chart', 'decorative', 'logo', 'screenshot', 'diagram'
check_heading_hierarchy
Check heading hierarchy in HTML for proper nesting (h1 -> h2 -> h3...) per WCAG 1.3.1.
Parameters:
html(str): HTML content to analyze
aria_validator
Validate ARIA attributes and roles in HTML for correctness. Checks for invalid roles, missing role attributes, and focusable elements with aria-hidden.
Parameters:
html(str): HTML content to validate
Authentication
Free tier: 50 calls/day. Upgrade at meok.ai/pricing for unlimited access.
License
MIT — MEOK AI Labs
