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
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.
About
Reviews
Write a reviewNo 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_buildsexplain_growthexplain_shared_chunksfind_duplicatesget_largest_routesget_shared_chunkshow_to_collect_statsload_webpack_statssuggest_optimizations
Write 2 · Create, change, send or run things.
load_build_statstrace_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 BuildsCompare two loaded Next.js builds and show which routes and chunks grew or shrank the most.
explain_growthExplain GrowthIdentify 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 ChunksShow 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 PackagesFind 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 RoutesRank the heaviest user-facing routes in a loaded Next.js build by emitted chunk bytes.
get_shared_chunksGet Shared ChunksRank the heaviest shared chunks in a loaded Next.js build and show which routes depend on them.
how_to_collect_statsHow To Collect Webpack StatsExplain 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 StatsParse a Next.js .next directory and load route and chunk footprint data for later analysis.
load_webpack_statsLoad Webpack StatsParse 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 OptimizationsAggregate 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 ImportExplain 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
- Packages
- npm @perfonext/build-mcp
- License
- MIT
- Repository
- github.com/souvikdu/perfonext-build-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from souvikdu
- 0.574score
Perfonext Profiler MCP
souvikdu
MCP server for analyzing V8/Chrome CPU profiles with line-level tick attribution.
ConnectorAFreshness: ALocalRead-onlyClaude Code +5 - 0.574score
Perfonext Render MCP
souvikdu
MCP server for analyzing React Profiler exports: rerenders, commit spikes, slow components.
ConnectorAFreshness: ALocalClaude Code +5
Cite this page
Perfonext Build MCP. Agent Mart. https://agentmart.dev/connectors/souvikdu-perfonext-build-mcp (last updated 2026-10-24)