Atlas / MCP servers / antarikshc / Perfetto

PerfettoSAFE

mcp/antarikshc/perfetto

This is a Model Context Protocol (MCP) server that gets answers from your Perfetto Traces. It turns natural‐language prompts into focused Perfetto analyses.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
12 11r · 1w · 0d
Transport
stdio
License
Apache-2.0
Stars
220
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Turn natural language into powerful Perfetto trace analysis

A Model Context Protocol (MCP) server that transforms natural-language prompts into focused Perfetto analyses. Quickly explain jank, diagnose ANRs, spot CPU hot threads, uncover lock contention, and find memory leaks – all without writing SQL.

✨ Features

  • Natural Language → SQL: Ask questions in plain English, get precise Perfetto queries
  • ANR Detection: Automatically identify and analyze Application Not Responding events
  • Performance Analysis: CPU profiling, frame jank detection, memory leak detection
  • Thread Contention: Find synchronization bottlenecks and lock contention
  • Binder Profiling: Analyze IPC performance and slow system interactions

📋 Prerequisites

  • Python 3.13+ (macOS/Homebrew):
brew install [email protected]
  • uv (recommended):
brew install uv

🚀 Getting Started

Cursor

[](https://cursor.com/install-mcp?name=perfetto-mcp&config=eyJjb21tYW5kIjoidXZ4IHBlcmZldHRvLW1jcCJ9)

Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
"mcpServers": {
"perfetto-mcp": {
"command": "uvx",
"args": ["perfetto-mcp"]
}
}
}

Claude Code

Run this command. See Claude Code MCP docs for more info.

# Add to user scope
claude mcp add perfetto-mcp --scope user -- uvx perfetto-mcp

Or edit ~/claude.json (macOS) or %APPDATA%\Claude\claude.json (Windows):

{
"mcpServers": {
"perfetto-mcp": {
"command": "uvx",
"args": ["perfetto-mcp"]
}
}
}

VS Code

Read from source at commit d0a5f506c09eOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add perfetto-mcp -- uvx perfetto-mcp
claude-desktop
{
  "mcpServers": {
    "perfetto-mcp": {
      "command": "uvx",
      "args": [
        "perfetto-mcp"
      ]
    }
  }
}
03

Exposed tools (12)

11 read · 1 write · 0 destructive.

ToolRiskDescription
anr_root_cause_analyzerread
binder_transaction_profilerread
cpu_utilization_profilerread
detect_anrsread
detect_jank_framesread
execute_sql_querywrite
find_slicesread
frame_performance_summaryread
heap_dominator_tree_analyzerread
main_thread_hotspot_slicesread
memory_leak_detectorread
thread_contention_analyzerread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

INFOInventory / provenance · inv.oversize · CWE-1104
static/Perfetto-mcp-showcase.gif
static/Perfetto-mcp-showcase.gif
Why it matters. 19426823 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha d0a5f506c09efull audit observations/trust-audit/mcp-server/antarikshc__perfetto.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06d0a5f506c09eSAFEB89first audit
06

Questions

What is the Perfetto MCP server?

This is a Model Context Protocol (MCP) server that gets answers from your Perfetto Traces. It turns natural‐language prompts into focused Perfetto analyses.

What tools does Perfetto expose?

12 in total: 11 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Perfetto safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Perfetto need?

No credential environment variables were found in its source, so it appears to need none.

How does Perfetto run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as perfetto-mcp.

How current is this page?

The grade is for one exact copy of the source (d0a5f506c09e), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement