Skip to content
Back to search

a11y-probe-mcp

Paid WCAG scans for AI agents. A Cloudflare Worker exposes an MCP server at /mcp and the same calls over HTTP. Callers pay per call with x402 (USDC on Base). Automated checks find roughly 57% of WCAG…

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/martinswiss--a11y-probe-mcp/badge.svg)](/listings/martinswiss--a11y-probe-mcp)

HTML

<a href="/listings/martinswiss--a11y-probe-mcp"><img src="/api/listings/martinswiss--a11y-probe-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 84 lines
  1. # A11y Probe
  2. Paid WCAG scans for AI agents. A Cloudflare Worker exposes an MCP server at `/mcp` and the same calls over HTTP. Callers pay per call with x402 (USDC on Base). Automated checks find roughly 57% of WCAG issues. A report is a template: not legal advice, no compliance guarantee.
  3. Our code is MIT. The unmodified `axe-core` dependency is MPL-2.0 (see [NOTICE](NOTICE)). The product name does not use that dependency's name.
  4. Nothing in this repository is deployed. [DEPLOY.md](DEPLOY.md) is the owner's checklist.
  5. ## Prices
  6. Set in [`src/config.ts`](src/config.ts):
  7. | Call | USD | Route |
  8. | --- | ---: | --- |
  9. | `get_pricing` | 0 | `GET /api/v1/pricing` |
  10. | `check_contrast` | 0.01 | `POST /api/v1/check/contrast` |
  11. | `scan_page` | 0.05 | `POST /api/v1/scan/page` |
  12. | `check_links_meta` | 0.05 | `POST /api/v1/check/links-meta` |
  13. | `scan_site` | 0.50 | `POST /api/v1/scan/site` |
  14. | `report` | 1.00 | `POST /api/v1/report` |
  15. The home page states the same numbers, how a 402 is paid, and the limits. Draft terms, privacy, and imprint are under `/legal`. Terms are under Swiss law and cap liability for a paid call at the amount paid for that call. The privacy notice names Cloudflare and Coinbase as processors in the United States.
  16. ## Demo
  17. Against a local `npx wrangler dev` (see [DEPLOY.md](DEPLOY.md)) or the deployed origin `https://a11y.aiagentpay.cloud`:
  18. ```sh
  19. ORIGIN=http://127.0.0.1:8787
  20. curl -s "$ORIGIN/api/v1/pricing"
  21. curl -s -D - -o /tmp/a11y-402.json -X POST "$ORIGIN/api/v1/scan/page" \
  22. -H 'content-type: application/json' \
  23. -d '{"url":"https://example.com/","authorized":true}'
  24. ```
  25. The second call is **402** with a `payment-required` header when the URL is allowed. It does not settle. A client that understands x402 signs USDC on Base Sepolia (`eip155:84532` in the default config) and retries with `PAYMENT-SIGNATURE`. Settlement happens only after the scan succeeds.
  26. Blocked cases never return 402:
  27. - `authorized` is not `true`
  28. - the URL is not public http(s) on port 80 or 443
  29. - `robots.txt` disallows `A11yProbe/1.0` or `*`
  30. - 10 paid calls in a minute for that payer or IP
  31. - 50 pages today for that domain, or the global daily cap
  32. Try the MCP endpoint with MCP Inspector:
  33. ```sh
  34. npx @modelcontextprotocol/inspector
  35. ```
  36. Connect to `$ORIGIN/mcp` over Streamable HTTP. `get_pricing` is free. Paid tools advertise their price and the x402 Bazaar schema.
  37. A local stdio process for Glama proxies the paid tools. `get_pricing` runs without a network:
  38. ```sh
  39. A11Y_PROBE_URL=https://a11y.aiagentpay.cloud node --experimental-strip-types src/stdio.ts
  40. ```
  41. ## Configuration
  42. | Name | Where | Purpose |
  43. | --- | --- | --- |
  44. | `PAY_TO` | var | Public Base address that receives USDC. Set in `wrangler.jsonc` for testnet and production. Override with a `PAY_TO` secret to swap it, including for a Stripe crypto address, without a code change. |
  45. | `X402_NETWORK` | var | `eip155:84532` (Base Sepolia) by default. `eip155:8453` in `env.production`. |
  46. | `FACILITATOR_URL` | var | `https://x402.org/facilitator` for tests. CDP `https://api.cdp.coinbase.com/platform/v2/x402` in production. |
  47. | `CDP_API_KEY_ID`, `CDP_API_KEY_SECRET` | secrets | CDP JWT auth for the mainnet facilitator. Required only under `env.production`. The testnet config does not list them. |
  48. | `INFO_URL` | var | Public origin used in the user agent and legal links. `https://a11y.aiagentpay.cloud/` in both environments. |
  49. | `GLOBAL_DAILY_PAGE_CAP` | var | Default 20, to stay inside Browser Run's free daily minutes. |
  50. `server.json` publishes the server as `io.github.MartinSwiss/a11y-probe-mcp`. The remote URL is `https://a11y.aiagentpay.cloud/mcp`. Do not publish before the Worker answers.
  51. ## Develop
  52. ```sh
  53. npm ci
  54. npx wrangler types
  55. npm test
  56. npm run typecheck
  57. ```
  58. Tests do not spend USDC. Payment tests use a local facilitator and a throwaway signing key.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.