Uswds
БесплатноНе проверенProvides AI coding tools with structured access to U.S. Web Design System components, patterns, templates, and accessibility guidance for building government we
Описание
Provides AI coding tools with structured access to U.S. Web Design System components, patterns, templates, and accessibility guidance for building government websites.
README
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.mdfor 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_uswdsget_componentget_patternget_templaterecommend_uswds_structuregenerate_uswds_pagevalidate_uswds_markupget_uswds_integration_recipevalidate_uswds_project_setup
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_uswdsintegrate_uswds_in_project
License
MIT
See NOTICE.md for USWDS attribution, upstream source links, and licensing notes for indexed USWDS material.
Установка Uswds
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bibekpdl/uswds-mcpFAQ
Uswds MCP бесплатный?
Да, Uswds MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Uswds?
Нет, Uswds работает без API-ключей и переменных окружения.
Uswds — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Uswds в Claude Desktop, Claude Code или Cursor?
Открой Uswds на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Uswds with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
