Skip to main content
Glama

Lighthouse MCP

analyze_resources

Audit and optimize website resources like images, JS, CSS, and fonts to improve performance. Specify URL, device, resource types, and size thresholds for precise analysis.

Instructions

Analyze website resources (images, JS, CSS, fonts) for optimization opportunities

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice to emulate (default: desktop)desktop
minSizeNoMinimum resource size in KB to include
resourceTypesNoTypes of resources to analyze
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" }, "minSize": { "description": "Minimum resource size in KB to include", "minimum": 0, "type": "number" }, "resourceTypes": { "description": "Types of resources to analyze", "items": { "enum": [ "images", "javascript", "css", "fonts", "other" ], "type": "string" }, "type": "array" }, "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