Skip to main content
Glama

Lighthouse MCP

analyze_resources

Audit website resources (images, JS, CSS, fonts) to identify optimization opportunities, improve performance, and streamline content delivery for specified devices.

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