Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

pagespeed-insights-mcp

by ruslanlap/pagespeed-insights-mcpApache-2.0 licenceAudited 7 Oct 2026 · source 9c55776b143e

npm @ruslanlap/pagespeed-insights-mcp 2.0.2stdio★ 68
!CAUTIONGrade B · 89/100 · 7 Oct 2026 · 9c55776
68GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 6 tools: 5 read, 0 write and 1 destructive. The audit recorded 7 findings (0 critical, 0 high, 2 medium, 3 low). Maintainer's description: Six-tool MCP server for Google PageSpeed Insights & Chrome UX Report APIs. Analyze, compare, and optimize web performance directly through Claude, Cursor, or any MCP-compatible AI client.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “pagespeed-insights-mcp (ruslanlap/pagespeed-insights-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/ruslanlap/pagespeed-insights-mcp

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium3 low2 info

7 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner ruslanlapUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@ruslanlap/pagespeed-insights-mcp at version 2.0.2
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push1 day agoActivity of the repository when we read it.
  • Source commit read9c55776b143eThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory6 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (7)

Sorted by severity

MEDIUMInformation disclosuredisclose.log_secret · scripts/test-tools.js:26
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`API Key: ${apiKey.substring(0, 10)}...`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
pagespeed_clear_cache
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .releaserc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.releaserc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, p-limit, p-retry, pino, pino-pretty, zod, @semantic-release/changelog, @semantic-release/git
Why
21 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · README.md:246
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/ruslanlap/pagespeed-insights-mcp/master/scripts/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
INFOInventory / provenanceinv.oversize · assets/3.png
F-13 Inventory / provenanceCWE-1104Layer L0
assets/3.png
Why
1380746 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · docs/assets/3.png
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/3.png
Why
1380746 bytes not read
Fix
—

Tools it exposes

6 declared in source · 1 destructive

5 read0 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
pagespeed_clear_cachedestructiveClear local cache
pagespeed_analyze_batchreadBatch analysis
pagespeed_analyze_pagereadConcise Lighthouse health check
pagespeed_compare_pagesreadSide-by-side page comparison
pagespeed_diagnose_pagereadFocused render-blocking diagnosis
pagespeed_get_field_datareadPage-level CrUX field data

Install

Package version 2.0.2 · audited commit 9c55776

Read the findings first. The most severe is Information disclosure (medium) at scripts/test-tools.js.

claude mcp add pagespeed-insights-mcp --env GOOGLE_API_KEY=${GOOGLE_API_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (2.0.2); the audit covers commit 9c55776b143e. Transport: stdio. Reads this environment variable: GOOGLE_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · 9c55776b143e

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/ruslanlap/pagespeed-insights-mcp/badge.svg)](https://modelsatlas.com/mcp/ruslanlap/pagespeed-insights-mcp/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about pagespeed-insights-mcp

What is the pagespeed-insights-mcp MCP server?
Six-tool MCP server for Google PageSpeed Insights & Chrome UX Report APIs. Analyze, compare, and optimize web performance directly through Claude, Cursor, or any MCP-compatible AI client.
What tools does pagespeed-insights-mcp expose?
6 in total: 5 read-only, 0 that write, and 1 that can delete or overwrite (pagespeed_clear_cache). Every one is listed on this page with its risk.
Is pagespeed-insights-mcp safe to connect to an agent?
With care. The audit graded it B (89/100) and found 7 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does pagespeed-insights-mcp need?
It reads GOOGLE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does pagespeed-insights-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @ruslanlap/pagespeed-insights-mcp at 2.0.2.
How current is this page?
The grade is for one exact copy of the source (9c55776b143e), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.