Installation
AccessibilityHub can be run without installation using npx, or installed globally for faster startup.The npx approach (no installation) is recommended for MCP client configurations as it ensures you always use the latest version.
Configure Your MCP Client
Choose your MCP client and add AccessibilityHub to its configuration:- Claude Desktop
- Cursor
- Windsurf
- Claude Code CLI
Add to your Claude Desktop configuration file:Configuration file location:After editing the config file, restart Claude Desktop.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
On first run, Puppeteer will download Chrome/Chromium automatically. This may take a few minutes.
Verify Installation
After configuring your MCP client:Check available tools
Ask your AI assistant: “What accessibility tools are available?”You should see tools like
analyze-with-axe, analyze-with-pa11y, analyze-contrast, analyze-with-lighthouse, and analyze-mixed.Run your first analysis
Try: “Analyze the accessibility of https://example.com”
Your First Analysis
Let’s run a quick accessibility check:Understanding Results
AccessibilityHub returns enriched results with human context:Key Fields
- severity -
critical,serious,moderate, orminor - wcag - Which WCAG criterion is violated
- affectedUsers - Who experiences this barrier (screen-reader, keyboard-only, low-vision, etc.)
- priority - Suggested fix priority based on user impact
- remediationEffort - Estimated effort:
low,medium, orhigh - suggestedActions - Step-by-step fixes
Common Use Cases
Quick Page Audit
analyze-mixed to run axe-core and Pa11y in parallel with deduplication.Pre-Deploy Check
Color Contrast Review
Lighthouse Score
Using Pre-Built Prompts
AccessibilityHub includes prompt templates for common workflows:Troubleshooting
Server not starting
Server not starting
- Ensure Node.js ≥ 20 is installed:
node --version - Check that npx can find the package:
npx -y accessibility-hub --help - Verify JSON syntax in your MCP client config file
- Check client logs for detailed error messages
Chrome/Puppeteer issues
Chrome/Puppeteer issues
- On first run, Puppeteer downloads Chrome (may take a few minutes)
- On Linux servers, install dependencies:
- If behind a proxy, set
PUPPETEER_SKIP_DOWNLOAD=trueand install Chrome manually
Tools not appearing
Tools not appearing
- Completely restart your MCP client (not just reload)
- Check the server is listed in your client’s MCP servers list
- Look for connection errors in client logs
- Try asking explicitly: “List all available MCP tools”
Slow analysis
Slow analysis
- First run is slower due to Chrome download
- Complex pages take longer to analyze (2-5 seconds typical)
- Using
analyze-mixedruns multiple tools in parallel - For faster results, use single tools like
analyze-with-axe
Next Steps
Accessibility Testing Concepts
Learn about the tools and methodologies
Effective Prompts
Tips for writing better accessibility prompts
Workflows Guide
Recommended workflows for common tasks
Interpreting Results
How to prioritize and act on findings