PERFORMANCE TRACE ANALYSIS / tooluse-labs
Perfetto MCP
Lets an assistant load local Perfetto traces and investigate them with dedicated trace tools or custom PerfettoSQL.
“MCP server for Perfetto trace analysis”
01 / THE REASONING
Why this made the selection.
- A focused local trace-analysis tool provides an alternative to sending raw trace files to a hosted analysis service.
- Dedicated Chrome and trace-table tools can reduce the need to invent SQL for common investigations.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- README.md (installation, capability and permission sections)
- Cargo.toml
- src/main.rs
- src/server/mod.rs
- LICENSE-APACHE
Our findings
- The default executable starts stdio MCP and routes logs to stderr; install/uninstall helpers separately change client registration.
- SQL tools operate against in-memory trace sessions; multi-trace work should retain and pass the returned trace IDs.
- Cargo declares MIT OR Apache-2.0, while inspected source headers name Apache-2.0; the Apache licence is the conservative applicable path recorded here.
Not established by this review
- Server startup, authentication and tool execution were not tested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Connect a server deliberately.
DOCUMENTED COMMAND
cargo install --locked perfetto-mcp-rs Copying does not execute this command. It may retrieve a newer version than the reviewed source.
- Install the binary and configure it as a local stdio command using the official guide.
- Choose the trace file deliberately; set PERFETTO_TP_PATH if supplying an existing trace processor instead of allowing a download.
Before you start
- A Rust toolchain for the source-build command, local trace files and a compatible trace processor.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Official documentation ↗Checked
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/README.md
Supports: summary, whySelected, bestFor, limitations, install, access, compatibility, transports
- Applicable source licence ↗Checked
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/LICENSE-APACHE
Supports: license
- Implementation: Cargo.toml ↗Checked
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/Cargo.toml
Supports: language, review
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/src/main.rs
Supports: language, review
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/src/server/mod.rs
Supports: language, review
https://github.com/tooluse-labs/perfetto-mcp-rs/blob/86c1ed3ff16d80d8af895be1784db4ff55db8e55/LICENSE-MIT
Supports: review
https://crates.io/api/v1/crates/perfetto-mcp-rs
Supports: install, repository, review