MCP Accessibility Scanner
by JustasMonkev
MCP Accessibility Scanner
A Model Context Protocol (MCP) server for performing automated accessibility scans of web pages using Playwright and Axe-core.
Features
ā
Full WCAG 2.1/2.2 compliance checking
š¼ļø Automatic screenshot capture with violation highlighting
š Detailed JSON reports with remediation guidance
Installation
Copy
Claude Desktop Configuration
Add the following to your Claude Desktop settings to enable the Accessibility Scanner server:
Copy
Usage
The scanner exposes a single tool scan_accessibility
that accepts:
url
: The webpage URL to scanviolationsTag
: Array of accessibility violation tags to check
Example usage in Claude:
Copy
Development
Start the TypeScript compiler in watch mode:
Copy
Test the MCP server locally:
Copy
Project Structure
src/
: Source codeindex.ts
: MCP server setup and tool definitionsaccessibilityChecker.ts
: Core scanning functionality
dist/
: Compiled JavaScript outputpackage.json
: Project dependencies and scriptstsconfig.json
: TypeScript configuration
Output
The scanner provides:
- A visual report with numbered violations highlighted on the page
- A detailed JSON report of all found violations
- A full-page screenshot saved to Downloads
This server cannot be installed
Enables automated web accessibility scans for WCAG compliance using Playwright and Axe-core, providing visual and JSON reports with remediation guidance.