Perfetto Mcp Rs banner
0xZOne 0xZOne

Perfetto Mcp Rs

Development community

Description

Perfetto trace analysis via MCP — PerfettoSQL queries plus dedicated Chrome tools for scroll jank, page loads, and main-thread hotspots

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

perfetto-mcp-rs logo

CI Release License

English | 简体中文


perfetto-mcp-rs

An [MCP](https://modelcontextprotocol.io) server that lets LLMs analyze [Perfetto](https://perfetto.dev) traces. Point Claude Code (or any MCP client) at a trace file (`.pftrace` / `.perfetto-trace` / `.bin` / … — content-sniffed) and ask in plain language. The server runs PerfettoSQL under the hood, backed by `trace_processor_shell` — downloaded automatically on first run, no manual Perfetto install required.

Dedicated tools ship curated SQL; for custom analysis the agent writes PerfettoSQL — steered toward the right stdlib modules.

Quick start

You drive perfetto-mcp-rs through an MCP client (Claude Code, Claude Desktop, Codex, Cursor, …) — install one first if you don't have it.

**1. Install** — downloads the prebuilt binary and, if Claude Code and/or Codex are present, registers the MCP server automatically:

# Linux / macOS / Windows (Git Bash, MSYS2, Cygwin)
curl -fsSL https://raw.githubusercontent.com/tooluse-labs/perfetto-mcp-rs/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/tooluse-labs/perfetto-mc