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 programuniprof analyze: find hotspots in a saved profileuniprof visualize: open a flamegraph in the browseruniprof bootstrap: check the environmentuniprof 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
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, memory snapshots, and CPU profiles to find hidden problems.offensive-deserializationHelps your agent test for insecure deserialization in Java, PHP, .NET, Python, Node.js and Ruby during an authorized assessment.loopx-performance-diagnosisTeaches your agent to find why a program is slow or uses too much CPU, memory or disk, using controlled measurements and profiling tools.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.