Skip to main content
Glama

Lighthouse MCP

get_lcp_opportunities

Identify LCP (Largest Contentful Paint) optimization opportunities for websites by analyzing URLs, specifying device type, and setting performance thresholds. Provides actionable insights to improve page load speed.

Instructions

Get LCP optimization opportunities for a website

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice to emulate (default: desktop)desktop
includeDetailsNoInclude detailed metrics and recommendations
thresholdNoLCP threshold in seconds (default: 2.5)
urlYesURL to audit

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "device": { "default": "desktop", "description": "Device to emulate (default: desktop)", "enum": [ "desktop", "mobile" ], "type": "string" }, "includeDetails": { "default": false, "description": "Include detailed metrics and recommendations", "type": "boolean" }, "threshold": { "description": "LCP threshold in seconds (default: 2.5)", "minimum": 0, "type": "number" }, "url": { "description": "URL to audit", "type": "string" } }, "required": [ "url" ], "type": "object" }

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/danielsogl/lighthouse-mcp-server'

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