Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Swatchbook MCP

MCP server by unpunnyfuns Verified · npm:@unpunnyfuns

Swatchbook MCP is the Model Context Protocol server in the swatchbook monorepo, made for AI agents working with DTCG design tokens. It is published as @unpunnyfuns/swatchbook-mcp.

  • Score 77
  • 30 stars
  • 284 a week
  • MIT
  • Updated

Install Swatchbook MCP

Built from the published package, never by AI.

claude mcp add swatchbook-mcp -- npx -y @unpunnyfuns/swatchbook-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Swatchbook MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the swatchbook-mcp block.

About

Swatchbook is a Storybook addon and set of MDX doc blocks for visualising DTCG design tokens. It is built on Terrazzo's parser, and the production build runs Terrazzo's CLI against the same DTCG source that swatchbook reads inside Storybook. The monorepo includes a sub-package, @unpunnyfuns/swatchbook-mcp, described as a Model Context Protocol server for AI agents. Each sub-package is publishable on its own.

The source describes the MCP server only at a high level, so its specific tools and capabilities are not listed here. The wider project is aimed at teams that use DTCG tokens with Storybook and want those tokens visible in their docs and stories. The project is released under the MIT license by unpunnyfuns, and it is developed as a pnpm and Turborepo workspace.

Written from the project's README and checked against it.

Try asking

  • Use the Swatchbook MCP server to look at the design tokens in my DTCG project.
  • Ask Swatchbook MCP which tokens my DTCG source defines.
  • Have an AI agent read my DTCG token project through the Swatchbook MCP server.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Exposing DTCG design tokens to AI agents
  • Reading token projects in an AI assistant
  • Working with Storybook design token docs

Alternatives to Swatchbook MCP

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Swatchbook MCP: common questions

What does swatchbook build on?

Swatchbook is built on Terrazzo's parser. The source says the production build runs Terrazzo's CLI against the same DTCG source that swatchbook reads.

Which token standard does swatchbook support?

The source links to the DTCG specification (version 2025.10) and describes swatchbook as a tool for visualising DTCG design tokens.

Where is the MCP server in the swatchbook repository?

The MCP server is the @unpunnyfuns/swatchbook-mcp package, located in the packages/mcp folder of the monorepo.

How do I install Swatchbook MCP?

In Claude Code run claude mcp add swatchbook-mcp -- npx -y @unpunnyfuns/swatchbook-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Swatchbook MCP the official server?

Swatchbook MCP is published by npm:@unpunnyfuns from its verified domain in the official MCP Registry.

Is Swatchbook MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Swatchbook MCP safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Swatchbook MCP?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Swatchbook MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Swatchbook MCP Install

Add to stack

Loading.