Getting started
Requirements
- Node.js 22 or newer
- Claude Code (terminal, VS Code or JetBrains)
- For source mapping: an Angular or Vue 3 app you can run locally in dev mode
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:
- “Check http://localhost:4200/login for accessibility issues.”
- “Can I use the login page with only a keyboard?”
- “Map those issues to source files and fix the critical ones.”
- “Give me an Excel report of the login and signup pages for the client.”
A typical workflow
auditthe page → issues with WCAG criteria, fixes and screenshots, saved toa11y-reports/results/.keyboard_auditthe same page → focus problems axe cannot detect, plus the focus order.map_to_sourcewith theresultFile→ each issue getssourceFile(e.g.src/app/login/login.component.html:18) and a confidence.- Claude fixes the files; audit again to confirm.
export_reportwith the result files → Excel and Markdown ina11y-reports/.
Next: Tools reference