Skip to main content
Glama
vigneshshanmugam

web-perf-mcp

web-perf-mcp

MCP Server that audits the web page for finding the bottlenecks and CPU profiling using Lighthouse and Puppeteer.

Features

  • CPU Profiling: Capture CPU profiling using devtools protocol and generate flamegraphs.

  • Source Map Resolution: Map minified code back to original source files and lines.

  • Stack Trace Generation: Generate stack trace for hot functions.

  • Optimization Recommendations: Provide recommendations to optimize the code.

How to use

Add the MCP Server - Example Windsurf Config

{
  "mcpServers": {
    "web-perf-mcp": {
      "command": "npx",
      "args": ["web-perf-mcp"]
    }
  }
}

Related MCP server: Puppeteer Debugger MCP Server

Available Tools

run_audit

Run a performance audit with CPU profiling on a web page using Lighthouse and Puppeteer

Parameters

  • url: URL to audit

  • device: Device type for emulation (desktop|mobile)

  • profile: Enable CPU profiling (default: false)

  • headless: Run in headless mode (default: true)

analyze_data

Analyze CPU profile and/or trace events data to generate performance insights and recommendations

Parameters

  • cpuProfilePath: Absolute path to the CPU profile JSON file (required for CPU analysis)

  • traceEventsPath: Absolute path to the trace events JSON file.

Usage as CLI

npx web-perf-mcp

npm i -g web-perf-mcp

Run audit and analyze profile

// run Audit for a website
npx web-perf-mcp audit --url https://example.com --profile

// analyze CPU profile and provide recommendations
npx web-perf-mcp analyze --profile path/to/profile
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    An MCP server based on Puppeteer and Chrome DevTools Protocol for advanced browser debugging, performance analysis, and memory detection. It enables users to inspect DOM elements, monitor console errors, capture screenshots, and perform heap snapshot analysis through persistent browser connections.
    10
    23
    1
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    An MCP server that wraps the Google PageSpeed Insights API to analyse web performance, providing tools for scores, Core Web Vitals, opportunities, diagnostics, and batch analysis.

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vigneshshanmugam/web-perf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server