AccessLumens
v0.1.6Free WCAG accessibility checks for any page, including localhost, with fix guidance for each issue.
AccessLumens MCP server Free accessibility checks for your AI coding agent. Ask it to scan the page you are building, and it gets back every WCAG problem with the exact element, the reason it fails and how to fix it. Then it fixes the code and scans again to confirm. It runs the same scanner as accesslumens.com: axe-core plus AccessLumens' own checks for things axe does not test, such as controls you cannot reach by keyboard, keyboard traps, invisible focus, reflow at 320px, and names a screen reader cannot tell apart (three identical "Add to cart" buttons, alt text that repeats the heading…
Summary extracted from the README.
AccessLumens MCP server
Free accessibility checks for your AI coding agent. Ask it to scan the page you are building, and it gets back every WCAG problem with the exact element, the reason it fails and how to fix it. Then it fixes the code and scans again to confirm.
It runs the same scanner as accesslumens.com: axe-core plus AccessLumens' own checks for things axe does not test, such as controls you cannot reach by keyboard, keyboard traps, invisible focus, reflow at 320px, and names a screen reader cannot tell apart (three identical "Add to cart" buttons, alt text that repeats the heading beside it, an aria-label that drops the visible words).
Everything runs on your machine in a headless browser. It works on localhost, staging URLs, public sites and plain .html files. Web page scans send nothing to AccessLumens, and no account or API key is needed. Two tools are the exception, and only run when called: check_pdf uploads the PDFs you name to AccessLumens to check them, and create_report sends a public site's URL so AccessLumens can build a hosted report (see below).
Watch the 1-minute demo: Claude Code takes a page from 75 to 100, then axe DevTools confirms zero issues. Setup guide and FAQ: accesslumens.com/mcp.
Setup
Requires Node.js 18.17 or later. AccessLumens scans in a headless Chromium, which it downloads once (about 150 MB). Download it now so your first scan does not wait on it:
npx -y @accesslumens/mcp install
Then add the server to your editor.
Claude Code
claude mcp add accesslumens -- npx -y @accesslumens/mcp
Cursor (.cursor/mcp.json), Windsurf, Claude Desktop and most other clients:
{
"mcpServers": {
"accesslumens": { "command": "npx", "args": ["-y", "@accesslumens/mcp"] }
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"accesslumens": { "type": "stdio", "command": "npx", "args": ["-y", "@accesslumens/mcp"] }
}
}
Use it
Start your dev server, then run one of the ready-made workflows below, or just ask:
Check http://localhost:3000/checkout for accessibility issues and fix them.
Workflows (prompts)
Ready-made instructions that tell your agent not just what is wrong but how to fix it well: in the source, native HTML before ARIA, shared causes fixed once, design and behaviour unchanged, and every fix verified by a rescan. In clients that support MCP prompts they appear as slash commands: in Claude Code, type / and pick accesslumens:fix-all. Each takes an optional url; leave it empty and the agent finds your dev server. Some clients, including some VS Code Copilot versions, do not list MCP prompts; there, just ask your agent to fix the accessibility issues on your page. The scanner's results carry the same guidance.
| Prompt | What it does |
|---|---|
fix-page |
Scans one page, fixes every issue in the source, rescans until no Critical or Serious issues remain, and lists what it changed. |
fix-all |
Two passes over every route in your app: fixes everything the scanner finds, then reviews the code for what scanners cannot detect (duplicate button names, focus in dialogs, route-change announcements, form errors, reduced motion). Rescans every route and reports scores before and after. |
audit |
The same review without changing any files: issues grouped by root cause, with the file each one comes from and an ordered fix plan. |
Tools
| Tool | What it does |
|---|---|
check_accessibility |
Scans a URL, localhost address or local .html file. Returns a 0-100 score and each issue with its severity, WCAG success criteria and how to fix it, and every failing element's selector, markup and failure reason (explain_issue adds who it affects). Options: keyboard (default on), crawl (follow links, up to 10 pages), max_issues (default 30). |
check_pdf |
Checks a PDF (a local path, a folder of up to 10 PDFs such as public/docs, or a URL) against PDF/UA-1 with veraPDF, mapped to WCAG 2.2, plus colour contrast. Returns a 0-100 score, the failing WCAG criteria, the most severe issues and what an automatic repair would fix, with links to the full report and the repair. Not local: the file is uploaded to api.accesslumens.com. The file itself is not stored; the findings are, and can include short excerpts of its text. Up to 10 MB and 300 pages per file. Website scans also list the PDFs a page links to, since the page scan does not test them. |
create_report |
Builds a hosted, shareable report for a deployed public site on accesslumens.com, with the accessibility laws that apply to the site's country, and returns its link. For when you need something to send a client or manager. Sends the site's URL to AccessLumens; it cannot reach localhost. |
explain_issue |
Explains a rule from a scan result: what it means, who it affects, how to fix it, and the WCAG criteria with W3C links. |
Good to know
- Automated testing finds roughly a third of WCAG issues. A clean scan is a good start, not proof of conformance. Issues marked "needs human review" need a person to confirm.
- Sites behind bot protection (Cloudflare and similar) can block headless browsers. Scan a local or staging copy instead.
- The very first start downloads the package and can take over 30 seconds, which some clients (Claude Code among them) treat as a failed connection. If the server shows as failed or stuck connecting the first time, reconnect it once (
/mcpin Claude Code); later starts take a few seconds. - Set
ACCESSLUMENS_DEBUG=1to log scanner detail to stderr.
Full reports and PDFs
For a shareable report with your legal context (ADA, EAA, Section 508), multi-page journeys through signed-in flows, and PDF accessibility checks and repair, see accesslumens.com.
Learning accessibility
Preparing for the IAAP WAS (Web Accessibility Specialist) exam? AccessLumens has WAS exam prep with 50 free questions.
License
Free to use, including commercially. Redistribution and resale are not permitted. See LICENSE.