About io.github.rog0x/perf
io.github.rog0x/perf is an MCP server published by rog0x in the Developer Tools category: benchmark, memory, Big O analysis for AI agents.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
claude mcp add io-github-rog0x-perf -- npx -y @rog0x/mcp-perf-toolsnpx -y @rog0x/mcp-perf-toolsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (5)
benchmarkBenchmark JavaScript code execution. Run a snippet N times and measure min/max/avg/p95/p99 time and ops/sec. Optionally compare two implementations.
Parameters not published.
big_o_estimateEstimate Big O complexity from empirical data. Provide input sizes and corresponding execution times to get the best-fit complexity class (O(1), O(log n), O(n), O(n log n), O(n^2), O(n^3), O(2^n)) with confidence scores and growth curve.
Parameters not published.
bundle_analyzeAnalyze a JavaScript bundle file: raw size, gzip estimate, detected modules, largest modules, and tree-shaking opportunities.
Parameters not published.
load_testRun a simple HTTP load test: send N concurrent requests to a URL, measure response times, error rate, throughput (req/sec), and percentile latencies.
Parameters not published.
memory_analyzeAnalyze Node.js memory usage: heap used/total, RSS, external, array buffers. Tracks snapshots over time and detects potential memory leaks via growth trend analysis.
Parameters not published.
Ask AI
Ask AI about io.github.rog0x/perf
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
mcp-perf-tools
Performance analysis tools for AI agents, exposed via the Model Context Protocol (MCP).
Tools
benchmark
Benchmark JavaScript code execution. Run a snippet N times and measure min/max/avg/median/p95/p99 latency and operations per second. Optionally compare two implementations side by side.
Parameters:
code(string) — JavaScript code to benchmarkiterations(number, default 1000) — Number of iterationscompareCode(string, optional) — Second implementation to comparelabelA/labelB(string) — Labels for comparison output
memory_analyze
Analyze Node.js memory usage: heap used/total, RSS, external memory, and array buffers. Takes snapshots over time and uses linear regression to detect trends and potential memory leaks.
Parameters:
action—"snapshot"|"analyze"|"clear"
big_o_estimate
Estimate Big O complexity from empirical timing data. Fits measurements against O(1), O(log n), O(n), O(n log n), O(n^2), O(n^3), and O(2^n) using R-squared scoring. Includes an ASCII growth curve visualization.
Parameters:
inputSizes(number[]) — Array of input sizesexecutionTimesMs(number[]) — Corresponding execution times in ms
bundle_analyze
Analyze a JavaScript bundle file: raw size, gzip compressed estimate, detected module count, largest modules, and tree-shaking opportunities (side effects, duplicates).
Parameters:
filePath(string) — Absolute path to the bundle file
load_test
Simple HTTP load tester. Sends N requests at a given concurrency level and reports response time percentiles, error rate, throughput (req/sec), and status code distribution.
Parameters:
url(string) — Target URLtotalRequests(number, default 100) — Total requests to sendconcurrency(number, default 10) — Concurrent request countmethod(string, default "GET") — HTTP methodheaders(object, optional) — HTTP headersbody(string, optional) — Request bodytimeoutMs(number, default 30000) — Request timeout
Setup
npm install
npm run build
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"perf-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-perf-tools/dist/index.js"]
}
}
}
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.