Perfetto MCP
Supports UIby antarikshc
Transform natural-language prompts into focused Perfetto trace analyses for Android and system performance debugging.
What it does
Perfetto MCP bridges the gap between complex Perfetto trace files and AI-driven analysis. It allows developers to query system traces using natural language, automatically converting prompts into precise PerfettoSQL queries to diagnose ANRs, jank, and memory leaks without manual SQL authoring.
Tools
find_slices: Survey slice names and locate hot paths in the trace.execute_sql_query: Run custom PerfettoSQL for advanced, specific analysis.detect_anrs: Identify Application Not Responding events with severity classification.anr_root_cause_analyzer: Deep-dive into ANR causes with ranked likelihood.cpu_utilization_profiler: Profile thread-level CPU usage and scheduling.main_thread_hotspot_slices: Identify the longest-running operations on the main thread.detect_jank_frames: Find frames that missed their deadlines (e.g., >16.67ms).frame_performance_summary: Generate overall frame health metrics and jank rates.thread_contention_analyzer: Locate synchronization bottlenecks and lock contention.binder_transaction_profiler: Analyze Binder IPC performance and slow interactions.memory_leak_detector: Identify sustained memory growth patterns.heap_dominator_tree_analyzer: Find memory-hogging classes via dominator trees.
Installation
To use with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"perfetto-mcp": {
"command": "uvx",
"args": ["perfetto-mcp"]
}
}
}
Supported hosts
- claude
- cursor
- vscode-copilot
- codex
Quick install
uvx perfetto-mcpInformation
- Pricing
- free
- Published







