Catalog PyPI
PACKAGE EXPLORERView in registry

a11y-mcp

PyPI

MCP server for accessibility testing with Cloudflare bypass using Camoufox and axe-core

a11yaccessibilityautomationaxe-corecloudflaredequemcpmodel-context-protocoltestingwcag
Versions collected1
Direct dependencies9From release 0.1.1
Last observed20 Oct, 16:17 UTC

README

Version 0.1.1 documentation

a11y-mcp

PyPI License: MIT

MCP server for running axe-core accessibility audits. Uses Camoufox to bypass Cloudflare and other bot protection.

Install

# Claude Code
claude mcp add a11y -- uvx a11y-mcp

# Or with pip
pip install a11y-mcp

Configuration

For Claude Desktop, add to your config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "a11y": {
      "command": "uvx",
      "args": ["a11y-mcp"]
    }
  }
}
Other editors (Cursor, VS Code, Zed, etc.)

Most editors use the same format. Add to your MCP config:

{
  "mcpServers": {
    "a11y": {
      "command": "uvx",
      "args": ["a11y-mcp"]
    }
  }
}

Config locations:

  • Cursor: ~/.cursor/mcp.json
  • VS Code (Continue): .continue/config.json under experimental.modelContextProtocolServers
  • VS Code (Cline): Cline MCP settings
  • Zed: ~/.config/zed/settings.json under context_servers

Tools

ToolDescription
scan_pageScan a URL for WCAG violations
scan_elementScan a specific CSS selector
get_violationsGet detailed violation info from last scan
get_full_reportFull axe results (violations, passes, incomplete)
export_reportExport as JSON, HTML, or CSV
set_wcag_levelSet WCAG level (A, AA, AAA, 21A, 21AA, 22AA)
configure_rulesEnable/disable specific axe rules

Usage

> Scan https://example.com for accessibility issues

> Export an HTML report for the last scan

> Check WCAG 2.2 AA compliance for https://adobe.com

WCAG Levels

LevelStandard
A, AA, AAAWCAG 2.0
21A, 21AAWCAG 2.1
22AAWCAG 2.2

Default is AA.

Cloudflare Bypass

This uses Camoufox, an anti-detect browser with fingerprint spoofing at the C++ level. It handles JavaScript challenges, Turnstile, and most bot detection automatically.

On first run, Camoufox downloads a browser binary (~300MB).

Requirements

  • Python 3.10+
  • macOS, Linux, or Windows

Troubleshooting

Browser won't launch: Run python -c "import camoufox; camoufox.install()"

Cloudflare still blocking: Some sites have aggressive detection. The first visit may require manual verification.

axe-core won't inject: Likely a strict CSP. Try a different page on the same domain.

Development

git clone https://github.com/anthropics/a11y-mcp && cd a11y-mcp
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
python -m camoufox fetch
pytest

Debug with the MCP inspector:

npx @modelcontextprotocol/inspector uvx a11y-mcp

License

MIT License - see LICENSE for details.

Credits

  • axe-core - Accessibility testing engine by Deque
  • Camoufox - Anti-detect browser
  • MCP - Model Context Protocol by Anthropic

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.118 Dec 20259

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
antonio-rmrz/a11y-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c86fd0bd4525d58936f64700b9ff285f214952247062bc1653b6e8bb8f770081