WebPerf Snippets MCP
An MCP server that exposes 56 tested JavaScript snippets for measuring and debugging web performance. It allows AI agents to run these snippets on headless Chromium to obtain structured data for Core Web Vitals, loading metrics, and interaction analysis, ensuring deterministic audits.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Measure Core Web Vitals like LCP, CLS, and INP
- Debug render-blocking resources and script loading
- Audit image and video optimization strategies
- Analyze network bandwidth and connection quality
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
webperf-snippets 1.9.0
{
"version": "1.9.0",
"transport": "stdio",
"identifier": "webperf-snippets",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "CRUX_API_KEY",
"format": "string",
"description": "Chrome UX Report API key for the field data of get_crux; the other tools work without it"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"webperf-snippets-mcp": {
"command": "npx",
"args": [
"-y",
"webperf-snippets@1.9.0",
"mcp"
],
"env": {
"CRUX_API_KEY": "<YOUR_CRUX_API_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"webperf-snippets-mcp": {
"command": "npx",
"args": [
"-y",
"webperf-snippets@1.9.0",
"mcp"
],
"env": {
"CRUX_API_KEY": "<YOUR_CRUX_API_KEY>"
}
}
}
}VS Code
{
"servers": {
"webperf-snippets-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"webperf-snippets@1.9.0",
"mcp"
],
"env": {
"CRUX_API_KEY": "<YOUR_CRUX_API_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"webperf-snippets-mcp": {
"command": "npx",
"args": [
"-y",
"webperf-snippets@1.9.0",
"mcp"
],
"env": {
"CRUX_API_KEY": "<YOUR_CRUX_API_KEY>"
}
}
}
}Let your agent find its tools
Find servers like WebPerf Snippets MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.