Perfetto
Analyzes Perfetto traces with large language models, allowing users to query `.pftrace` files using PerfettoSQL.
Perfetto is an MCP (Model Context Protocol) server designed to bridge the gap between complex Perfetto trace data and the intuitive querying capabilities of large language models. It enables users to directly query `.perfetto-trace` or `.pftrace` files using PerfettoSQL, leveraging LLMs like Claude Code or other MCP clients. The tool streamlines the setup by automatically downloading `trace_processor_shell` and provides specialized tools for common Chrome trace analyses, making performance debugging more accessible through natural language interactions, especially with agentic LLM clients.
主な機能
01Automatically downloads and manages `trace_processor_shell`
02Executes PerfettoSQL queries directly from an LLM client
03Offers specialized tools for analyzing Chrome trace performance metrics (jank, page load, startup)
04Supports cross-platform installation on macOS, Linux, and Windows
05Integrates with LLMs (e.g., Claude Code, Codex) for trace analysis
066 GitHub stars
ユースケース
01Diagnosing performance bottlenecks in Chrome browser traces using natural language prompts
02Automating performance analysis workflows by integrating with agentic LLM clients for multi-turn tool calls
03Exploring and querying complex Perfetto trace data without direct manual `trace_processor_shell` interaction