Stylespeak MCP server
MCP server and CLI that makes CSS legible to AI agents — explains what applies and why.
0 stars47 downloads/wk
Reviews
Write oneNobody has reviewed Stylespeak yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Stylespeak tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
impact_previewPredicts the blast radius of a proposed CSS change before it is made.
live_resolveResolves CSS for a selector by querying a live running browser via Chrome DevTools Protocol (CDP).
resolve_stylesResolves what CSS actually applies to a given selector. Returns every property
style_manifestBuilds a compressed, structured summary of a project's entire CSS knowledge —
trace_propertyTraces a CSS property across all provided files — finding every rule that sets it,
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan16 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 54 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Stylespeak compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 47
- more than 39% of 12,191 servers with a package
What its tools let an agent do: 5 read
Install Stylespeak in Claude Code, Cursor or VS Code
Runs npx -y @patrizzos/stylespeak on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add stylespeak -- npx -y @patrizzos/stylespeak
What the publisher says
From the Stylespeak repository's README, as published. We do not edit it. Read it on GitHub
StyleSpeak - MCP and CLI
A companion MCP server and CLI to stylesafe that makes CSS legible to AI agents — resolving cascade, tracing properties, predicting change impact, and explaining what applies and why before an agent touches a single line of styles.
The problem
AI coding agents write CSS without being able to see its effect. They modify a rule, assume it worked, and move on — unaware that a higher-specificity rule elsewhere already overrides it, a combinator rule in another file is silently winning, or a CSS variable resolves to something entirely different than expected. stylespeak gives agents a structured knowledge layer to consult before making changes.
What it does
resolvestyles** — answers "what CSS actually applies to this selector?"
Given a selector and a set of files, returns every CSS property the selector would receive, which rule wins for each, and which rules were overridden — with confidence levels since no real DOM is available. CSS custom properties (var()) are resolved to their actual values, including chained variables, fallbacks, and media-context overrides.
traceproperty** — answers "everywhere this property is set, who wins?"
Given a property name and a set of files, returns every rule that sets it, groups competing rules that target overlapping selectors, and shows the full cascade chain for each group — with resolved variable values included.
impactpreview** — answers "if I change this, what else breaks?"
Given a selector, property, and optional new value, predicts the full blast radius of the change before it's made — showing which selectors will see a different value, which are shielded by higher specificity, which cascade relationships are uncertain, and which downstream rules are affected through CSS variable chains or property inheritance. Works without a browser.
stylemanifest** — answers "what does this entire project's CSS look like at a glance?"
Builds a compressed, structured summary of a project's entire CSS knowledge — selectors, properties, variables, competition groups, and risk hotspots — that an agent can load once at the start of a session and keep in context instead of repeatedly querying individual files.
liveresolve** — answers "what does the browser actually compute for this selector?"
Queries a running Chromium browser via CDP and returns exact computed styles and matched rules. No heuristics, no confidence levels — the browser resolved it. Requires Chrome running with --remote-debugging-port=9222.
Quick start
As a CLI tool
npm install -g @patrizzos/stylespeakstylespeak resolve ".btn.primary" src/styles/main.css
stylespeak trace "color" --projectRoot src/styles
stylespeak impact ".btn" "background-color" src/styles/main.css --newValue "#ff0000"
stylespeak manifest --projectRoot src/stylesAs an MCP server
Add to your MCP client config (Cursor: .cursor/mcp.json, VS Code: .vscode/mcp.json):
{
"mcpServers": {
"stylespeak": {
"command": "node",
"args": ["/absolute/path/to/stylespeak/src/server.js"]
}
}
}Once connected, agents can call:
- resolve_styles({ selector, files, projectRoot, componentFiles? })
- trace_property({ property, files, projectRoot })
- impact_preview({ selector, property, newValue?, files, projectRoot })
- style_manifest({ files?, projectRoot?, maxSelectors? })
- live_resolve({ selector, port?, tabUrl? })
Example output
impact_preview
stylespeak impact ".btn" "background-color" src/styles/buttons.css --newValue "#ff0000"Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Stylespeak: common questions
- Is Stylespeak MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Stylespeak safety report
- How do I install Stylespeak?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Stylespeak need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Stylespeak maintained?
- The last commit was 95 days ago (2026-08-01). The latest release is v1.2.0.
- How does Stylespeak compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 5 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.