a11y-ja-mcp
Drives a local Chrome/Chromium/Edge browser to navigate pages, interact with elements (click, type, check, select, key presses), take screenshots, run axe-core accessibility scans, inspect page structure and tab order, and analyze image alt text and color contrast.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@a11y-ja-mcp http://localhost:3000 をアクセシビリティ監査して。JIS X 8341-3 の AA が目標です"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
a11y-ja-mcp
日本語で使える、AI エージェント向けのアクセシビリティ検査 MCP サーバー
Claude Code や Cursor などのエージェントに、ローカルの Chrome を操作してアクセシビリティを検査する道具を渡します。 結果はすべて日本語で返り、WCAG の達成基準番号・日本語名・JIS X 8341-3 の対象かどうかが付きます。 同じ検査を CLI から一括実行できるので、CI にもそのまま組み込めます。
#### 【重大】要素は色のコントラスト比(最低限)の閾値を満たしていなければなりません(1 件)
- ルール: `color-contrast`
- 達成基準: 1.4.3 コントラスト(最低限)(AA・JIS対象)
- `p`
- 次のいずれかを修正します: 要素のコントラスト比が不十分です 2.84(前景色: #999999、背景色: #ffffff …)特徴
🇯🇵 日本語: axe-core のメッセージ、達成基準名(WAIC 訳)、レポートがすべて日本語
📏 JIS X 8341-3 対応:
level: "wcag2aa"で JIS X 8341-3:2016 AA 相当の基準で検査。各指摘に「JIS対象」かどうかを表示🧭 自動検査 + 構造の確認: axe-core に加え、Tab 順序(実際に Tab キーを押して記録)、見出し・ランドマーク、画像の代替テキスト、コントラストを確認
🤖 CI 対応:
npx a11y-ja-mcp audit <url...>で複数ページを検査し、Markdown / JSON のレポートと終了コードを返す📝 監査テンプレート: MCP プロンプト
a11y_auditと Claude Code 用スキルで、監査の手順とレポートの雛形を提供
Related MCP server: accessibility-mcp-server
必要なもの
Node.js 20 以上
Google Chrome(または Chromium / Microsoft Edge)
自動で見つからない場合は環境変数
A11Y_CHROME_PATHに実行ファイルのパスを指定してください
セットアップ
Claude Code
claude mcp add a11y-ja -- npx -y a11y-ja-mcpその他の MCP クライアント(Cursor / Claude Desktop など)
{
"mcpServers": {
"a11y-ja": {
"command": "npx",
"args": ["-y", "a11y-ja-mcp"]
}
}
}ブラウザの画面を見ながら使いたい場合は "env": { "A11Y_HEADLESS": "false" } を追加してください。
ツール一覧
ツール | 内容 |
| URL を開く( |
| クリック・入力・チェック・選択 |
| キーを押す( |
| スクリーンショット |
| axe-core で自動検査。基準(WCAG 2.0 AA = JIS 相当 / 2.1 AA / 2.2 AA / 2.2 AAA)と範囲(CSS セレクタ)を指定可 |
| 見出しのアウトライン、ランドマーク、lang、タイトル、スキップリンク、iframe の title、ラベルのないフォーム部品 |
| 実際に Tab を押してフォーカス順を記録。見えない要素へのフォーカス、名前のない要素、フォーカス表示の変化なし、正の tabindex、キーボードトラップを指摘 |
| 画像を「代替テキストあり / 装飾(alt="")/ alt 属性なし / 名前なし」に分類。ファイル名だけの alt、リンク画像の名前抜けなども指摘 |
| 2 色のコントラスト比と、AA / AAA・通常の文字 / 大きな文字 / UI 部品ごとの合否 |
| ページ内のテキストのコントラストを一括検査。背景画像・グラデーション上の文字は「要目視確認」に分類 |
| 複数ページを一括検査して Markdown / JSON のレポートを作成(ファイル保存可) |
プロンプト: a11y_audit(引数: url, level)… 上のツールを使った監査手順とレポートのテンプレート
使い方の例
http://localhost:3000 をアクセシビリティ監査して。JIS X 8341-3 の AA が目標です
お問い合わせフォームを空のまま送信したときのエラー表示を、キーボードだけで確認して
このボタンの色 #6c757d と白の組み合わせは AA を満たす?
CLI(CI 向け)
npx a11y-ja-mcp audit https://example.com https://example.com/about \
--level wcag22aa --fail-on serious --out a11y-report.mdオプション | 内容 |
|
|
|
|
| 保存先(省略時は標準出力) |
| この深刻度以上の違反があれば終了コード 1。 |
| URL を 1 行 1 つで書いたファイル( |
| WCAG 外のベストプラクティスも含める |
|
|
GitHub Actions の例は examples/github-actions/a11y.yml を参照してください。レポートをジョブのサマリーに表示できます。
Claude Code のスキルとして使う
skills/a11y-audit/SKILL.md を ~/.claude/skills/a11y-audit/SKILL.md(またはプロジェクトの .claude/skills/)にコピーすると、
「アクセシビリティ監査して」と頼むだけで手順に沿った監査が始まります。
制限事項
自動検査で見つかるのは WCAG の問題の一部です。スクリーンリーダーでの読み上げ、動画のキャプション、意味的に適切な代替テキストかどうかなどは人の確認が必要です。
tab_orderのフォーカス表示の判定は「フォーカス前後で outline などのスタイルが変わったか」で推定しています。最終的にはスクリーンショットで確認してください。contrast_scanは背景画像・グラデーション・重なった要素の上の文字を正確に判定できません(要目視確認として出力します)。JIS X 8341-3:2016 は WCAG 2.0 と同じ内容です。「JIS対象」は WCAG 2.0 の A / AA の達成基準を指します。
開発
npm install
npm test # ビルド + 単体テスト
node dist/index.js audit "file://$PWD/examples/bad.html" --fail-on noneライセンス
MIT
English
a11y-ja-mcp is an MCP server that gives AI coding agents accessibility testing tools on a local Chrome: axe-core scans, tab order recording, page structure, image alt checks, and WCAG contrast checks. Output is in Japanese by default (lang: "en" is available for axe messages), annotated with WCAG success criteria and JIS X 8341-3 applicability. A CLI (npx a11y-ja-mcp audit <urls...>) runs batch audits for CI with Markdown/JSON reports and exit codes.
Available Tools
14 toolsaudit_urls複数ページを一括検査A
複数の URL を axe-core で一括検査し、Markdown か JSON のレポートを返す(ファイルにも保存できる)。CI やサイト全体の確認向け
Inputs: urls (required), level, format, fail_on, +1 more.
axe_scanaxe-core で自動検査A
axe-core でページを自動検査し、違反を日本語で返す。WCAG の達成基準番号・日本語名・JIS X 8341-3 の対象かどうかも付ける
Inputs: url, lang, level, include, +2 more.
clickクリックC
要素をクリックする
Inputs: selector (required).
contrast_ratioコントラスト比を計算A
2 色のコントラスト比を計算し、WCAG 2.x の AA / AAA について通常の文字・大きな文字・UI 部品(非テキスト)ごとの合否を返す。ブラウザは使わない
Inputs: background (required), foreground (required), bold, font_size_px.
contrast_scanページのコントラスト検査B
ページ内の表示されているテキストの文字色と背景色を調べ、文字サイズに応じた基準でコントラスト不足の箇所を一覧にする。背景画像やグラデーションの上の文字は「要目視確認」として分ける
Inputs: url, level, selector.
images画像と代替テキストA
img / svg / role=img / input[type=image] / area を一覧にし、代替テキストあり・装飾(alt="")・alt 属性なし・名前なしに分類する。ファイル名や「画像」だけの alt、リンク画像の名前抜けなども指摘する
Inputs: url.
page_structureページ構造A
見出しのアウトライン、ランドマーク、lang、タイトル、スキップリンク、iframe、ラベルのないフォーム部品を調べる
Inputs: url.
press_keyキーを押すC
キーボードのキーを押す(例: Tab, Shift+Tab, Enter, Escape, ArrowDown, Space)
Inputs: key (required).
screenshotスクリーンショットB
現在のページのスクリーンショットを撮る
Inputs: full_page.
select_option選択肢を選ぶB
select 要素の選択肢を value で選ぶ
Inputs: value (required), selector (required).
set_checkedチェックを切り替えB
チェックボックスやラジオボタンを指定した状態にする
Inputs: selector (required), checked.
tab_orderTab 順序B
実際に Tab キーを押してフォーカスの移動順を記録する。見えない要素へのフォーカス、名前のない要素、フォーカス表示の有無、正の tabindex、キーボードトラップを指摘する
Inputs: max, url.
type_text文字を入力C
入力欄に文字を入力する
Inputs: text (required), selector (required), clear.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have clearly distinct purposes (interaction verbs vs. inspection tools). The main potential confusions are axe_scan vs. audit_urls (single page vs. batch) and contrast_ratio vs. contrast_scan (two colors vs. page-wide), but the descriptions explicitly clarify these boundaries.
All names use consistent snake_case, which is highly predictable. There is a minor mix of verb-first (navigate, click, audit_urls) and noun-style (page_structure, tab_order, images) names, but every name remains readable and self-explanatory.
14 tools sit comfortably in the well-scoped 3-15 range. Each tool covers a distinct browser action or accessibility inspection category, so none feel redundant or padded.
Coverage is strong: navigation, full interaction set (click, type, check, select, keypress), plus structure, axe, tab order, images, contrast, and batch auditing. Minor gaps exist for dynamic-content waiting, viewport resizing/reflow checks, and reduced-motion inspection, but core a11y workflows are complete.
Maintenance
Related MCP Connectors
Scan URLs or HTML for WCAG 2.2 violations. 75-rule manifest, weighted score, shareable reports.
Free WCAG 2.2/ADA/508 accessibility MCP: scan, AI fixes, verify, vision audit, localhost tunnel
Run WCAG accessibility scans on websites, list each issue with its element, and triage from chat.
Scan a web page for accessibility, security, privacy, quality and SEO issues, with fixes.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables automated WCAG 2.2 AA accessibility audits of Figma designs and webpages. Generates detailed markdown reports with severity-grouped violations, specific criterion references, and concrete fix recommendations.-
- AlicenseAqualityDmaintenanceEnables AI agents to perform comprehensive web accessibility checks (WCAG 2.1/2.2) including color contrast analysis, ARIA validation, and full accessibility report generation without requiring any API key.8MIT
- AlicenseAqualityDmaintenanceEnables AI coding agents to perform real-browser accessibility scanning of localhost pages using Playwright and axe-core, returning WCAG 2.1 violations with structured fix plans.312 npm1MIT

axe MCP Serverofficial
FlicenseNot gradedqualityCmaintenanceEnables AI agents to scan web pages for accessibility issues and get AI-powered remediation guidance using Axe DevTools for Web.10-