
Accessibility Scanner Mcp
io.github.Bishop81由 GitHub 帳號 Bishop81 發布v0.1.2更新於 Oct 24, 2026
Scan any URL for WCAG accessibility issues (axe-core) and get per-element fixes for an AI agent.
概覽
本機 MCP 伺服器,用 axe-core 掃描網頁 URL 的 WCAG 無障礙問題,並回傳助手可據以修改的逐元素結果。
- 可以做什麼
- 在本機 Chromium 瀏覽器中用 axe-core 引擎掃描 URL 的 WCAG 無障礙違規,先捲動頁面以檢查延遲載入內容,並解析 CSS 漸層上的對比度。依嚴重程度分組讀取結果,每條規則提供 WCAG 成功準則與修正指南連結,每個元素提供選擇器、有問題的 HTML 和具體失敗原因。檢視被標記為需人工判斷的項目,伺服器會單獨回傳這些內容,且從不聲稱頁面完全合規。也可選擇在託管服務上而非本機執行掃描,該模式還會為對比度失敗提供建議修正顏色。
- 適用情境
- 適合助手稽核或修正網頁無障礙問題、需要可轉為程式碼修改的逐元素具體結果,並在修改後重新掃描確認時使用。也適合無法安裝瀏覽器的 CI 或容器環境,透過託管模式使用。
- 執行需求
- 以 npm 套件形式透過 npx 在本機執行,需要 Node.js 18+ 和以 Chromium 為基礎的瀏覽器(Chrome、Chromium 或 Edge),可自動偵測或用 CHROME_PATH 指定。也可設定 SCANNER_API_URL 在託管服務上掃描,無需帳號或金鑰,也無需本機瀏覽器。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Accessibility Scanner Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
accessibility-scanner-mcp
An MCP server that lets an AI agent scan a web page for WCAG accessibility issues and get back findings it can act on. The agent calls one tool with a URL; it gets every violation grouped by severity, each with the exact element selector, the offending HTML, the specific failure, the WCAG success criterion, and a fix-guide link — plus the items that still need human review.
It runs the real axe-core engine in your local Chrome
(via playwright-core), so nothing about the pages you scan leaves your machine. It scrolls the page
first so lazy-loaded content is actually checked rather than silently skipped, and it resolves
color contrast over CSS gradients, which most tools leave as "needs review."
Upgrading from 0.1.x? 0.2.0 sees more of each page and returns more findings for the same URL. See CHANGELOG.md.
Part of accessibilityscanner.app.
Requirements
- Node.js 18+
- A Chromium-based browser: Chrome, Chromium or Edge, found automatically in that order.
Set
CHROME_PATHto point at a specific binary if you'd rather choose. A browser already installed by Playwright is used as a last resort; nothing is ever downloaded for you.
Or no browser at all
Set SCANNER_API_URL and the scan runs on accessibilityscanner.app instead of locally:
No account or key needed — it uses the same public endpoints the website's own form uses. Useful in CI, in a container, or anywhere you can't install a browser. Hosted scans also carry suggested fix colours for contrast failures, which the local scanner doesn't compute yet.
⚠️ In this mode the URL you scan is sent to our server. The local path sends nothing anywhere, and stays the default — hosted mode is opt-in via that environment variable only.
Install
Add it to your MCP client's config. No global install needed — npx fetches it on first run.
Claude Desktop (claude_desktop_config.json), Cursor, Claude Code, or any MCP client:
If Chrome is not auto-detected, add an env block:
The tool
scan_accessibility
Returns a report grouped by severity. For each rule: the WCAG criterion, a fix-guide link, and per element the selector, HTML, and exact failure. Example flow with an agent:
You: Audit https://example.com for accessibility and fix what you can. Agent: (calls
scan_accessibility) → reads the findings → edits the code → re-scans.
Honest about limits
Automated testing covers the machine-checkable subset of WCAG (most of the issues on a typical page, but not all of it). Items that need human judgement are returned under "Needs manual review." It never claims a page is "compliant."
License
MIT
來源:README.md,提交 0d28637
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分