Skip to the content.

Getting started

← Home

Requirements

1. Add the server

In your project folder:

claude mcp add a11y-trace -- npx -y a11y-trace-mcp

Or install the Claude Code plugin, which registers the same server:

/plugin marketplace add Thiya11/a11y-trace-mcp
/plugin install a11y-trace@a11y-trace-mcp

The server works in the folder Claude Code runs in: it reads files there and writes results to ./a11y-reports/. Add that folder to your .gitignore.

2. Download the browser (once)

npx -y a11y-trace-mcp install-browser

This downloads the Chromium build (~150 MB) that matches the Playwright version a11y-trace-mcp uses. On Linux CI machines you may also need the system libraries: npx -y a11y-trace-mcp install-browser --with-deps.

3. Run your app and ask Claude

Start the app in dev mode (ng serve, npm run dev) — source mapping needs the debug info that only dev mode provides. Then, for example:

A typical workflow

  1. audit the page → issues with WCAG criteria, fixes and screenshots, saved to a11y-reports/results/.
  2. keyboard_audit the same page → focus problems axe cannot detect, plus the focus order.
  3. map_to_source with the resultFile → each issue gets sourceFile (e.g. src/app/login/login.component.html:18) and a confidence.
  4. Claude fixes the files; audit again to confirm.
  5. export_report with the result files → Excel and Markdown in a11y-reports/.

Next: Tools reference