$ timeahead.in
/ servers/npm/@storybook/mcp
npm

@storybook/mcp

MCP server that serves knowledge about your components based on your Storybook stories and documentation

253 stars1.4M/wkupdated 1d agogithub ↗
56poor
▣ Overview

What it does

Provides an MCP server that indexes and exposes your Storybook stories and component documentation to AI agents like Claude Code. The server reads your Storybook configuration and component files to build a queryable knowledge base of available components, their stories, variations, and related documentation. This allows Claude to understand your component library's structure and help you write component code with full context of existing implementations. Can run as a standalone server or integrated as a Storybook addon that exposes components via a dev server endpoint.

Who it's for

Frontend engineers and component library maintainers using Storybook who want Claude Code (or Codex agents) to understand their component ecosystem. Particularly useful for teams building design systems or component libraries where consistency across implementations matters.

Common use cases

  • Query a component's available stories and variations directly from Claude Code
  • Reference existing component implementations and patterns when building new features
  • Generate or improve component documentation based on live Storybook stories
  • Debug component behavior by accessing Storybook context and related stories

Setup pitfalls

  • The scanner found 5 secrets in the repository — audit your own setup to avoid committing credentials to version control
  • Requires Node.js 24+ and pnpm 10.19.0+ (strictly enforced; earlier versions will fail the install)
  • Needs read and write access to your .storybook/ config directory and component source files
  • When using the addon variant, requires a running Storybook dev server; network latency or dev server crashes will block agent requests
5 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
84
16.8
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
55.8
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "storybookmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@storybook/mcp"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
73/ 100 · is this project alive?
contributors (1y)16
top contributor share47%
releases (1y)53
last release60d ago
ci✓ passing
⛁ Raw data
weekly downloads1.4M
github stars253
forks34
open issues35
license✓ present
readme length7885 chars
last publish0d ago
last commit1d ago
last updated1d ago
install verified✓ pass · 22d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points