Skip to content
Cursor

WebPerf Snippets for Cursor

io.github.nucliweb/webperf-snippets

Measure Core Web Vitals and debug web performance with 56 snippets in a headless Chromium

client:Cursor transport:stdio runtime:npm

Install WebPerf Snippets in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "webperf-snippets": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "webperf-snippets"
      ],
      "env": {
        "CRUX_API_KEY": "<CRUX_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

WebPerf Snippets in other clients