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

MCP server · Audited from source

Lighthouse MCP server

by priyankark/lighthouse-mcpMIT licenceAudited 6 Oct 2026 · source 997d37e3e9dd

npm lighthouse-mcp 0.1.17stdio★ 210
!CAUTIONGrade B · 89/100 · 6 Oct 2026 · 997d37e
210GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 2 tools: 1 read, 1 write and 0 destructive. The audit recorded 9 findings (0 critical, 1 high, 1 medium, 7 low). Maintainer's description: Allows AI assistants such as Amp/Cline/Cursor/Claude Code/Codex/GitHub Copilot to use Google's lighthouse tool to measure perf metrics for your webpage. You can then run an agentic loop and get the assistants to optimize those metrics!

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Lighthouse MCP server (priyankark/lighthouse-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/priyankark/lighthouse-1

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score89/100!CAUTION B
0 critical1 high1 medium7 low0 info

9 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

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared3 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
L1 Static sourceSecrets, path traversal, supply chainFAIL 9 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

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

Provenance

  • Repository owner priyankarkUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmlighthouse-mcp at version 0.1.17
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit read997d37e3e9ddThe audit covers exactly this commit, read on 6 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory2 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 (9)

Sorted by severity

HIGHNetwork egressnet.metadata_ip · src/network.ts:25
F-04 Network egressCWE-200 · CWE-319Layer L1
if (['metadata.google.internal', 'metadata.goog'].includes(hostname)) {
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/index.ts:194
F-04 Network egressCWE-200 · CWE-319Layer L1
chromeFlags: ['--headless', `--proxy-server=http://127.0.0.1:${proxy.port}`,
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:9
F-04 Network egressCWE-200 · CWE-319Layer L1
for (const ip of ['10.0.0.1', '172.16.0.1', '192.168.1.1', '169.254.169.254', '::ffff:169.254.169.254', 'fc00::1', 'fe80::1', '0.0.0.0', '100.100.100.200', '224.0.0.1']) assert.equal(isAllowedAddress(
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:13
F-04 Network egressCWE-200 · CWE-319Layer L1
await assert.rejects(resolveTarget('metadata.google.internal.'));
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:29
F-04 Network egressCWE-200 · CWE-319Layer L1
if (req.url === '/redirect') { res.writeHead(302, { location: 'http://169.254.169.254/latest/meta-data' }); res.end(); }
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:42
F-04 Network egressCWE-200 · CWE-319Layer L1
const socket = net.connect(proxy.port, '127.0.0.1', () => socket.write('CONNECT 169.254.169.254:443 HTTP/1.1\r\nHost: 169.254.169.254:443\r\n\r\n'));
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · test/network.test.mjs:29
F-04 Network egressCWE-200 · CWE-319Layer L1
if (req.url === '/redirect') { res.writeHead(302, { location: 'http://169.254.169.254/latest/meta-data' }); res.end(); }
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/smoke.mjs:22
F-04 Network egressCWE-200 · CWE-319Layer L1
const blocked = await client.callTool({ name: 'run_audit', arguments: { url: 'http://169.254.169.254/' } });
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, chrome-launcher, ipaddr.js, lighthouse, @types/node, typescript
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

2 declared in source · 0 destructive

1 read1 write0 destructive
ToolRiskWhat it does
run_auditwriteRun a Lighthouse audit on a URL
get_performance_scorereadGet just the performance score for a URL

Install

Package version 0.1.17 · audited commit 997d37e

Read the findings first. The most severe is Network egress (high) at src/network.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.17. The audit covers commit 997d37e only.

claude mcp add lighthouse-mcp -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.17); the audit covers commit 997d37e3e9dd. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 89 / 100

    First audit · 997d37e3e9dd

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/priyankark/lighthouse-1/badge.svg)](https://modelsatlas.com/mcp/priyankark/lighthouse-1/)

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 Lighthouse MCP server

What is the Lighthouse MCP server?
Allows AI assistants such as Amp/Cline/Cursor/Claude Code/Codex/GitHub Copilot to use Google's lighthouse tool to measure perf metrics for your webpage. You can then run an agentic loop and get the assistants to optimize those metrics!
What tools does Lighthouse expose?
2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Lighthouse safe to connect to an agent?
With care. The audit graded it B (89/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Lighthouse need?
No credential environment variables were found in its source, so it appears to need none.
How does Lighthouse run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as lighthouse-mcp at 0.1.17.
How current is this page?
The grade is for one exact copy of the source (997d37e3e9dd), read on 2026-10-06. The repository is watched and re-audited when it changes.

Sources

  • priyankark/lighthouse-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 997d37e3e9ddObserved · 6 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.