MCP.Market

Perfonext Build MCP server

by souvikdu·io.github.souvikdu/perfonext-build-mcp·v0.6.2

MCP server for Next.js build stats, chunk attribution, and bundle optimization advice.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

0 stars36 downloads/wk

Reviews

Write one

Nobody has reviewed Perfonext Build MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Perfonext Build MCP tools (11)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • compare_builds

    Compare two loaded Next.js builds and show which routes and chunks grew or shrank the most.

  • explain_growth

    Identify which routes and chunks are responsible for bundle size growth between two loaded builds.

  • explain_shared_chunks

    Show which npm packages and app code dominate the shared chunks loaded by many routes, to identify

  • find_duplicates

    Find npm packages whose code is bundled into more than one chunk, wasting bytes, ranked by wasted

  • get_largest_routes

    Rank the heaviest user-facing routes in a loaded Next.js build by emitted chunk bytes.

  • get_shared_chunks

    Rank the heaviest shared chunks in a loaded Next.js build and show which routes depend on them.

  • how_to_collect_stats

    Explain how to generate the webpack stats file (.next/stats.json) required by the bundle attribution

  • load_build_stats

    Parse a Next.js .next directory and load route and chunk footprint data for later analysis.

  • load_webpack_stats

    Parse the webpack module stats file (.next/stats.json) and link it to a build loaded with

  • suggest_optimizations

    Aggregate route, chunk, and (when loaded) webpack-stats evidence into severity-ranked,

  • trace_import

    Explain why a module is bundled by tracing its import chain from an entry point to the module.

Public scan report

scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it

no findings
  • Code scan39 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 4 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Perfonext Build MCP compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 93% of 48,243 servers
Tools
11
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
36
more than 25% of 12,306 servers with a package

What its tools let an agent do: 11 read

Install Perfonext Build MCP in Claude Code, Cursor or VS Code

Runs npx -y @perfonext/build-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add perfonext-build-mcp -- npx -y @perfonext/build-mcp
Add to Cursor

What the publisher says

From the Perfonext Build MCP repository's README, as published. We do not edit it. Read it on GitHub

perfonext-build-mcp

Analyze Next.js build artifacts to find heavy routes, shared chunks, and bundle growth.

perfonext-build-mcp is a Model Context Protocol (MCP) server that gives GitHub Copilot, Claude Desktop, Claude Code, and other MCP clients structured bundle analysis for Next.js performance work. It loads .next build artifacts and turns them into route-size rankings, shared-chunk and duplication findings, and severity-ranked fix suggestions — evidence agents can reason over instead of inspecting raw .next manifests.

Quick Start

perfonext-build-mcp is a standard MCP stdio server, so it works with any MCP-compatible client (GitHub Copilot in VS Code, Claude Desktop, Claude Code, Cursor, and others). Run it directly with npx:

npx -y @perfonext/build-mcp

Or install globally:

npm install -g @perfonext/build-mcp

The executable command remains perfonext-build-mcp after installation.

VS Code

Add the server to .vscode/mcp.json (the workspace MCP configuration file):

{
  "servers": {
    "perfonext-build": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@perfonext/build-mcp"]
    }
  }
}

Reload the VS Code window and run MCP: List Servers to start it, or accept the trust prompt when it appears.

Claude Desktop

Add the server to claudedesktopconfig.json:

{
  "mcpServers": {
    "perfonext-build": {
      "command": "npx",
      "args": ["-y", "@perfonext/build-mcp"]
    }
  }
}

Restart Claude Desktop to pick up the new server.

Claude Code

Add the server with the CLI:

claude mcp add perfonext-build -- npx -y @perfonext/build-mcp

Or add it directly to .mcp.json:

{
  "mcpServers": {
    "perfonext-build": {
      "command": "npx",
      "args": ["-y", "@perfonext/build-mcp"]
    }
  }
}

Other MCP clients

Any client that supports stdio MCP servers can launch the same command/args pair: command: npx, args: ["-y", "@perfonext/build-mcp"]. Consult your client's docs for where its MCP server configuration file lives.

For a locally-built checkout, point command/args at node and the repo's dist/index.js instead, in any of the configurations above.

Then ask your assistant: "Load the Next.js build in ./.next and show me the largest routes."

Troubleshooting

spawn npx ENOENT / spawn node ENOENT on macOS with nvm

If the server fails to start with spawn npx ENOENT (or spawn node ENOENT), your editor/app was likely launched from the Dock/Finder and cannot see nvm. GUI apps on macOS do not load shell config (.zshrc/.bashrc), so npx/node installed via nvm are not on PATH. This applies to VS Code, Claude Desktop, and any other GUI MCP client on macOS.

Fix it by giving the MCP config an absolute npx path and a PATH that includes the same Node bin directory (dirname $(which npx)):

{
  "command": "/Users/YOU/.nvm/versions/node/v<version>/bin/npx",
  "args": ["-y", "@perfonext/build-mcp"],
  "env": {
    "PATH": "/Users/YOU/.nvm/versions/node/v<version>/bin:/usr/bin:/bin"
  }
}

Merge the command/args/env fields above into your client's server entry (e.g. under servers for VS Code or mcpServers for Claude Desktop/Code).

What It Does

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Perfonext Build MCP: common questions

Is Perfonext Build MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Perfonext Build MCP safety report
How do I install Perfonext Build MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Perfonext Build MCP need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Perfonext Build MCP maintained?
The last commit was 24 days ago (2026-10-13). The latest release is v0.6.2.
How does Perfonext Build MCP compare with other MCP servers?
safety score 92/100 (higher than 93% of 48,243 servers); tools 11 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from souvikdu →