npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wcag-kit

v0.3.3

Published

MCP server for web accessibility. Check UI components against WCAG 2.1 and 2.2 patterns and get accessible code fixes.

Downloads

482

Readme

wcag-kit

npm version license

An MCP server that brings WCAG accessibility knowledge into your AI editor.

Ask natural language questions about accessibility. Paste broken components and get diagnosed and fixed. No WCAG expertise required.

Built by Jainish Soni — CPACC Certified.


What it does

wcag-kit gives your AI editor accessibility tools:

| Tool | What it does | |---|---| | list_patterns | Lists all available WCAG patterns | | get_pattern | Returns full details for a specific pattern | | check_component | Scans an HTML snippet for accessibility violations | | suggest_fix | Returns bad and good code examples for any pattern |

You do not call these tools directly. Just ask naturally:

"Is this component accessible?" "I'm building a modal — what do I need to know?" "Check this dropdown for WCAG issues" "Show me how to write an accessible data table"

Your AI assistant reads the tools and decides when to use them.


Patterns covered

| ID | Component | WCAG Reference | |---|---|---| | dropdown | Dropdown Menu | WCAG 2.1.1 | | modal | Modal / Dialog | WCAG 2.1.2 | | form | Form Validation | WCAG 1.3.1 | | headings | Heading Hierarchy | WCAG 1.3.1 | | button | Button Accessibility | WCAG 4.1.2 | | image | Image Alt Text | WCAG 1.1.1 | | contrast | Color Contrast | WCAG 1.4.3 | | navigation | Navigation Landmark | WCAG 2.4.1 | | accordion | Accordion / Disclosure | WCAG 4.1.2 | | tabs | Tabs Component | WCAG 2.1.1 | | toast | Toast / Live Region | WCAG 4.1.3 | | table | Data Table | WCAG 1.3.1 | | focus | Focus Management | WCAG 2.4.3 | | combobox | Combobox (List Autocomplete) | WCAG 2.1.1 | | tooltip | Tooltip | WCAG 1.4.13 | | datepicker | Date Picker | WCAG 2.1.1 | | carousel | Carousel | WCAG 2.1.1 | | progress | Progress Indicator | WCAG 4.1.3 | | pagination | Pagination | WCAG 2.4.1 | | dragdrop | Drag and Drop | WCAG 2.5.7 | | radiocheckbox | Radio Group and Checkbox Group | WCAG 1.3.1 | | search | Search | WCAG 4.1.2 | | infinitescroll | Infinite Scroll / Load More | WCAG 4.1.3 | | fileupload | File Upload | WCAG 4.1.2 | | skeleton | Skeleton / Loading State | WCAG 4.1.3 | | alertdialog | Alert Dialog | WCAG 2.1.2 | | breadcrumb | Breadcrumb | WCAG 2.4.8 |


Install

Add to your MCP config file:

{
  "mcpServers": {
    "wcag-kit": {
      "command": "npx",
      "args": ["wcag-kit"]
    }
  }
}

Restart your editor. wcag-kit is now available in every AI chat session.

Config file locations:

  • Cursor: ~/.cursor/mcp.json
  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Other editors: check your editor's MCP documentation

Example

Paste this into any MCP-compatible AI chat:

I'm building a notification that pops up after a user saves a form. Any accessibility concerns?

wcag-kit will identify the WCAG 4.1.3 live region requirement, explain who is affected, show you the broken pattern and the fix, and link to a working example.

No tool names. No WCAG knowledge required. Just ask.


Requirements

  • Node.js 18 or higher
  • Any MCP-compatible AI editor

Part of the wcaginpractice.com ecosystem

wcag-kit is one part of a free accessibility toolkit:

  • wcag-kit (this tool) — MCP server that gives AI assistants deep WCAG knowledge
  • WCAG Lens — VS Code/Cursor extension with real-time diagnostics as you type: https://marketplace.visualstudio.com/items?itemName=jainishsoni.wcag-lens
  • wcaginpractice.com — interactive playground with 27 broken vs fixed patterns: https://wcaginpractice.com

Use all three together: learn on the site, enforce with the extension, ask your AI assistant using wcag-kit.


Learn more


Suggest a rule

Missing a pattern you see in real products? https://wcaginpractice.com/contribute


CPACC Certification

https://www.credly.com/badges/40cf41b8-ad65-4591-8f0b-c13e1ad108f1/public_url


License

MIT