uswds-mcp
Integrates with VS Code via GitHub Copilot MCP support to provide USWDS guidance, component retrieval, and validation within the editor.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@uswds-mcpgenerate a USWDS service page for a permit application"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
USWDS MCP Server
USWDS MCP is a local stdio Model Context Protocol server for the U.S. Web Design System. It gives AI coding tools and IDEs structured access to USWDS components, design patterns, page templates, packages, design tokens, and accessibility guidance for building standards-based government websites.
The package includes a prebuilt USWDS index generated from:
USWDS is an official project of the U.S. General Services Administration (GSA), Technology Transformation Services (TTS). This MCP server is an independent tool and is not affiliated with, endorsed by, or sponsored by GSA, TTS, or the official USWDS team.
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.
Validate common USWDS markup, accessibility, and token-usage issues.
Include a Codex Skill at
.agents/skills/uswds/SKILL.mdfor agent workflow guidance.
Use the Published Package
Most MCP clients can run the published package directly:
npx -y uswds-mcpFor a project dependency:
npm install uswds-mcpThe published package includes data/records.json, so documentation-backed tools work without running an ingest step.
Develop from Source
npm install
npm run buildTo refresh the bundled index from upstream USWDS repositories:
npm run ingestMCP Configuration
Use the package with an MCP client that supports stdio servers:
{
"mcpServers": {
"uswds": {
"command": "npx",
"args": ["uswds-mcp"]
}
}
}Registry name:
io.github.bibekpdl/uswds-mcpAI 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/.
Development
npm run typecheck
npm test
npm run build
npm run devTools
search_uswdsget_componentget_patternget_templaterecommend_uswds_structuregenerate_uswds_pagevalidate_uswds_markup
Resources
uswds://component/{slug}uswds://pattern/{slug}uswds://template/{slug}uswds://token/{category}uswds://package/{name}
Prompts
build_agency_websitebuild_service_pageaudit_uswds_pageconvert_page_to_uswds
License
MIT
See NOTICE.md for USWDS attribution, upstream source links, and licensing notes for indexed USWDS material.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bibekpdl/uswds-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server