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

@mkatogui/uds-mcp-server

v0.4.1

Published

MCP server for Universal Design System — AI-native design system queries

Downloads

73

Readme

UDS MCP Server

Model Context Protocol server for the Universal Design System. Exposes palette queries, component lookups, BM25 search, and token generation to AI coding tools.

Prerequisites

  • Node.js 18+
  • Python 3.8+ (for the BM25 reasoning engine)

Install

cd src/mcp
npm install

Available Tools

| Tool | Description | |------|-------------| | search_design_system | BM25 search across 20 CSV databases. Returns domain detection, palette, components, patterns, and rules. | | get_palette | Retrieve the full token set (colors, structural tokens) for one of the 9 palettes. | | get_component | Look up a component by slug. Returns variants, sizes, states, props, and accessibility requirements. | | generate_tokens | Run the full reasoning pipeline and return a complete design system spec (JSON or Tailwind). | | list_palettes | List all 9 palettes with descriptions and key attributes. | | list_components | List all 43 components with names and categories. |

Configuration

Add the server to your AI tool's MCP configuration. The command is node and the single argument is the absolute path to index.js.

Claude Code

In your project's .mcp.json or ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "universal-design-system": {
      "command": "node",
      "args": ["/absolute/path/to/src/mcp/index.js"]
    }
  }
}

Cursor

In .cursor/mcp.json:

{
  "mcpServers": {
    "universal-design-system": {
      "command": "node",
      "args": ["/absolute/path/to/src/mcp/index.js"]
    }
  }
}

VS Code (Copilot)

In .vscode/mcp.json:

{
  "servers": {
    "universal-design-system": {
      "command": "node",
      "args": ["/absolute/path/to/src/mcp/index.js"]
    }
  }
}

Windsurf

In .windsurf/mcp.json:

{
  "mcpServers": {
    "universal-design-system": {
      "command": "node",
      "args": ["/absolute/path/to/src/mcp/index.js"]
    }
  }
}

Zed

In Zed settings (settings.json):

{
  "context_servers": {
    "universal-design-system": {
      "command": {
        "path": "node",
        "args": ["/absolute/path/to/src/mcp/index.js"]
      }
    }
  }
}

Usage Examples

Once configured, your AI coding tool can call these tools directly:

Search for a design system recommendation:

search_design_system({ "query": "fintech dashboard for mobile banking" })

Get a specific palette:

get_palette({ "name": "corporate" })

Look up a component:

get_component({ "slug": "data-table" })

Generate a full design system specification:

generate_tokens({ "query": "saas landing page", "format": "json" })
generate_tokens({ "query": "ecommerce store", "format": "tailwind" })

List all available palettes or components:

list_palettes()
list_components()

Architecture

AI Tool  -->  MCP stdio  -->  index.js  -->  Python subprocess (search/generate)
                                         -->  design-tokens.json (palette lookup)
                                         -->  components.csv (component lookup)

The server runs as a stdio process. AI tools spawn it and communicate via JSON-RPC over stdin/stdout per the MCP specification. Python scripts are invoked as subprocesses only for search and generation tasks; palette and component lookups read files directly for speed.