kikori
v0.3.1An MCP server that audits WCAG 2.2 in a real browser, beyond what axe-core can check.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_reflow Reflow check (WCAG 1.4.10)
Renders the page at 320px wide (1280px zoomed to 400%) and detects horizontal scrolling, elements that overflow the viewport and text that gets clipped when narrowed. Each finding carries the success criterion and a CSS selector for the element. Severity fail is a failure confirmed mechanically; review needs a human decision.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Height to check in CSS px. Default 256. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Width to check in CSS px. Default 320. |
check_text_spacing Text spacing check (WCAG 1.4.12)
Overrides line height to 1.5, paragraph spacing to 2em, letter spacing to 0.12em and word spacing to 0.16em, then compares before and after to detect text that becomes clipped or starts to overlap. Finds the problems typical of buttons, cards and headings with a fixed height or width.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Viewport height in CSS px. Default 720. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Viewport width in CSS px. Default 1280. |
check_keyboard_focus Keyboard focus check (WCAG 2.1.1 / 2.1.2 / 2.4.3 / 2.4.7 / 2.4.11 / 2.4.12 / 2.4.13 / 3.2.1)
Presses Tab through the whole page and records the focus order. Detects elements with no focus indicator, elements hidden behind a fixed header or similar, places focus cannot leave, controls the keyboard cannot reach, and context changes triggered by focus alone. data.sequence lists the focus order so you can judge whether it makes sense.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Viewport height in CSS px. Default 720. |
maxSteps | integer | Maximum number of Tab presses. Default 150. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Viewport width in CSS px. Default 1280. |
check_axe axe-core check
Runs the axe-core rules and detects problems with text alternatives, contrast, labels, ARIA, language declarations, heading structure and more. Results are organised by success criterion. Anything axe could not decide becomes review.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Viewport height in CSS px. Default 720. |
level | string | Target conformance level. Default AA. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
wcag | string | WCAG version to audit against. Default 2.2. |
width | integer | Viewport width in CSS px. Default 1280. |
check_presentation Target size, visual presentation and motion check (WCAG 2.5.5 / 2.5.8 / 1.4.8 / 2.2.2 / 1.4.2 / 1.3.5)
Detects controls whose target is smaller than 44 × 44px, controls below 24 × 24px that are also too close to a neighbour, text that is justified or whose line height or line length is out of range, animations and other content that keep moving for more than 5 seconds (found from the declared animations and by comparing screenshots taken after 5 seconds), autoplaying media with sound, and personal-data fields without autocomplete. 2.5.5 and 1.4.8 are Level AAA criteria; 2.5.8 is a Level AA criterion of WCAG 2.2.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Viewport height in CSS px. Default 720. |
motion | boolean | Whether to compare screenshots to find motion made by scripts, videos, GIFs and canvas (2.2.2). It waits 5 seconds after load, so false saves about 2 seconds per page (about 6 seconds in check_present… |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Viewport width in CSS px. Default 1280. |
check_interaction Interaction check (WCAG 1.4.13 / 2.1.4 / 3.2.2 / 2.5.1 / 2.5.2 / 2.5.4 / 2.5.7 / 3.3.8 / 1.4.11 / 2.3.1 / 4.1.3)
Checks by actually operating the page. Hovers elements to see whether the revealed content can be dismissed and hovered, looks for shortcuts triggered by a character key alone, and checks that changing a field's value does not move the page. Also inspects event listeners for pointer and device motion, the contrast of field boundaries, fast flashing, status message regions, elements operated by dragging, and password fields that reject paste or CAPTCHAs. Navigation requests and non-GET requests are blocked, so no data on the server is changed.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
height | integer | Viewport height in CSS px. Default 720. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Viewport width in CSS px. Default 1280. |
collect_evidence Collect evidence for judgment
Gathers material for success criteria that cannot be decided mechanically and need a look at the content. Supported criteria: 1.1.1, 1.3.2, 1.3.3, 1.4.5, 1.4.9, 1.4.11, 2.3.1, 2.4.2, 2.4.4, 2.4.6, 2.4.9, 2.5.1, 2.5.2, 3.1.1, 3.1.2, 3.3.1, 4.1.3. Each comes with the question to answer (question), the condition for failure (failWhen) and the material (evidence: images with their text alternatives, text in HTML order, link text with context, headings and labels, and so on). A full-page screenshot is returned as an image. Call it for criteria that audit_page marked needs_judgment, then run audit_p…
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
criteria | array | Success criteria to gather material for. Omit to gather for every supported one. |
screenshot | boolean | Whether to attach a full-page screenshot. Default true. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
capture_screenshot Capture a screenshot
Returns a screenshot of the page, or of the element given by selector, as an image. Use it when the overview from collect_evidence lacks detail: to read text inside images, check icon contrast or look at an element named in a finding. Set width to 320 to see the reflowed layout.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
fullPage | boolean | Whether to capture the full page. Default false (viewport only). Ignored when selector is given. |
height | integer | Viewport height in CSS px. Default 720. |
selector | string | Capture only the element matching this CSS selector. Omit to capture the page. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
width | integer | Viewport width in CSS px. Default 1280. |
audit_page Audit against every WCAG success criterion
Runs axe-core and every check in this server, and returns a status for every WCAG 2.2 success criterion up to the target level (set wcag to audit against 2.1 instead). criteria holds the status of each one: fail is a failure, review has spots that need checking, needs_judgment requires a look at the content, no_issue_found means nothing was found within what automation covers, inapplicable means no relevant element was found so it is presumed not to apply, and manual means no material can be gathered and a person must check. For needs_judgment and review, gather material with collect_evidence,…
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. |
judgments | array | Judgments made from the material returned by collect_evidence. They are reflected in the criteria list. A criterion that failed an automated check stays failed even if pass is supplied. |
level | string | Target conformance level. Default AA. |
motion | boolean | Whether to compare screenshots to find motion made by scripts, videos, GIFs and canvas (2.2.2). It waits 5 seconds after load, so false saves about 2 seconds per page (about 6 seconds in check_present… |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
wcag | string | WCAG version to audit against. Default 2.2. |
audit_site WCAG audit across several pages
Audits several pages and returns the status of each success criterion for the site as a whole. Runs the same checks as audit_page on every page, then compares pages for consistent navigation order (3.2.3), consistent names for links to the same destination (3.2.4), duplicate titles (2.4.2), the number of ways to reach a page (2.4.5), cues for the current location (2.4.8), a consistent position for help (3.2.6) and fields that ask for the same information again (3.3.7). When urls is omitted, same-site links on the url page are followed up to maxPages. Time grows with the number of pages.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the start page. When urls is omitted, same-site links on this page are followed. |
judgments | array | Judgments made from the material returned by collect_evidence. They are reflected in the criteria list. A criterion that failed an automated check stays failed even if pass is supplied. |
level | string | Target conformance level. Default AA. |
maxPages | integer | Maximum number of pages to audit. Default 5. |
motion | boolean | Whether to compare screenshots to find motion made by scripts, videos, GIFs and canvas (2.2.2). It waits 5 seconds after load, so false saves about 2 seconds per page (about 6 seconds in check_present… |
urls | array | URLs of the pages to audit. When given, no links are followed; only the start page and this list are audited. |
waitForSelector | string | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |
waitMs | integer | Extra time to wait after load, in milliseconds. |
wcag | string | WCAG version to audit against. Default 2.2. |