Skip to main content
Glama
rog0x

mcp-perf-tools

by rog0x

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 benchmark

  • iterations (number, default 1000) — Number of iterations

  • compareCode (string, optional) — Second implementation to compare

  • labelA / 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 sizes

  • executionTimesMs (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 URL

  • totalRequests (number, default 100) — Total requests to send

  • concurrency (number, default 10) — Concurrent request count

  • method (string, default "GET") — HTTP method

  • headers (object, optional) — HTTP headers

  • body (string, optional) — Request body

  • timeoutMs (number, default 30000) — Request timeout

Related MCP server: InstrumentsMCP

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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides AI assistants with advanced frontend debugging capabilities through 36 specialized tools for inspecting React/Vue/Angular/Svelte applications. Uses Playwright browser automation and source map intelligence to analyze components, network requests, bundle optimization, and resolve production errors.
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to profile iOS/macOS apps using Xcode Instruments, automate simulator interactions, and get structured performance data for optimization.
    37
    18
    18
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to analyze code health in TypeScript/JavaScript projects, providing tools to run analysis, start a dashboard, and get summaries.
    6
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Load & browser performance testing — drive MaxoPerf from your AI agent with your API key.

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-perf-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server