mcp-axe
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.
mcp‑axe
A Model Context Protocol (MCP) plugin for automated accessibility testing using axe-core. It lets MCP‑aware clients (Claude Desktop, Cursor, etc.) or your terminal run:
Single URL scans
HTML string scans
Batch URL scans
Violation summarisation
All powered by Selenium under the hood.
📦 Installation
From PyPI
pip install mcp-axeRequires Python 3.8+.
Local / Development
git clone https://github.com/manoj9788/mcp-axe.git
cd mcp-axe
python3 -m venv .venv && source .venv/bin/activate
pip install -e .[dev]Related MCP server: axe-devtools-mcp
🔧 Usage
MCP (JSON‑RPC) mode
For AI clients (e.g. Claude Desktop, Cursor, VS Code MCP extension), configure your <client>_config.json:
{
"mcpServers": {
"axe-a11y": {
"command": "python3",
"args": ["-m", "mcp_axe"],
"cwd": "."
}
}
}Or
"axe-a11y": {
"command": "uvx",
"args": [
"mcp-axe"
]
}Once the MCP server is running,
you can prompt like scan https://manojkk.com for accessibility issues will invoke the scan-url tool.
you can invoke tools like:
scan-url(params:{ "url": "https://google.com" })scan-html(params:{ "html": "<h1>Hello</h1>" })scan-batch(params:{ "urls": ["https://a.com","https://b.com"] })summarise-violations(params:{ "result": <axe result> })
MCP local dev mode
{
"mcpServers": {
"axe-a11y": {
"command": "/path/to/.venv/bin/python",
"args": ["-m", "mcp_axe"],
"cwd": "/path/to/mcp-axe"
}
}
}FastAPI REST mode (optional)
Expose HTTP endpoints via:
from mcp_axe.server import app # FastAPI instance
import uvicorn
if __name__ == '__main__':
uvicorn.run(app, host='0.0.0.0', port=9788, reload=True)Then:
curl -X POST http://localhost:9788/scan/url -H 'Content-Type: application/json' \
-d '{ "url": "https://google.com" }'🤝 Contributing
Fork the repo
Create a branch (
git checkout -b feature/xyz)Commit your changes
Open a PR
📜 License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.
Scan URLs or HTML for WCAG 2.2 violations. 75-rule manifest, weighted score, shareable reports.
Scan URLs for WCAG 2.1 violations, generate AI fixes, and produce VPAT 2.5 compliance reports.
Free WCAG 2.2/ADA/508 accessibility MCP: scan, AI fixes, verify, vision audit, localhost tunnel
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables accessibility testing using Playwright and Axe, allowing users to scan URLs, HTML content, and batches for violations, and summarize results.1MIT
- AlicenseAqualityDmaintenanceMCP server for axe-core accessibility audits. Enables scanning URLs or HTML for WCAG violations with impact levels and fix guidance.42MIT
- AlicenseAqualityDmaintenanceExposes axe-core accessibility auditing as MCP tools so any MCP-compatible agent can audit HTML for structural and semantic issues.3MIT
- AlicenseAqualityBmaintenanceWCAG-Compliance/wcagc-mcp lets an assistant run real axe-core accessibility scans through the user's own wcagc account, rather than guessing accessibility from markup it can see. Tools cover a single URL or PDF, a full-site crawl, saved multi-step journeys, and violation trends.1678 npmMIT