WebPerf Snippets
Measure Core Web Vitals and debug web performance with 56 snippets in a headless Chromium
Connector by nucliweb · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/nucliweb-webperf-snippets
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend-development, monitoring-observability
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 6 read · 2 write · 0 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 8
Read from the source code; the running server may list different tools.
Read 6 · Look things up without changing anything.
get_cruxlist_snippetsopen_pageread_resultsrun_snippetrun_workflow
Write 2 · Create, change, send or run things.
close_pageinteract
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
CRUX_API_KEY
Tools (8)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
close_pageClose a pageCloses a page opened with open_page. Closing a page that is already closed is not an error.
get_cruxGet CrUX field dataread-onlyReturns the p75 of LCP, CLS and INP that real Chrome users had on a URL over the last 28 days, from the Chrome UX Report, with their rating. Falls back to the origin when the URL has no data of its own. Compare it with the lab values of run_snippet: field data is what users get.
interactInteract with an open pageRuns steps on a page opened with open_page, as a person would: click, type, hover, scroll or wait. A click or a key press is what the tracking snippets record. A step whose element does not appear within 5 seconds stops the run.
list_snippetsList snippetsread-onlyLists the web performance snippets this server can run, with their category, title and short aliases. Call it to find the name of the snippet to run.
open_pageOpen a pageread-onlyOpens the URL in a headless Chromium that stays open between calls, and installs the snippets that record interactions (INP, Interactions, Input-Latency-Breakdown, and the other tracking snippets in list_snippets). Returns a sessionId for interact, read_results and close_page. At most 3 pages are open at a time, and a page closes after 10 minutes without use.
read_resultsRead the tracking snippetsread-onlyReturns what the tracking snippets installed by open_page have recorded on the page so far, as the objects they return. A snippet with nothing recorded yet answers with status error, which is a result, not a failure.
run_snippetRun a snippetread-onlyOpens the URL in a headless Chromium, runs one web performance snippet on the loaded page and returns the object the snippet returns, as defined in snippets/SCHEMA.md. Use list_snippets for the names. The snippets that record interactions (INP, Interactions, Input-Latency-Breakdown) run on a page opened with open_page instead.
run_workflowRun a workflowread-onlyOpens the URL in a headless Chromium and runs a workflow: a sequence of snippets plus the follow-ups its decision tree adds from the results (for example LCP-Subparts when LCP is over 2.5 s, with the reason). core-web-vitals: LCP and CLS. audit: render-blocking resources, resource hints, critical CSS, TTFB, scripts, images and more. loading: TTFB, FCP, render-blocking, scripts and fonts. interaction: long tasks, animation frames, scroll and layout shifts while it scrolls the page.
Compare and alternatives
Featured in
Signals
- Stars
- 1,454
- Forks
- 90
- Open issues
- 2
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 25, 2026 (3 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.nucliweb/webperf-snippets- Version
- 1.5.0
- Auth
- API key
- Packages
- npm webperf-snippets
- License
- MIT
- Repository
- github.com/nucliweb/webperf-snippets
- Website
- webperf-snippets.net
- First seen
- Oct 24, 2026
- Last checked
- Oct 26, 2026
More from nucliweb
Cite this page
WebPerf Snippets MCP server. Agent Mart. https://agentmart.dev/connectors/nucliweb-webperf-snippets (last updated 2026-10-26)