Skip to main content
MCP server CX Codex

uniprof — Claude Code MCP server: what it does, how to install

Profiles CPU usage across runtimes without code modifications or extra packages. Gives AI assistants structured data on execution bottlenecks.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add uniprof -- npx -y uniprof
Open on GitHub

What uniprof does

The tool wraps specialized profilers for runtimes like Python 3.7+ (py-spy), Node.js 14+ (0x), and Java 8+ (async-profiler), alongside Ruby, PHP, and compiled binaries. It selects the target profiler based on command arguments, aggregates varied raw outputs into a unified model, and calculates hotspots.

Isolation matters. uniprof defaults to isolated Docker environments to sidestep complex permission setups on local machines. Developers can pass --mode host if the profilers exist locally. Container execution fails on macOS Mach-O binaries, because Apple Instruments requires the native host.

Compiled applications need DWARF symbols and frame pointers to resolve function names. Windows host environments are excluded, though WSL2 operates without native binary profiling.

What it helps with

  • profile CPU consumption without editing project files or dependencies
  • identify performance hotspots across Python, Node.js, and JVM runtimes
  • normalize varied profiler outputs into a single structured report
  • record execution traces for flamegraph inspection

Example prompts for the agent

  • Profile the execution of python app.py and summarize the slowest methods
  • Record a CPU profile for node server.js and write it to profile.json
  • Inspect profile.json to pinpoint where the process spends execution time

How to install uniprof

Platform CLI

claude mcp add uniprof -- npx -y uniprof

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about uniprof

How to install uniprof in Claude Code?

Run claude mcp add uniprof -- npx -y uniprof. If the CLI package is installed globally, you can also execute uniprof mcp install claudecode.

What does uniprof do?

It allows agents to inspect CPU usage across multiple programming languages without modifying source code. The server runs the appropriate profiling binary and extracts actionable execution hotspots.

Is Docker required to run uniprof?

By default, Docker is preferred for running language profilers inside isolated containers. You can bypass containers by passing --mode host when your host machine already contains the necessary profiling utilities.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor