MCP server · Audited from source
pagespeed-insights-mcp
by ruslanlap/pagespeed-insights-mcpApache-2.0 licenceAudited 7 Oct 2026 · source 9c55776b143e
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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-mcpat 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
console.log(`API Key: ${apiKey.substring(0, 10)}...`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWSupply chainsupply.unpinned · package.json
@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
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
assets/3.png
- Why
- 1380746 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/assets/3.png
docs/assets/3.png
- Why
- 1380746 bytes not read
- Fix
- —
Tools it exposes
6 declared in source · 1 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.
| Tool | Risk | What it does |
|---|---|---|
pagespeed_clear_cache | destructive | Clear local cache |
pagespeed_analyze_batch | read | Batch analysis |
pagespeed_analyze_page | read | Concise Lighthouse health check |
pagespeed_compare_pages | read | Side-by-side page comparison |
pagespeed_diagnose_page | read | Focused render-blocking diagnosis |
pagespeed_get_field_data | read | Page-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
- !CAUTION B 89 / 100
First audit ·
9c55776b143e
README badge
For maintainers · updates on every re-audit
[](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?
What tools does pagespeed-insights-mcp expose?
Is pagespeed-insights-mcp safe to connect to an agent?
What credentials does pagespeed-insights-mcp need?
How does pagespeed-insights-mcp run?
How current is this page?
Sources
- ruslanlap/pagespeed-insights-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 9c55776b143eObserved · 7 Oct 2026
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.
- What is the pagespeed-insights-mcp MCP server?
- What tools does pagespeed-insights-mcp expose?
- Is pagespeed-insights-mcp safe to connect to an agent?