Best for
- Android developers analyzing Perfetto traces
- Engineers who want jank, ANR, contention, and memory analysis without writing SQL
- Clients supporting stdio MCP such as Cursor, Claude Code, VS Code, and Codex
A comprehensive Android performance-analysis MCP server that turns natural-language prompts into 12 specialized Perfetto tools covering ANR, CPU, frame performance, contention, Binder IPC, and memory analysis. Stdio transport only; requires Python 3.13+ and uv; community-maintained under Apache-2.0, not official.
Strongest · Documentation 15/20 Weakest · Reliability 8/20
Static review · not runListed 2026-09-07
Read the FMRS scoring method →Runtime:Python 3.13+
PERFETTO_MCP_TRACE_PROCESSOR_BIN_PATH
Optional absolute path to a local trace_processor_shell binary; set only if your network blocks downloads, otherwise leave unset.
Requires Python 3.13+ and uv (on macOS: brew install [email protected], brew install uv). Add the MCP server to Cursor, Claude Code, VS Code, or Codex with command 'uvx perfetto-mcp'. Alternatively pip3 install perfetto-mcp and run python3 -m perfetto_mcp. If your network blocks downloads, set PERFETTO_MCP_TRACE_PROCESSOR_BIN_PATH to the absolute path of a local trace_processor_shell binary. For development, run uv sync and uv run mcp dev src/perfetto_mcp/dev.py inside the perfetto-mcp-server directory.
{"mcpServers":{"perfetto-mcp":{"command":"uvx","args":["perfetto-mcp"]}}}
Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"perfetto-mcp": {
"command": "uvx",
"args": [
"perfetto-mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add perfetto-mcp -- uvx perfetto-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
After install, confirm tools like find_slices and detect_anrs appear in your client's tool list; then ask "Use perfetto trace /path/to/trace.perfetto-trace for process com.example.app to detect ANRs" and a structured JSON answer proves the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Perfetto MCP Server is a Model Context Protocol (MCP) server that transforms natural-language prompts into focused Perfetto analyses. It explains jank, diagnoses ANRs, spots CPU hot threads, uncovers lock contention, and finds memory leaks without writing SQL. Every tool requires trace_path (absolute path to a Perfetto trace) and process_name (target process/app name). All tools return structured JSON with summary, details, and metadata.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 174d14570b62 Data synced 2026-10-19 Read the FMRS scoring method