When an AI agent needs to understand CSS — where is .btn-primary defined, what properties does it have, which selectors cascade over it, which JSX components reference it — it discovers style the…
cssgraph is an MCP project maintained in the mack-peng/cssgraph repository. The maintainer describes its purpose as “When an AI agent needs to understand CSS — where is .btn-primary defined, what properties does it have, which selectors cascade over it, which JSX…”. Read the project documentation for the complete scope.
The project provides a local client configuration using cssgraph. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| cssgraph_explore | PRIMARY: Full style context for a className — properties, overrides, specificity, callers |
| cssgraph_search | Search for className selectors by name |
| cssgraph_callers | Find JSX components referencing a className |
| cssgraph_impact | Blast radius of changing a className |
| cssgraph_rule | Blast radius of a full CSS selector (exact match + loose/strict file impact) |
| cssgraph_impact_selector | Find code files (JS/TS/JSX/TSX) affected by a CSS selector |
| cssgraph_details | O(1) exact selector lookup (no edges, lightweight) |
| cssgraph_unused | Find class selectors with no incoming references |
| cssgraph_cascade | Visualize the cascade path for a className |
| cssgraph_diagnose | Static anchor diagnosis for scroll/height issues — classifies height declarations as DEFINITE / INDEFINITE / UNVERIFIABLE along the ancestor chain |
| cssgraph_property | Search selectors by CSS property value |
| cssgraph_files | Indexed style file tree |
| cssgraph_status | Index health check |
{
"mcpServers": {
"cssgraph": {
"type": "stdio",
"command": "cssgraph",
"args": [
"serve",
"--mcp"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
mcp-name: io.github.isdaniel/mcp_weather_server
Local-first code intelligence MCP: symbol graph, impact analysis, 60+ tools.
Local bounty-feed index: Bountycaster/Dework/Superteam/Algora/Sherlock/GitHub bounties. Read-only.
MCP сервера для VseGPT