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

uswds-mcp

v0.1.4

Published

Unofficial Model Context Protocol server for working with U.S. Web Design System components, patterns, templates, tokens, and accessibility guidance.

Downloads

800

Readme

uswds-mcp

Unofficial MCP server for the U.S. Web Design System (USWDS).

uswds-mcp is an independent local stdio Model Context Protocol server that helps AI coding tools and IDEs use USWDS components, design patterns, page templates, packages, design tokens, and accessibility guidance.

This project is not affiliated with, endorsed by, sponsored by, or maintained by the U.S. General Services Administration (GSA), Technology Transformation Services (TTS), or the official USWDS team.

The package includes a prebuilt index generated from public USWDS sources:

USWDS is an official project of GSA/TTS. This package is an independent developer tool for working with public USWDS materials.

Features

  • Search USWDS documentation and implementation records.
  • Retrieve structured component, pattern, template, token, and package records.
  • Recommend USWDS page and service structures.
  • Generate framework-neutral USWDS HTML with framework adaptation notes.
  • Provide framework-specific integration recipes for Next.js, React/Vite, static HTML, Rails, and Drupal.
  • Validate common USWDS markup, accessibility, and token-usage issues.
  • Validate project setup risks such as wrong package import paths, missing scripts, CDN usage, copied assets, and global CSS impact.
  • Include a Codex Skill at .agents/skills/uswds/SKILL.md for agent workflow guidance.

Use the Published Package

Most MCP clients can run the published package directly:

npx -y uswds-mcp

For a project dependency:

npm install uswds-mcp

The published package includes data/records.json, so documentation-backed tools work without running an ingest step.

Develop from Source

npm install
npm run build

To refresh the bundled index from upstream USWDS repositories:

npm run ingest

MCP Configuration

Use the package with an MCP client that supports stdio servers:

{
  "mcpServers": {
    "uswds": {
      "command": "npx",
      "args": ["-y", "uswds-mcp"]
    }
  }
}

Registry name:

io.github.bibekpdl/uswds-mcp

AI Tool and IDE Setup

USWDS MCP uses the standard stdio MCP transport and can be used by MCP-compatible AI tools and IDEs. See docs/CLIENTS.md for examples covering:

  • Claude Desktop
  • Claude Code
  • Cursor
  • VS Code with GitHub Copilot MCP support
  • Windsurf Cascade
  • Generic MCP clients

Example configs are also available in examples/.

For framework-specific setup guidance, see docs/INTEGRATION.md.

For a tool-by-tool usage guide, see docs/TOOLS.md.

Development

npm run typecheck
npm test
npm run build
npm run dev

Tools

  • search_uswds
  • get_component
  • get_pattern
  • get_template
  • recommend_uswds_structure
  • generate_uswds_page
  • validate_uswds_markup
  • get_uswds_integration_recipe
  • validate_uswds_project_setup

Resources

  • uswds://component/{slug}
  • uswds://pattern/{slug}
  • uswds://template/{slug}
  • uswds://token/{category}
  • uswds://package/{name}

Prompts

  • build_agency_website
  • build_service_page
  • audit_uswds_page
  • convert_page_to_uswds
  • integrate_uswds_in_project

License

MIT

See NOTICE.md for USWDS attribution, upstream source links, and licensing notes for indexed USWDS material.