Serveur MCP

CSS SOTA

io.github.LuSrodri/css-sota-mcp
Design et création Outils développeur Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Checks CSS browser compatibility and Baseline support, reviews UI/UX, and provides CSS feature documentation and guidance.

audit_css
Audit CSS against browser targets
Scan CSS source and report every feature in it that does not meet a browser support target. Targets are either a Baseline level ("baseline-widely", "baseline-newly") or an explicit browser list ("chrome 120, safari 17.4, firefox 128"). Reports the offending line, what is wrong (unsupported, too old, prefix-only, partial), and the minimum version that would work. Browserslist queries like "last 2 versions" are not supported. IMPORTANT when reading Baseline-level results: Baseline describes a whole feature, and a feature can be "Limited" because one part of it is not interoperable while the exact declaration you wrote works everywhere. "Cursor styles" is Limited, so `cursor: pointer` is reported — yet it only lacks iOS Safari, where a cursor is meaningless rather than broken. Each finding therefore also names the browsers missing that specific key, or says that the key ships everywhere and the status comes from elsewhere in the feature. Read that line before removing anything: a key that ships everywhere is still not proof the code works, since it may be inert without the parts that do not.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['source'], 'properties': {'source': {'type': 'string', 'maxLength': 400000, 'minLength': 1, 'description': 'The CSS source to audit. Malformed CSS is tolerated and scanned best-effort.'}, 'target': {'type': 'string', 'default': 'baseline-widely', 'description': 'Support target. Either a Baseline level ("baseline-widely", "baseline-newly") or a comma-separated browser list ("chrome 120, safari 17.4, firefox 128"). Known browsers: chrome, chrome_android, edge, firefox, firefox_android, safari, safari_ios, opera, opera_android, samsunginternet_android, webview_android, ie.'}, 'include_passing': {'type': 'boolean', 'default': False, 'description': 'Also list the features that meet the target, not just the ones that fail.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['target', 'featuresChecked', 'failing', 'unknown', 'findings'], 'properties': {'target': {'type': 'string'}, 'failing': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'unknown': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'findings': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'featureId', 'kind', 'name', 'line', 'occurrences', 'snippet', 'status', 'reasons', 'baseline'], 'properties': {'key': {'type': 'string'}, 'kind': {'type': 'string'}, 'line': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'name': {'type': 'string'}, 'status': {'enum': ['pass', 'fail', 'unknown'], 'type': 'string'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}}, 'snippet': {'type': 'string'}, 'baseline': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'featureId': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'occurrences': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}}, 'featuresChecked': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}
check_support
Check CSS browser support
Look up which browser versions support a CSS property, value, selector, at-rule or function, from MDN browser-compat-data bundled with this server (no network call). Give either a BCD key ("css.properties.anchor-name") or a property with an optional value ("display" + "grid"). Also reports vendor prefixes, partial implementations and the Baseline status of the feature the key belongs to.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'value': {'type': 'string', 'description': 'A value for that property, e.g. "grid" for display. Falls back to the property\'s own support when the value is not tracked separately.'}, 'bcd_key': {'type': 'string', 'description': 'A browser-compat-data key, e.g. "css.properties.text-wrap-style", "css.selectors.has", "css.at-rules.container", "css.types.color.color-mix". Takes precedence over property/value.'}, 'property': {'type': 'string', 'description': 'A CSS property name, e.g. "display", "anchor-name". Used when bcd_key is absent.'}, 'all_browsers': {'type': 'boolean', 'default': False, 'description': 'Include every browser in the dataset (Opera, Samsung Internet, WebView, IE) rather than only the seven that determine Baseline.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['resolved', 'key', 'featureId', 'baseline', 'deprecated', 'experimental', 'support', 'mdnUrl', 'spec', 'suggestions'], 'properties': {'key': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'spec': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'mdnUrl': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'support': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['since', 'prefix', 'alternativeName', 'partial', 'removedIn'], 'properties': {'since': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'prefix': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'partial': {'type': 'boolean'}, 'removedIn': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'alternativeName': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'baseline': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'resolved': {'type': 'boolean'}, 'featureId': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'deprecated': {'type': 'boolean'}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}}, 'experimental': {'type': 'boolean'}}, 'additionalProperties': False}
dont_make_me_think
Don't Make Me Think
UI/UX guidelines and a review of a page against them. mode="guidelines" returns the principles — Nielsen's 10 heuristics, Hick's and Fitts's laws, WCAG 2.2, neurodiversity-inclusive design, motion and microinteractions (including when Lottie or Rive are worth their bundle cost), SVG craft and animation, light-first theming, lightness and responsiveness — optionally filtered by topic. Read them BEFORE designing or building UI. mode="review" statically reviews supplied HTML and CSS, or a URL, and reports what violates which principle. The review reads source and does not render it, so it cannot measure computed contrast, real target sizes, or where focus lands — it catches what is visible in the markup, which is most of what actually goes wrong.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'css': {'type': 'string', 'maxLength': 400000, 'description': 'CSS source to review.'}, 'url': {'type': 'string', 'format': 'uri', 'description': 'Page to fetch and review. Only the HTML and its inline styles are read â\x80\x94 linked stylesheets are not followed, so pass `css` as well for a full review.'}, 'html': {'type': 'string', 'maxLength': 400000, 'description': 'HTML source to review.'}, 'mode': {'enum': ['guidelines', 'review'], 'type': 'string', 'default': 'guidelines', 'description': 'guidelines: return the principles to design against. review: check HTML/CSS or a URL against them.'}, 'topic': {'enum': ['heuristics', 'laws', 'wcag', 'neurodiversity', 'motion', 'svg', 'theme', 'performance', 'responsive'], 'type': 'string', 'description': 'Restrict guidelines to one area. Omit for all of them. Ignored when mode is "review".'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['mode', 'version', 'principles', 'reviewed', 'findings', 'counts'], 'properties': {'mode': {'type': 'string'}, 'counts': {'type': 'object', 'required': ['blocker', 'major', 'minor'], 'properties': {'major': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'minor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'blocker': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}, 'version': {'type': 'string'}, 'findings': {'type': 'array', 'items': {'type': 'object', 'required': ['principleId', 'principleTitle', 'severity', 'message', 'evidence', 'line', 'source', 'occurrences'], 'properties': {'line': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'source': {'type': 'string'}, 'message': {'type': 'string'}, 'evidence': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'severity': {'enum': ['blocker', 'major', 'minor'], 'type': 'string'}, 'occurrences': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'principleId': {'type': 'string'}, 'principleTitle': {'type': 'string'}}, 'additionalProperties': False}}, 'reviewed': {'type': 'array', 'items': {'type': 'string'}}, 'principles': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'topic', 'title', 'principle', 'why', 'rules', 'source'], 'properties': {'id': {'type': 'string'}, 'why': {'type': 'string'}, 'rules': {'type': 'array', 'items': {'type': 'string'}}, 'title': {'type': 'string'}, 'topic': {'type': 'string'}, 'source': {'type': 'string'}, 'principle': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
get_feature
Get CSS feature details
Get everything known about one CSS feature: Baseline status and dates, the browser versions it shipped in, its description, spec links, Web Platform Tests scores, usage, and MDN reference prose. Accepts a web-features id ("container-queries") or a display name ("Container queries"). Use search_css_features first if you do not know the id.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['feature_id'], 'properties': {'feature_id': {'type': 'string', 'maxLength': 120, 'minLength': 1, 'description': 'The web-features id, e.g. "anchor-positioning", "container-queries", "subgrid". A display name such as "Anchor positioning" also works.'}, 'include_mdn': {'type': 'boolean', 'default': True, 'description': 'Fetch MDN reference prose for the feature. Set false for a faster, terser answer.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id', 'name', 'found', 'description', 'baseline', 'baselineLowDate', 'baselineHighDate', 'spec', 'browsers', 'bcdKeys', 'caniuse', 'mdnUrl', 'suggestions'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'spec': {'type': 'array', 'items': {'type': 'string'}}, 'found': {'type': 'boolean'}, 'mdnUrl': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'bcdKeys': {'type': 'array', 'items': {'type': 'string'}}, 'caniuse': {'type': 'array', 'items': {'type': 'string'}}, 'baseline': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'browsers': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['version', 'date'], 'properties': {'date': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'version': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'description': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'suggestions': {'type': 'array', 'items': {'type': 'string'}}, 'baselineLowDate': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'baselineHighDate': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}
search_css_features
Search CSS features
Search CSS features on the Web Platform Dashboard (webstatus.dev) by keyword, Baseline status, and the date range in which they reached Baseline. Use this to answer questions like "which CSS features for scroll animations are Baseline yet?" or "what limited-support CSS is there for anchoring?". Returns live Baseline data. For the browser versions a specific property shipped in, use check_support instead.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of features to return.'}, 'query': {'type': 'string', 'maxLength': 120, 'description': 'Free-text search over feature names and descriptions, e.g. "container queries", "anchor", "scroll". Omit to list all CSS features matching the other filters.'}, 'since': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Only features that became Baseline Newly available on or after this date (YYYY-MM-DD). Combined with `baseline`, this means "went Newly in this range AND is status X today".'}, 'until': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Only features that became Baseline Newly available on or before this date (YYYY-MM-DD).'}, 'baseline': {'enum': ['limited', 'newly', 'widely'], 'type': 'string', 'description': 'Filter by Baseline status: "widely" (interoperable for 30+ months, safe to use), "newly" (interoperable across all major engines recently), or "limited" (not yet available across all major engines).'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query', 'truncated', 'features'], 'properties': {'query': {'type': 'string', 'description': 'The dashboard query that was executed.'}, 'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total matches upstream, across all pages.'}, 'features': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'baseline', 'baselineDate', 'spec'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'spec': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'baseline': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'baselineDate': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'truncated': {'type': 'boolean', 'description': 'Whether more matches exist than were returned.'}}, 'additionalProperties': False}
whats_new
What's new in CSS
List CSS features that crossed a Baseline threshold within a date range, newest first. Use this to answer "what CSS can I start using now?", to write release notes, or to catch up after time away. Defaults to the last 180 days. The date is when a feature became interoperable across browsers, which is usually well after it first shipped in one.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': 'integer', 'default': 50, 'maximum': 100, 'minimum': 1, 'description': 'Maximum number of features to return.'}, 'since': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'Start of the window (YYYY-MM-DD), inclusive. Defaults to 180 days before today.'}, 'until': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'End of the window (YYYY-MM-DD), inclusive. Defaults to today.'}, 'transition': {'enum': ['newly', 'widely', 'any'], 'type': 'string', 'default': 'newly', 'description': 'Which threshold was crossed in the window: "newly" for features that became interoperable across all major engines (the usual meaning of new), "widely" for those that reached the 30-month Widely available mark, or "any" for both.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['since', 'until', 'count', 'truncated', 'features'], 'properties': {'count': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'since': {'type': 'string'}, 'until': {'type': 'string'}, 'features': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'transition', 'date', 'baseline', 'spec'], 'properties': {'id': {'type': 'string'}, 'date': {'type': 'string'}, 'name': {'type': 'string'}, 'spec': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'baseline': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'transition': {'enum': ['newly', 'widely'], 'type': 'string'}}, 'additionalProperties': False}}, 'truncated': {'type': 'boolean'}}, 'additionalProperties': False}
Ajouté
dont_make_me_think
17 September 2026 12:43
Ajouté
audit_css
17 September 2026 12:43
Ajouté
check_support
17 September 2026 12:43
Ajouté
get_feature
17 September 2026 12:43
Ajouté
whats_new
17 September 2026 12:43
Ajouté
search_css_features
17 September 2026 12:43