Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

uniprof

Lets your AI agent profile the CPU use of Python, Node.js, Ruby, PHP, Java, .NET and native apps and find hotspots.

409 stars on GitHubby indragiekLicense MITUpdated 9 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add uniprof -- npx -y uniprof mcp run

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Profile python app.py and tell me where the time goes.
Record a profile of my Node server and show me the hotspots.

What it is

uniprof is a CPU profiler for humans and AI agents. It picks the right profiler for the command you run, records the data and turns the different output formats into one format. It then runs statistical analysis to find hotspots, without changing your code.

What it can do

  • uniprof record: record a profile of a program
  • uniprof analyze: find hotspots in a saved profile
  • uniprof visualize: open a flamegraph in the browser
  • uniprof bootstrap: check the environment
  • uniprof mcp install: add the MCP server to a client
  • Profiles Python, Node.js, Ruby, PHP, JVM, .NET, BEAM and native programs

When to use

  • β€ΊWhen your app is slow and you want your agent to find the hot functions
  • β€ΊWhen you want to profile code in several languages with one command
  • β€ΊWhen you want a flamegraph to look at what takes the time

What you need

macOS or Linux with Docker, and Node.js to install it with npm install -g uniprof. Windows is not supported directly, but WSL2 works for language runtimes.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The uniprof source is MIT licensed. The Docker images bundle third-party tools under their own licenses.

Do I need to change my code?

No. The README says you can profile any application without code changes or added dependencies.

Does it need Docker?

By default it uses Docker containers for each runtime. You can use --mode host if you have the profilers installed.

Which clients can install the MCP server automatically?

amp, claudecode, codex, cursor, gemini, vscode and zed. Others can use npx -y uniprof mcp run over stdio.

Does native code need debug info?

Yes. Native profiling needs debug symbols, and frame pointers improve the call stacks.

Does it work on Windows?

Not on a Windows host. Use WSL2 for language runtimes.

If it does not work

  • β€ΊCheck that Docker is running, or force host profilers with --mode host.
  • β€ΊRun uniprof bootstrap to check your environment.
  • β€ΊCompile native programs with debug symbols and frame pointers to get readable results.

5 new skills a week. 1 minute to read.