wcagc — accessibility scanning

v0.8.0
io.github.WCAG-Compliance/mcp Checked 16 hours ago Published 1 month ago

Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_url Scan a URL

Scans one http(s) URL for accessibility problems with axe-core — deterministic checks, not a language model's opinion. Pass the URL and nothing else. If it belongs to a site registered in the caller's account (and their plan allows), the scan is recorded against that site so it feeds history and trends; otherwise it runs as a one-off. Either way, poll it with get_scan. Returns immediately with an id — never a compliance score, because automated testing finds only a portion of accessibility barriers; see coverageDisclaimer in the result.

ParameterTypeDescription
url *stringThe http(s) URL to scan.

get_scan Get a scan by id

Polls a scan started by scan_url — either kind, recorded against a registered site or one-off; this tool finds it either way. Returns severity counts, a finding sample, the coverage disclaimer, and (once terminal) a failure reason if the scan did not complete. For a full-site run from scan_site, use get_run instead.

ParameterTypeDescription
scanId *stringThe id returned by scan_url.

get_findings Get a scan's findings

The findings for a scan started by scan_url — rule id, severity, help URL and the element selector. Works for both kinds of scan_url scan. A one-off scan returns the top-5 sample; a scan recorded against a registered site returns its full findings. For a full-site run from scan_site, use get_run_findings instead.

ParameterTypeDescription
scanId *stringThe id returned by scan_url.

check_pdf Check a PDF for PDF/UA-1 conformance

Downloads a public PDF URL and runs a machine-verifiable veraPDF PDF/UA-1 check (document structure, tags, reading order — not a full WCAG audit). Free tier, counted against the caller's daily quota. Queues the check and returns immediately with an id; call get_pdf_check to poll.

ParameterTypeDescription
url *stringA public URL serving a PDF file.

get_pdf_check Get a PDF check by id

Polls a PDF check started by check_pdf — status, failed-rule and failed-check counts, and a failure reason if it did not complete.

ParameterTypeDescription
checkId *stringThe id returned by check_pdf.

list_sites List registered sites

Lists this organization's registered sites — their normalized hosts are what every other Pro+ tool takes as siteHost. Pro+ (requires sites:read + API_ACCESS).

scan_site Start a full-site scan

Crawls and scans every reachable page of a registered site. Pro+ (SCAN_FULL_SITE). Queues the run and returns immediately with a runId — call get_run to poll. Call list_sites first if you do not already know the exact registered host.

ParameterTypeDescription
siteHost *stringThe registered site's normalized host, exactly as list_sites reports it — host only, no scheme and no path.

get_run Get a full-site scan run by id

Polls a full-site run started by scan_site — page progress, severity counts and, once terminal, a failure reason. Pro+. For a single-page scan from scan_url, use get_scan instead.

ParameterTypeDescription
runId *stringThe id returned by scan_site.

get_run_findings Get a full-site scan run's findings

Run-level, rule-deduplicated findings for a scan_site run — one entry per rule, with the WCAG success criteria it maps to. Pro+. For a single-page scan from scan_url, use get_findings instead.

ParameterTypeDescription
runId *stringThe id returned by scan_site.

get_root_causes Get a scan run's root causes

Returns deterministic repeated DOM patterns and factual blast-radius counts for a full-site run. Grouping does not expand automated-test coverage and may not match the site's real component boundaries. Pro+.

ParameterTypeDescription
runId *stringThe id returned by scan_site.

run_journey Run a saved user journey

Replays a saved multi-step journey (e.g. "add to cart -> checkout") against its registered site and checkpoints accessibility at each step. Pro+ (JOURNEYS; also AUTHENTICATED_SCANS when the journey logs in). Steps and any login credential always come from the journey's own saved configuration — never accepted here. Saved click or fill steps can submit forms or trigger external actions, so run only a journey the user has reviewed. Queues the run and returns immediately with a runId — call get_journey_run to poll.

ParameterTypeDescription
journeyName *stringThe saved journey's name, as configured in the app.
siteHost *stringThe registered site's normalized host, as list_sites reports it.

get_journey_run Get a journey run by id

Polls a run started by run_journey — per-step checkpoints and, once terminal, a failure reason if a step failed. Pro+.

ParameterTypeDescription
runId *stringThe id returned by run_journey.

get_fixes List tracked fixes

Lists tracked remediation items for a registered site, including status and the scope of any automated verification proof. Pro+ (REMEDIATION_TRACKING).

ParameterTypeDescription
siteHost *stringThe registered site's normalized host, as list_sites reports it.

verify_fix Verify a tracked fix

Queues a targeted automated re-check of representative pages for one tracked fix. This is not a full-site re-scan or a compliance guarantee. Pro+.

ParameterTypeDescription
remediationItemId *stringA fix id returned by get_fixes.

get_fix_verification Get fix verification

Polls a targeted fix verification and reports only what was detected on the selected pages checked. Pro+.

ParameterTypeDescription
fixVerificationId *stringThe id returned by verify_fix.