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

@getflip/swirl-mcp

v0.4.1

Published

MCP server for Swirl Design System — lets AI agents discover and use Swirl components

Downloads

633

Readme

@getflip/swirl-mcp

MCP server that lets AI agents discover and use Swirl Design System components.

Setup

Local (stdio)

Add to your MCP settings:

{
  "mcpServers": {
    "swirl": {
      "command": "npx",
      "args": ["-y", "@getflip/swirl-mcp"]
    }
  }
}

Remote (HTTP)

{
  "mcpServers": {
    "swirl": {
      "url": "https://swirl-mcp.engage.team.getflip.gg/mcp"
    }
  }
}

Local development

Inspect the server with the MCP Inspector over either transport. Prepend SWIRL_AI_LOCAL=1 to either command to load artifacts from the local monorepo instead of the unpkg CDN.

stdio

SWIRL_AI_LOCAL=1 npx @modelcontextprotocol/inspector node dist/transports/stdio.js

HTTP

Start the server, then open the Inspector and connect with transport type "Streamable HTTP" and URL http://localhost:3000/mcp:

SWIRL_AI_LOCAL=1 npx tsx src/transports/http.ts
npx @modelcontextprotocol/inspector

SWIRL_AI_LOCAL

When set, agent artifacts are read from packages/swirl-ai/dist/agent and component source (get_component_source) is read from packages/swirl-components/src/components/<tag>/<tag>.{tsx,css}. The version parameter is ignored for cache keying. Make sure swirl-ai has been built (pnpm --filter @getflip/swirl-ai build).

Tools

| Tool | Description | | ---------------------------- | ---------------------------------------------------------------------------- | | list_components | Lists all Swirl UI components with brief summaries and related components. | | list_icons | Lists all Swirl icon components. | | list_symbols | Lists all Swirl symbol components. | | get_component_details | Full component docs: props, events, slots, examples, and accessibility info. | | get_component_source | Versioned original TSX and CSS source for a specific component. | | list_color_tokens | Lists Swirl color tokens (light + dark) as CSS / SCSS / Tailwind keys. | | list_typography_tokens | Lists Swirl typography tokens as CSS / SCSS / Tailwind keys. | | list_layout_tokens | Lists Swirl layout tokens (spacing, radius, shadow, z-index, blur). | | get_started | Installation and setup guide for Web Components, Angular, and React. |

All tools accept a version parameter matching the installed @getflip/swirl-components version.

How it works

Component metadata and documentation are fetched at runtime from @getflip/swirl-ai artifacts on the unpkg CDN. Versioned component source is fetched from matching @getflip/swirl-components@<version> tags in the Swirl GitHub repository. Loaded libraries are cached in-memory to avoid redundant fetches.