Playwright-Lighthouse
Summary
Playwright-Lighthouse MCP server enables Claude to analyze website performance by combining Playwright's browser automation with Lighthouse's auditing capabilities. Built with TypeScript, it offers two main tools: 'run-lighthouse' for comprehensive performance analysis across multiple categories (performance, accessibility, SEO, etc.) with detailed improvement recommendations, and 'take-screenshot' for capturing full or partial webpage images. The server automatically handles browser sessions, generates performance reports with color-coded scores, and saves outputs to local directories, making it valuable for web developers seeking to identify and address performance bottlenecks directly within Claude conversations.
Available Actions(2)
run-lighthouse
Runs a Lighthouse performance analysis on the currently open page. Parameters: url (string), categories (array of strings, default: ["performance"]), maxItems (number, default: 3, max: 5)
take-screenshot
Takes a screenshot of the currently open page. Parameters: url (string), fullPage (boolean, default: false)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论