Back to Browse

Pagespeed Insights Bulk Audit MCP Server

Developer ToolsLow Risk9.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

Bulk PageSpeed Insights audits and Core Web Vitals on your own Google API key

About

Bulk PageSpeed Insights audits and Core Web Vitals on your own Google API key

Security Report

9.3
Low Risk9.3Low Risk

Valid MCP server (2 strong, 3 medium validity signals). 1 known CVE in dependencies (0 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (197/197 approved).

7 files analyzed · 2 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Apify API token from https://console.apify.com/account/integrationsRequired

Environment variable: APIFY_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp-pagespeed-insights-bulk-audit": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-pagespeed-insights-bulk-audit@1.0.2"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

PageSpeed Insights Bulk Audit MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs PageSpeed Insights Bulk Audit actor on Apify. Lighthouse scores and Core Web Vitals for many URLs, on your own Google API key.

What's Inside

What it does

Give a list of URLs and your own free Google API key. The actor calls the official Google PageSpeed Insights API v5 for each URL on mobile, desktop, or both, and returns one flat row per URL and device: Lighthouse category scores, lab metrics, Chrome UX Report field data with a Core Web Vitals pass or fail, and the top 5 opportunities by estimated time saved. Calls run 4 at a time by default.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-pagespeed-insights-bulk-audit": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-pagespeed-insights-bulk-audit"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The audit_pagespeed tool appears.

Prerequisites

Example prompts

  • "Run PageSpeed Insights on these 20 landing pages on mobile and tell me which fail Core Web Vitals."
  • "Compare the mobile and desktop performance scores of stripe.com and adyen.com."
  • "Which of these prospect websites load slowest on mobile?"

Tool

audit_pagespeed. One tool. Example arguments:

{
  "urls": [
    "https://apify.com"
  ],
  "strategy": "both"
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
api_keystringnoYour own Google API key with the PageSpeed Insights API enabled. Make one free in Google Cloud Console: APIs and Services, Credentials, Create credentials, API key, then enable PageSpeed Insights API. Google's free quota is 25,000 audits a day. The key is stored encrypted by Apify, sent only to googleapis.com, and never written to a row or a log. With no key the run writes one free row and audits nothing.
urlsarraynoPages to audit, one per line, for example https://www.example.com/pricing. A domain with no scheme gets https:// added. Repeats are audited once. In Clay, put the column inside a one item list.
strategystringnomobile (default), desktop, or both. both audits each URL twice and returns two rows.
categoriesarraynoWhich Lighthouse category scores to return: performance, accessibility, best-practices, seo. Default all four. Lab metrics and field data come with performance.
localestringnoLanguage for audit titles, for example en (default), de, or fr.
include_opportunitiesbooleannoyes (default) or no. With yes, each row lists up to 5 Lighthouse opportunities with the largest estimated time saving.
max_urlsnumbernoAudit at most this many URLs per run, after repeats are removed. Default 100, up to 5,000.
concurrencynumbernoHow many audits run at the same time, 1 to 8. Default 4. A per minute quota answer makes the actor wait 61 seconds and try again.
max_charge_usdstringnoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
audit-row, one URL audited on one device$0.009$0.00855$0.0081$0.00765
apify-actor-start, per run start$0.006$0.006$0.006$0.006

A missing or refused key, a quota stop, a page Lighthouse could not load, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/pagespeed-insights-bulk-audit

License

MIT. See LICENSE.

Reviews

No reviews yet

Be the first to review this server!