MCP Accessibility Scanner

by JustasMonkev
Verified

local-only server

The server can only run on the clientโ€™s local machine because it depends on local resources.

Integrations

  • Provides installation from a GitHub repository, enabling users to clone and set up the accessibility scanner from the JustasMonkev/mcp-accessibility-scanner repository.

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

# Clone repository git clone https://github.com/JustasMonkev/mcp-accessibility-scanner.git cd mcp-accessibility-scanner # Install dependencies npm install # Build project (compiles TypeScript and installs Playwright browsers) npm run prepare

Claude Desktop Configuration

Add the following to your Claude Desktop settings to enable the Accessibility Scanner server:

{ "mcpServers": { "accessibility-checker": { "command": "node", "args": [ "path/build/server.js" ] } } }

Usage

The scanner exposes a single tool scan_accessibility that accepts:

  • url: The webpage URL to scan
  • violationsTag: Array of accessibility violation tags to check

Example usage in Claude:

Could you scan example.com for accessibility issues related to color contrast?

Development

Start the TypeScript compiler in watch mode:

npm run watch

Test the MCP server locally:

npm run inspector

Project Structure

  • src/: Source code
    • index.ts: MCP server setup and tool definitions
    • accessibilityChecker.ts: Core scanning functionality
  • dist/: Compiled JavaScript output
  • package.json: Project dependencies and scripts
  • tsconfig.json: TypeScript configuration

Output

The scanner provides:

  1. A visual report with numbered violations highlighted on the page
  2. A detailed JSON report of all found violations
  3. A full-page screenshot saved to Downloads
-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server that performs automated web accessibility audits using Playwright and Axe-core, providing detailed reports with WCAG compliance checking and visual highlighting of violations.

  1. Features
    1. Installation
      1. Claude Desktop Configuration
        1. Usage
          1. Development
            1. Project Structure
              1. Output