# Scalene

> Use this tool when you need to analyze and optimize the performance of Python code, identify memory leaks and hotspots, and compare profiling results to track optimization progress. It takes Python scripts and code snippets as input and provides multi-modal analysis and profile comparisons as output. Ideal for use cases where performance bottlenecks and memory issues need to be detected and resolved in Python projects.

Canonical page: https://skillsregistry.net/skills/ptmorris05-scalene  
JSON: https://api.skillsregistry.net/v1/skills/ptmorris05-scalene

## Description

Wraps the Scalene profiler to enable performance analysis of Python code through a FastMCP server. Offers tools for project discovery, unified profiling of scripts and code snippets, multi-modal analysis including hotspot detection and memory leak identification, and profile comparison for tracking optimization results.

## Trust

- **Trust score (0–1):** 0.76
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/ptmorris05-scalene)
- **Repository:** <https://github.com/ptmorris05/scalene-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ptmorris05-scalene"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ptmorris05-scalene` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ptmorris05-scalene/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
