a11y-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
a11y-mcp-server
MCP server for accessibility auditing, WCAG criteria lookup, and remediation guidance. Kept public as working evidence of standing up an MCP server end to end: five working tools plus a deployment runbook. The skills-based successor for day-to-day accessibility work is claude-a11y-skills.
Features
a11y_lookup_wcag: Look up WCAG 2.2 criteria by number, keyword, or level
a11y_check_pattern: Analyze HTML snippets for common accessibility issues
a11y_suggest_fix: Get remediation patterns with before/after code examples
a11y_document_component: Generate accessibility docs for 18+ UI component types
a11y_audit_summary: Generate professional audit reports from issues list
Related MCP server: @accesslint/mcp
Local Development
# Install dependencies
npm install
# Build
npm run build
# Run locally
npm start
# Server runs on http://localhost:8080
# Health check: http://localhost:8080/health
# MCP endpoint: http://localhost:8080/mcpNFSN Deployment
Prerequisites for my own path; YMMV:
NFSN account with funds (~$10 initial deposit)
SSH access configured
Setup Steps
1. Create NFSN Site
Log into NFSN Members Interface
Sites → Create a New Site
Site type: Custom (required for Node.js daemon)
Note your site hostname (e.g.,
yoursite.nfshost.com)
2. Upload Code
# From project directory
rsync -avz --exclude node_modules --exclude .git --exclude dist \
./ USERNAME_SITENAME@ssh.phx.nearlyfreespeech.net:/home/protected/a11y-mcp-server3. SSH Setup
ssh USERNAME_SITENAME@ssh.phx.nearlyfreespeech.net
# Navigate to project
cd /home/protected/a11y-mcp-server
# Check Node.js version (should be 18+)
node --version
# Install dependencies
npm install --production
# Build
npm run build
# Make run.sh executable
chmod +x run.sh
# Test locally
./run.sh
# Ctrl+C to stop4. Configure NFSN Daemon
Go to NFSN site control panel
Sites → Your Site → Site Information → Daemons
Add daemon:
Tag:
nodeCommand Line:
/home/protected/a11y-mcp-server/run.shWorking Directory:
/home/protected/a11y-mcp-server
5. Configure NFSN Proxy
Sites → Your Site → Site Information → Proxies
Add proxy:
Protocol:
httpBase URI:
/mcpDocument Root: (leave empty)
Target Port:
8080
6. Verify Deployment
# Check health endpoint
curl https://yoursite.nfshost.com/health
# Test MCP endpoint
curl -X POST https://yoursite.nfshost.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'Troubleshooting
Check daemon logs:
ssh USERNAME_SITENAME@ssh.phx.nearlyfreespeech.net
cat /home/protected/a11y-mcp-server/daemon.logRestart daemon: Via NFSN control panel: Sites → Daemons → Restart
Check if daemon is running:
ps aux | grep nodeClaude Code Configuration
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"a11y": {
"url": "https://yoursite.nfshost.com/mcp"
}
}
}Then restart Claude Code.
Local Testing with Claude Code
For testing before NFSN deployment, run the server locally and configure Claude Code to connect:
Start the server:
npm startAdd to
~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"a11y-local": {
"url": "http://localhost:8080/mcp"
}
}
}Restart Claude Code
Evaluation Questions
Use these questions to verify the server is working correctly:
WCAG Lookup: "What WCAG criterion covers keyboard navigation and what level is it?"
Expected: Returns 2.1.1 Keyboard (Level A) with full details
Remediation Pattern: "What's the remediation pattern for missing alt text on decorative images?"
Expected: Returns pattern with empty alt="" example
Component Documentation: "Generate accessibility documentation for a modal dialog component."
Expected: Returns keyboard interactions, ARIA attributes, screen reader expectations
WCAG 2.2 Search: "Which WCAG 2.2 criteria are specific to mobile/touch interactions?"
Expected: Returns 2.5.x Input Modalities criteria
Common Failures: "What are the common failures for criterion 1.4.3 Contrast?"
Expected: Returns F24, F83 failure techniques
Usage Examples
Look up WCAG criterion
Query: "What WCAG criterion covers keyboard navigation?"
Tool: a11y_lookup_wcag
Args: { "query": "keyboard" }Check HTML for issues
Query: "Check this HTML for accessibility issues"
Tool: a11y_check_pattern
Args: { "html": "<img src='logo.png'><button><svg>...</svg></button>" }Get remediation pattern
Query: "How do I fix missing alt text on decorative images?"
Tool: a11y_suggest_fix
Args: { "issueType": "missing-alt-decorative" }Generate component docs
Query: "Generate accessibility documentation for a modal dialog"
Tool: a11y_document_component
Args: { "componentType": "modal" }Updating WCAG Data
WCAG criteria are bundled in src/data/wcag-criteria.json. To update:
Edit the JSON file with new criteria
Rebuild:
npm run buildRedeploy to NFSN
License
MIT
Related MCP Connectors
Edge MCP Server for live WCAG 2.1 AA accessibility compliance and AST security audits.
Free WCAG 2.2/ADA/508 accessibility MCP: scan, AI fixes, verify, vision audit, localhost tunnel
The OpenZeppelin Solidity Contracts MCP server integrates OpenZeppelin's security and style rules into AI-driven development workflows, enabling AI assistants to generate safe, correct, and production-ready smart contracts. It automatically validates generated code against OpenZeppelin standards (including imports, modifiers, naming conventions, and security checks) and supports various contract types including ERC-20, ERC-721, ERC-1155, Stablecoins, RWA, Governor, and Account contracts through prompt-driven workflows.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Related MCP Servers
- AlicenseAqualityFmaintenanceAn accessibility expert MCP server that provides AI coding assistants with real-time access to WAI-ARIA patterns, code review, contrast checking, and WCAG guidance for writing accessible code from the start.433 PyPIMIT

@accesslint/mcpofficial
AlicenseAqualityFmaintenanceAn MCP server for WCAG accessibility auditing in AI coding agents, providing tools to audit HTML, files, URLs, and diffs, plus a prompt for React component auditing.52,482 npm6MIT- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets an AI agent scan a web page for WCAG accessibility issues and get back findings it can act on.78 npmMIT
- AlicenseAqualityBmaintenanceFree WCAG 2.2 / ADA / Section 508 accessibility MCP: scan pages, get AI fixes, verify them, run a vision audit, and scan localhost through a secure tunnel. Sign in with a free account for full audits.20544 npmMIT