@perfonext/build-mcp

MCPattested
v0.6.2UnknownMITUpdated 2d agonpmGitHub

MCP server for analyzing Next.js build artifacts, route bundle footprint, and shared chunks

Works in
ClaudeCursorCopilotGemini

Inferred from the transports this listing declares (stdio). A client not listed here hasn’t been ruled out — it just isn’t something Forge can confirm.

Attested build
A verified provenance attestation binds this artifact to the listed repository. Nobody has claimed the listing yet — this proves where the code was built, not who stands behind it.
420Downloads/wk
2d agoLast update
Package
AuthorUnknown
LicenseMIT
Version0.6.2
Sourcenpm+mcp-registry
Trust Status
A
85/100Trusted
Listed in Forge index+10/10
Identity verified · attested build+20/20
Ed25519 publish signature+0/5
Included automatically when the publisher runs `forge publish`
Domain verification+0/5
Publisher: host /.well-known/forge.json on the package homepage with { "publisher": "<github-login>" }
npm Trusted Publishing (Sigstore)+5/5
npm maintainer match+0/5
Publisher: add the verified GitHub login to the npm package's maintainers (npm owner add <login>)
CVE scan · clean+30/30
Static analysis · clean+20/20
Paste into Claude Code, Cursor, or any AI assistant to fix all gaps
StatusIdentity verified
PublisherUnverified
SignatureUnsigned
Domain
Provenance✓ Sigstore-verified · 3ae8f5e
Dependencies✓ 60 resolved+ · none vulnerable
Tool surface11 tools · none privileged
Security scan✓ Cleanv0.6.2 · todayHow well does this scan work?
EvalsNone
IndexedSep 7, 2026

Verification confirms publisher identity (repo ownership), not code safety. The security scan covers known CVEs and suspicious install scripts.

Tools

11 tools · none privileged
Statically extracted from the published packagev0.6.2 · 2h ago

Read out of the source npm actually ships, at scan time. The package was never executed. Tools registered dynamically at runtime, or hidden inside bundled or minified code, can be missed — so this is a floor on the tool surface, not a complete census of it.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

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

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

No input schema was published for this tool.

11 of 11 tools published a description.

Tool names and descriptions are written by the publisher and shown verbatim as inert text. They are the strings an MCP client passes to a model, so Forge scans them for prompt-injection patterns — any finding appears with the security scan above. “Privileged” is a keyword match on the tool name, not an audit of what the tool does: a benign-sounding name can still do anything.

About

MCP server for analyzing Next.js build artifacts, route bundle footprint, and shared chunks

Keywords
mcpgithub-copilotnextjsbuildbundleperformanceroute-sizechunk-analysis
Alternatives
Comparing tool surfaces…

Dependency tree

What one Forge scan resolved from npm metadata on 2026-09-07 — observed resolution, not a publisher declaration.

60 packages resolved · 2 direct · none carrying advisories Resolution stops at depth 4 and 60 packages.

The crawl stopped at the depth-4 limit. Anything below that level was never resolved.

The crawl stopped at the 60-package limit. The rest of the tree was never resolved.

36 more resolved packages are not drawn here (display cap: 24). Every dependency carrying an advisory is drawn regardless of the cap. Full inventory (CycloneDX SBOM)

Declared but not resolved

53 declared dependencies never landed in the tree. They are missing from Forge's resolution, not from the package.

+41 more not listed. The counts by reason above cover all of them.

Not followed: peerDependencies. This tree covers runtime dependencies only, so anything those pull in was never resolved.

Topics

Related in git & code hosting