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
Chalk Labs
Need help deploying Perfonext Build MCP?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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, install config and code. Checked Nov 1, 2026.
- Tools
- 9 read · 2 write · 0 delete
- Secrets
- None asked for
- Install scripts
- None found
- 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
Network hosts it talks to 1
github.com· found in code
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 (1 month 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
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Perfonext Build MCP running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Perfonext Build MCP. Agent Mart. https://agentmart.dev/connectors/souvikdu-perfonext-build-mcp (last updated 2026-10-24)