MCPFast / Tools / MCP Server for Perfetto Trace Analysis with LLMs

GitHubMCP★★★★☆

MCP Server for Perfetto Trace Analysis with LLMs

An open-source MCP server enables querying Perfetto traces (.pftrace) in PerfettoSQL using LLMs like Claude Code.

View on GitHub

MCP Server for Perfetto Trace Analysis with LLMs

This MCP server provides a novel approach to analyzing Perfetto traces by integrating Large Language Models (LLMs) with PerfettoSQL. Developers can now leverage the power of AI to query and interpret complex performance data directly from their .pftrace files. This tool bridges the gap between raw trace data and actionable insights, making performance debugging more efficient and accessible.

What it Does

The MCP server acts as an intermediary, allowing you to send natural language queries to an LLM. The LLM then translates these queries into PerfettoSQL statements, which are executed against your Perfetto trace files. The results are then returned, often in a summarized or interpreted format by the LLM, providing direct answers to your performance questions. This eliminates the need for deep PerfettoSQL expertise for many common analysis tasks.

Key Features

Who it's For

This tool is primarily for developers and AI builders who work with performance-critical applications and utilize Perfetto for tracing. If you frequently analyze performance bottlenecks, optimize application behavior, or need to understand complex execution flows, this MCP server can significantly accelerate your workflow. It's particularly beneficial for those who want to leverage AI's interpretive capabilities without becoming PerfettoSQL experts.