find_unused_javascript
Find unused JavaScript code
How to use it
find_unused_javascript is exposed by the Lighthouse MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the find_unused_javascript tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Lighthouse MCP Server
npx @danielsogl/lighthouse-mcp@latest --chrome-path /usr/bin/google-chromeOther tools in Lighthouse MCP Server (11)
Analyze all website resources
Check against performance budgets
Check Progressive Web App readiness
Compare performance across devices
Get accessibility score and recommendations
Get Core Web Vitals metrics
Find LCP optimization opportunities
Get overall performance score
Perform comprehensive security audit
Get SEO analysis and recommendations
Run a comprehensive Lighthouse audit