Skip to main content
Glama

Lighthouse MCP

get_core_web_vitals

Measure Core Web Vitals metrics (LCP, FID, CLS) for any website to assess user experience. Specify URL, device, and thresholds to evaluate performance and optimize page speed.

Instructions

Get Core Web Vitals metrics for a website

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice to emulate (default: desktop)desktop
includeDetailsNoInclude detailed metrics and recommendations
thresholdNo
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": { "additionalProperties": false, "properties": { "cls": { "description": "Cumulative Layout Shift threshold", "minimum": 0, "type": "number" }, "fid": { "description": "First Input Delay threshold in milliseconds", "minimum": 0, "type": "number" }, "lcp": { "description": "Largest Contentful Paint threshold in seconds", "minimum": 0, "type": "number" } }, "type": "object" }, "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