1. Conduid
  2. Data
  3. freema/mcp-design-system-extractor
MCP server · Data

freema/mcp-design-system-extractor

MCP (Model Context Protocol) server that enables AI assistants to interact with Storybook design systems. Extract component HTML, analyze styles, and help with design system adoption and refactoring.

68Good

Scored 8 hours ago · breakdown

About freema/mcp-design-system-extractor

freema/mcp-design-system-extractor is an MCP server published by freema in the Data category: mCP (Model Context Protocol) server that enables AI assistants to interact with Storybook design systems. Extract component HTML, analyze styles, and help with design system adoption and refactoring. Conduid read 9 tools from its source: get_component_dependencies, get_component_html, get_external_css, get_theme_info, job_cancel, job_list and 3 more. It is published to npm as mcp-design-system-extractor and starts with npx.

The repository has 73 stars and 14 forks, is licensed MIT, and its last commit was on 6 Nov 2026. The latest release is v1.2.0 (27 Jul 2026). It follows 1.1.1 (4 Feb 2026), and the 5 most recent releases go back to 0.1.1 (11 Jul 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include chrome-devtools, design-system, design-tokens, reverse-engineering, screenshots and style-guide.

Install

Claude Code
claude mcp add design-system-extractor -- npx -y mcp-design-system-extractor
npx
npx -y mcp-design-system-extractor
From source
git clone https://github.com/freema/mcp-design-system-extractor

Tools (9)

get_component_dependenciesAnalyze rendered HTML to find which other components a given component internally uses by detecting React components, web components, and CSS class patterns
ParameterTypeDescription
componentId *stringThe story ID of the component (e.g., "example-button--primary")
get_component_htmlExtract HTML from a component. Default is async (returns job_id, poll with job_status). Set async=false for sync mode. Use variantsOnly=true to get variant list.
ParameterTypeDescription
asyncbooleanIf true (default), returns job_id immediately - use job_status to poll for results. If false, waits for result synchronously.
componentId *stringThe story ID in format "component-name--story-name" (e.g., "button--primary") or component ID (e.g., "button") when using variantsOnly.
includeStylesbooleanWhether to include extracted CSS styles in the response. Storybook boilerplate CSS is filtered out. Default: false.
timeoutnumberCustom timeout in milliseconds (5000-60000). Only used in sync mode (async=false). Default is 15000ms.
variantsOnlybooleanIf true, returns only the list of available variants/stories for the component (synchronous). Use component ID without story suffix.
get_external_cssExtract design tokens from CSS files. DEFAULT BEHAVIOR: Returns ONLY tokens and file statistics (small response ~1-3K tokens). Does NOT return CSS content by default to avoid token limits. For full CSS content, explicitly set includeFullCSS=true and maxContentSize. Perfect for analyzing design system tokens without hitting response size limits.
ParameterTypeDescription
cssUrl *stringURL of CSS file to analyze. IMPORTANT: Tool returns only design tokens by default (not CSS content) to avoid response size limits.
extractTokensbooleanExtract design tokens (colors, spacing, typography, etc.). Default: true. This is the main purpose of this tool.
includeFullCSSbooleanOPTIONAL: Set to true ONLY if you need the actual CSS content. WARNING: Large CSS files may hit token limits. Default: false (recommended).
maxContentSizenumberOPTIONAL: Max CSS content characters when includeFullCSS=true. Default: 10000. Larger files will be truncated.
get_theme_infoGet design system theme information (colors, spacing, typography, breakpoints)
ParameterTypeDescription
includeAllbooleanWhether to include all CSS custom properties found (default: false)
job_cancelCancel a queued or running job. Returns whether the cancellation was successful.
ParameterTypeDescription
job_id *stringThe job ID to cancel
job_listList all jobs with their status. Shows what each job is processing and whether it is still running.
ParameterTypeDescription
statusstringFilter by status: "all" (default), "active" (queued/running), "completed" (completed/failed/cancelled)
job_statusCheck the status of an async job. Returns status, progress, and result when completed. Poll this endpoint to get results from get_component_html.
ParameterTypeDescription
job_id *stringThe job ID returned from get_component_html
list_componentsList all UI components available in your design system/Storybook. Returns components like modals, dialogs, buttons, forms, cards, etc. with their names, categories, and variant count. Use this to explore what components are available for building UI features. Use category="all" or omit category parameter to list all components. Supports pagination to handle large component libraries.
ParameterTypeDescription
categorystringFilter components by category path (e.g., "Components/Buttons", "Layout"). Use "all" or omit to list all components.
compactbooleanIf true (default), returns compact format with only id, name, title, and variantCount. If false, returns full component data including all stories.
pagenumberPage number (1-based). Default is 1.
pageSizenumberNumber of components per page (1-100). Default is 20.
search_componentsSearch design system components by name, title, category, or purpose. Find UI components like modals, dialogs, buttons, forms, cards, etc. Supports text search (query) and semantic search by purpose. Available purposes: "form inputs", "navigation", "feedback", "data display", "layout", "buttons", "progress", "media". Supports pagination for large result sets.
ParameterTypeDescription
pagenumberPage number (1-based). Default is 1.
pageSizenumberNumber of components per page (1-100). Default is 20.
purposestringSemantic search by purpose. Available: "form inputs", "navigation", "feedback", "data display", "layout", "buttons", "progress", "media". Can be combined with query.
querystringText search query (e.g., "button", "form", "nav"). Use "*" to list all. Case-insensitive partial matching. Optional if purpose is provided.
searchInstringWhere to search: "name" (component name only), "title" (full path), "category" (grouping), or "all" (search everywhere, default)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • !No dynamic code executionScanned 29 source files and found 4 calls to eval or shell execution, in src/utils/puppeteer-client.ts:88 and src/utils/puppeteer-client.ts:108 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:6
Starts other programs
No calls that start other programs
Outbound network calls
3 callssrc/tools/get-external-css.ts:191, src/utils/storybook-client.ts:93, src/utils/storybook-client.ts:155
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 29 files: places to read, not proof of what the code does at run time.

Releases

v1.2.0v1.2.0 · 27 Jul 2026What's Changed fix: repair get_component_html, upgrade SDK 0.5 -> 1.29 and refresh toolchain by @freema in https://github.com/freema/mcp-design-system-extractor/pull/11 Full Changelog:…
1.1.11.1.1 - Claude Code Plugin · 4 Feb 2026New Features Claude Code Plugin with: Commands: `/design:list`, `/design:extract`, `/design:theme` Agents: `ui-builder` Skills: `design-extraction` (auto-triggers)
1.1.01.1.0 · 10 Jan 2026What's Changed Update README with personal website link by @freema in https://github.com/freema/mcp-design-system-extractor/pull/7 Feat/new async tools by @freema in https://github.com/freema/mcp-design-system-extractor/pull/8 Full…
1.0.11.0.1 · 28 Aug 2025What's Changed chore: update version to 1.0.1 and add publish workflow for npm by @freema in https://github.com/freema/mcp-design-system-extractor/pull/5 Full Changelog:…
0.1.10.1.1 · 11 Jul 2025What's Changed add MCP server badge by @punkpeye in https://github.com/freema/mcp-design-system-extractor/pull/2 Update publish by @freema in https://github.com/freema/mcp-design-system-extractor/pull/3 New Contributors @punkpeye made…

README

The repository's README runs to about 1.2K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About freema/mcp-design-system-extractor

How do I install freema/mcp-design-system-extractor?

In Claude Code, run claude mcp add design-system-extractor -- npx -y mcp-design-system-extractor. Other MCP clients take the command after "--" in their server configuration.

Is freema/mcp-design-system-extractor safe to use with an AI agent?

Its trust score is 68 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 29 source files found that it serves MCP over stdio and makes outbound network calls (3 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is freema/mcp-design-system-extractor still maintained?

Yes — the latest release is v1.2.0 (27 Jul 2026), and the last commit was 26 days ago. The repository has 73 stars.

What tools does freema/mcp-design-system-extractor provide?

Conduid read 9 tools from the source: get_component_dependencies, get_component_html, get_external_css, get_theme_info, job_cancel, job_list, job_status, list_components and 1 more. 9 of them publish their parameters, listed under Tools above.

What license is freema/mcp-design-system-extractor released under?

The repository declares the MIT license. That applies to the latest release, v1.2.0, as well.