Skip to content
Agentmart
Submit a tool

Perfonext Build MCP

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

Connector by souvikdu · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/souvikdu-perfonext-build-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
9 read · 2 write · 0 delete
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 11

Read from the source code; the running server may list different tools.

Read 9 · Look things up without changing anything.

  • compare_builds
  • explain_growth
  • explain_shared_chunks
  • find_duplicates
  • get_largest_routes
  • get_shared_chunks
  • how_to_collect_stats
  • load_webpack_stats
  • suggest_optimizations

Write 2 · Create, change, send or run things.

  • load_build_stats
  • trace_import

Tools (11)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • compare_buildsCompare Builds

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

  • explain_growthExplain Growth

    Identify which routes and chunks are responsible for bundle size growth between two loaded builds. Returns severity-ranked route findings, the top growing chunks, and an overall regression summary.

  • explain_shared_chunksExplain Shared Chunks

    Show which npm packages and app code dominate the shared chunks loaded by many routes, to identify what bloats common bundles. Each package reports its unminified webpack module size, its share of the chunk's module bytes, and that share applied to the chunk's emitted size. Requires load_build_stats and load_webpack_stats first.

  • find_duplicatesFind Duplicate Packages

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

  • get_largest_routesGet Largest Routes

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

  • get_shared_chunksGet Shared Chunks

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

  • how_to_collect_statsHow To Collect Webpack Stats

    Explain how to generate the webpack stats file (.next/stats.json) required by the bundle attribution tools. Choose manual (a recipe you apply yourself) or automatic (an action plan Copilot executes).

  • load_build_statsLoad Build Stats

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

  • load_webpack_statsLoad Webpack Stats

    Parse the webpack module stats file (.next/stats.json) and link it to a build loaded with load_build_stats. Unlocks the stats-powered tools: suggest_optimizations (enriched), find_duplicates, explain_shared_chunks, and trace_import.

  • suggest_optimizationsSuggest Optimizations

    Aggregate route, chunk, and (when loaded) webpack-stats evidence into severity-ranked, evidence-backed bundle optimizations tied to concrete Next.js actions. Every suggestion is sized in emitted on-disk bytes. Works on manifests alone; load_webpack_stats first for dedupe, shared-chunk, and package-import suggestions.

  • trace_importTrace Import

    Explain why a module is bundled by tracing its import chain from an entry point to the module. moduleSizeBytes is the unminified webpack module size, not emitted chunk size. Requires load_webpack_stats first.

Signals

Stars
0
Forks
0
Open issues
0
Last commit
Oct 7, 2026 (21 days ago)
Last release
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.souvikdu/perfonext-build-mcp
Version
0.6.2
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from souvikdu

Cite this page

Perfonext Build MCP. Agent Mart. https://agentmart.dev/connectors/souvikdu-perfonext-build-mcp (last updated 2026-10-24)