UNPKG

io.github.unpkg/unpkg-mcp · v1.0.0 · developer-tools

UNPKG is healthy: it completed an MCP handshake in 677 ms and exposes 14 tools.

Live npm and UNPKG data for AI agents: resolution, audits, import maps, malware/CVE checks.

Endpoint: https://mcp.unpkg.com/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count14
Latency677 ms
Last checked (UTC)2026-11-07T09:35:23.254Z

Health history

Checked (UTC)StatusLatencyError
2026-11-07T09:35:23.254ZHealthy677

Tools (14)

resolve_packageResolve a package name plus exact version, dist-tag, or semver range to the version that exists on npm today, with its browser entry points. Use this instead of recalling versions from memory.
list_filesList the real files inside an exact or resolvable package version via UNPKG ?meta. Use this before choosing a file path; never guess paths.
build_file_urlBuild a direct UNPKG file URL (the original file lookup) with a deliberate version policy, verifying the file exists when a path is given.
audit_dependenciesClassify a project's runtime dependencies for conversion to direct UNPKG file lookups, in framework context when given. Read the project's package.json yourself and pass its dependencies map; this tool checks each package against live npm/UNPKG data and returns convert_now / convert_carefully / keep
verify_urlCheck that a UNPKG file URL actually resolves (follows redirects) before you put it in a project.
generate_importmapResolve a set of bare specifiers to UNPKG file URLs and return a ready-to-paste import map. Entry files are resolved live from each package.
check_importmapValidate an existing or proposed import map: every UNPKG URL resolves, files exist, versions are mutually consistent (including react/react-dom pairing and duplicate-version skew), loose specs are flagged, and framework-managed packages are errors when a framework is given or detected. Run this afte
search_packagesSearch npm for a need (e.g. 'date picker', 'markdown parser') and annotate each result with browser readiness for direct UNPKG file lookup: browser-ready ESM, CommonJS-only, or unclear, with the entry file and size when known. Ranking is npm's relevance order; readiness is annotated, never hidden, s
estimate_migration_impactOrder-of-magnitude estimate of bandwidth offloaded (and hosting dollars, if a $/GB is given) when bytes move from first-party hosting to UNPKG. Range-based with explicit assumptions and caveats; it cannot forecast latency or Core Web Vitals. Get unpkgBytesPerPageLoad from audit_dependencies' impact.
shield_whoamiReturn the Shield account, organization, and entitlements for the OAuth login on this connection. Requires an approved Shield account; anonymous connections get an authorization_required error with reconnect instructions.
shield_simulate_requestPreview what Shield would do for one package@version request (optionally with referer/origin) under the logged-in user's effective pin/block rules, using the same rule-matching semantics as the edge.
shield_check_packagesCheck exact package@version pairs against Shield intel: malware verdict (with review state) and CVEs affecting that version, including the first patched version. Works anonymously for packages you name (25 per call); Shield login raises the cap to 200. Domain data still requires login. Missing pairs
shield_domain_packagesList the caller's verified domains with package counts, or the packages Shield has observed on one domain. With includeThreats, one domain's packages come back annotated with malware verdicts and CVEs, ranked by the domain's own traffic. Requires Shield login.
shield_watchlist_statusReturn the logged-in org's monitored packages, blocklist entries, and pin policies as Shield currently holds them. Requires Shield login.