1. Conduid
  2. Other
  3. Critical
MCP server · Other

Critical

Extract & Inline Critical-path CSS in HTML pages

84Strong

Scored 21 hours ago · breakdown

About Critical

Critical is an MCP server published by addyosmani in the Other category: extract & Inline Critical-path CSS in HTML pages. Conduid read 1 tool from its source: optimize_critical_css. It is published to npm as critical and starts with npx.

The repository has 10K stars and 394 forks, is licensed Apache-2.0, and its last commit was on 24 Nov 2026. The latest release is v9.1.0 (24 Nov 2026): fix pnpm audit vulnerabilities (#635) 2c1a7d2 fix(cli): keep subfolders when writing a directory to --out (#633) e48e1ad chore: upgrade Vite+ to 1.0 (#628) 03897c8 chore… It follows v9.0.0 (13 Sep 2026), and the 5 most recent releases go back to v7.2.0 (17 Aug 2024). It passes all 5 static checks Conduid ran on the repository. Its topics include critical-css, critical-path-css, critical-path-styles, css, inline-css and inline-styles.

Install

Claude Code
claude mcp add critical -- npx -y critical
npx
npx -y critical
From source
git clone https://github.com/addyosmani/critical

Tools (1)

optimize_critical_cssExtract above-the-fold critical CSS for an HTML document and (optionally) inline it, deferring the rest. Auto-selects a no-browser static engine for rendered/SSG/SSR HTML or a real-browser render engine for SPA shells. Returns the critical CSS, the rewritten HTML, and a structured report explaining the engine choice and bytes saved.
ParameterTypeDescription
cssarrayOptional explicit CSS file paths/globs/strings.
enginestringEngine selection. 'auto' picks static for rendered HTML, render for SPA shells.
heightnumber
htmlstringRaw HTML source. Provide this OR src.
inlinebooleanInline critical CSS and defer the rest.
srcstringPath or URL to an HTML file. Provide this OR html.
widthnumber

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.0K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • ✓No dynamic code executionScanned 10 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdiosrc/mcp.js:93
Starts other programs
No calls that start other programs
Outbound network calls
2 callssrc/source.js:41, src/source.js:191
Writes or deletes files
No file writes or deletes
Lockfile
pnpm-lock.yaml

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

Releases

v9.1.0v9.1.0 · 24 Nov 2026chore: fix pnpm audit vulnerabilities (#635) 2c1a7d2 fix(cli): keep subfolders when writing a directory to --out (#633) e48e1ad chore: upgrade Vite+ to 1.0 (#628) 03897c8 chore: add types (#627) 8617c30…
v9.0.0v9.0.0 · 13 Sep 2026Critical v9 — a two-engine rewrite for how the web is built in 2026 Critical has always had one job: get the above-the-fold CSS onto the page *now*, and stop render-blocking stylesheets from standing between your users and first paint. v9…
v8.0.0v8.0.0 · 17 May 2026What's Changed Add docker image by @tmaier in https://github.com/addyosmani/critical/pull/550 fix syntax typo in readme by @richard-unterberg in https://github.com/addyosmani/critical/pull/614 [Snyk] Fix for 2 vulnerabilities by @bezoerb…
v7.2.1v7.2.1 · 23 Sep 2024downgrade got 708d1f5 Bump Dependencies (#605) 89de1e8 npm audit e5ce58e Bump micromatch from 4.0.5 to 4.0.8 (#601) cbf8927 Bump webpack from 5.91.0 to 5.94.0 (#600) c1f8a90…
v7.2.0v7.2.0 · 17 Aug 2024Parse CLI args passed as JSON (#596) (#599) 0b01821 Bump ws from 6.2.2 to 6.2.3 (#598) ef92de3 Bump braces from 3.0.2 to 3.0.3 (#597) 8754f72 https://github.com/addyosmani/critical/compare/v7.1.2...v7.2.0

README

The repository's README runs to about 2.0K words, fetched 22 hours ago. The original in the repository is authoritative.

Read full README
Questions

About Critical

How do I install Critical?

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

Is Critical safe to use with an AI agent?

Its trust score is 84 out of 100 (strong). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 10 source files found that it serves MCP over stdio and makes outbound network calls (2 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Critical still maintained?

Yes — the latest release is v9.1.0 (24 Nov 2026), and the last commit was 8 days ago. The repository has 10K stars and 37 open issues.

What tools does Critical provide?

Conduid read 1 tool from the source: optimize_critical_css. 1 of them publish their parameters, listed under Tools above.

What license is Critical released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v9.1.0, as well.