JProfiler, the #1 Java profiler
for your AI agentfor Claude Codefor Codexfor Cursorfor OpenCodefor your AI agent
Run this command in PowerShell:
irm https://www.ej-technologies.com/jprofiler/mcp/install.ps1 | iex
Run this command in your terminal:
curl -fsSL https://www.ej-technologies.com/jprofiler/mcp/install.sh | sh
Requires Node.js to be installed. Select your agent and follow the instructions below.
Run this command in Claude Code:
claude mcp add jprofiler -- npx -y @ej-technologies/jprofiler-mcp@latest
If you already have JProfiler installed, you can configure the integration directly from the UI.
Open JProfiler, go to Session → AI Agent Integrations, select your agent, and JProfiler will configure it automatically.
What your agent can do with JProfiler
Without runtime data, an agent can only guess at performance problems from the source code. With JProfiler, it measures where time and memory are actually spent and verifies that a fix worked.
Find the real hotspot
Source code review often points to the wrong method. Sampling CPU data, call trees and back traces show your agent where time is actually spent.
Analyze heap dumps without a GUI
Agents cannot open Eclipse MAT or a profiler UI. JProfiler's heap analysis offers queryable views over HPROF dumps: biggest objects, retained sizes, paths to GC roots and instance counts.
Find JDBC and JPA patterns that source review misses
A query that looks harmless in the code can be a problem when it is executed 580 times per refresh cycle. Call counts and aggregated executions from the database probes make per-entry queries, N+1 patterns and redundant checks visible.
Catch the occasionally slow call
Some calls are fast on average, but slow once in a hundred runs. Outlier detection finds methods whose maximum deviates strongly from their average, and exceptional-run recording keeps the slowest invocations individually expandable, so your agent can analyze a single slow execution instead of a merged average.
Prove algorithmic complexity with curve fits
Is this method O(n²) in the payload size? Your agent gets measured (input size, time) points with a curve fit, instead of arguing about Big-O from the source code.
Let the agent write its own probes
When the built-in probes do not cover the problem, the agent defines script probes: lightweight instrumentation that is computed per method invocation and pushed to the running JVM, without changing code, builds or deployments of your application.
... and much more
Agentic development in our blog
A filtered list of all AI agent posts can be viewed directly in the blog.



