UNPKG
io.github.unpkg/unpkg-mcp
MCP server OK 14 tools
Live npm and UNPKG data for AI agents: resolution, audits, import maps, malware/CVE checks.
Technical sheet
- Author
- unpkg (registry namespace)
- Repository
- github.com/unpkg/unpkg-mcp
- Site
- mcp.unpkg.com
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.unpkg.com/mcp Streamable HTTP
- Tools
- 14
- Categories
- Development and code, AI, agents and memory
- Comparisons
- MCP servers for maps and places
- Last updated
- 7 Nov 2026
- Published
- 7 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.unpkg/unpkg-mcp)<a href="https://latlas.dev/en/mcp/io.github.unpkg/unpkg-mcp"><img src="https://latlas.dev/badge/fiche/io.github.unpkg/unpkg-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.unpkg.com/mcp
- Last result
- OK 28 Nov 2026, 09:09
- Response time
- 386 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- unpkg-mcp 1.0.0
- Tools
- 14
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:09 | OK | 386 ms | 14 |
Exposed tools (14, from tools/list, 28 Nov 2026)
resolve_package
Resolve an npm package version
Resolve 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| package | string | yes | npm package name, e.g. react or @scope/name |
| version | string | no | Exact version, dist-tag, or semver range. Defaults to latest. |
list_files
List files in a package version
List the real files inside an exact or resolvable package version via UNPKG ?meta. Use this before choosing a file path; never guess paths.
| Parameter | Type | Required | Description |
|---|---|---|---|
| package | string | yes | |
| version | string | no | Defaults to latest; resolved before listing. |
| path | string | no | Directory prefix inside the package, e.g. /dist/. Defaults to /. |
| limit | integer | no | Max files to return. Defaults to 200. |
build_file_url
Build a canonical UNPKG file URL
Build a direct UNPKG file URL (the original file lookup) with a deliberate version policy, verifying the file exists when a path is given.
| Parameter | Type | Required | Description |
|---|---|---|---|
| package | string | yes | |
| version | string | no | Exact version, dist-tag, or range to resolve. Defaults to latest. |
| file | string | no | File path inside the package. Defaults to the resolved entry point. |
| subpath | string | no | Package subpath import, e.g. hooks for preact/hooks. Resolved through the exports map, then file discovery. Ignored when file is given. |
| policy | enum: "preserve" | "exact" | "patch" | "range" | no | preserve: keep the given spec (default). exact: resolved version. patch: major.minor (bug fixes flow). range: ^major.minor.patch. |
audit_dependencies
Audit dependencies for UNPKG conversion
Classify 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_bundled / needs_review with suggested URLs and an import map for the safe conversions. IMPORTANT: suitability is not usage. Before calling, scan the project's HTML/files for an existing import map and CDN URLs and pass them as existingImports; entries already on UNPKG come back as already_on_unpkg, not conversion candidates. If you did not scan, say so — currentUsage will be absent rather than falsely 'not detected'. Only pass runtime dependencies, never devDependencies.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dependencies | object | yes | Map of package name to the version spec from package.json, e.g. { "preact": "^10.25.4" } |
| framework | enum: "next" | "nuxt" | "sveltekit" | "remix" | "astro" | "gatsby" | no | The project's framework, if any. Framework-managed packages (react/react-dom in Next, vue in Nuxt, ...) are classified keep_bundled in context. Auto-detected from the dependency map when omitted. |
| existingImports | object | no | Existing imports found in the project: bare specifier to current URL, typically an import map extracted from HTML (include subpath keys like preact/hooks). Pass {} if you scanned and found none. Omit only if you did not scan; the result then reports current usage as unknown instead of not detected. |
verify_url
Verify a UNPKG URL resolves
Check that a UNPKG file URL actually resolves (follows redirects) before you put it in a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | A full https://unpkg.com/... file URL. |
generate_importmap
Generate an import map for UNPKG packages
Resolve 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| entries | array<object> | yes |
check_importmap
Validate an import map as a system
Validate 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 after generate_importmap or an audit, before committing to a conversion.
| Parameter | Type | Required | Description |
|---|---|---|---|
| imports | object | yes | The import map's imports object: bare specifier to URL. |
| framework | enum: "next" | "nuxt" | "sveltekit" | "remix" | "astro" | "gatsby" | no |
search_packages
Search npm for browser-suitable packages
Search 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, so a CJS-only result is visible as such rather than silently dropped.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What the package should do, e.g. 'confetti', 'sanitize html', 'date picker'. |
| limit | integer | no | Results to annotate. Defaults to 5. |
estimate_migration_impact
Rough bandwidth/cost impact of a conversion
Order-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.convertNowEntryBytes plus any transitive files the caller chooses to include.
| Parameter | Type | Required | Description |
|---|---|---|---|
| monthlyPageViews | number | yes | |
| unpkgBytesPerPageLoad | number | yes | Raw bytes per page load moving to UNPKG. |
| browserCacheRate | number | no | Share of loads served from browser cache. Default 0.5. |
| bandwidthCostPerGbUsd | number | no | Current hosting $/GB, if known. Omit to skip dollars. |
shield_whoami
Shield account for the logged-in user
Return 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.
No parameters.
shield_simulate_request
Simulate a Shield edge decision
Preview 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| package | string | yes | |
| version | string | yes | |
| path | string | no | |
| referer | string | no | |
| origin | string | no |
shield_check_packages
Malware verdicts and CVEs for package versions
Check 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 were not scanned yet — absence is not a clean verdict.
| Parameter | Type | Required | Description |
|---|---|---|---|
| packages | array<object> | yes |
shield_domain_packages
Shield-observed packages on your domains
List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | no | One verified domain. Omit to list domains with package counts. |
| includeThreats | boolean | no | Annotate one domain's packages with verdicts and CVEs. Requires domain. |
| days | integer | no | Lookback window for threats mode. Default 30; 0 = all-time. |
shield_watchlist_status
Your Shield watchlist, pins, and blocks
Return the logged-in org's monitored packages, blocklist entries, and pin policies as Shield currently holds them. Requires Shield login.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.unpkg.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http unpkg-mcp https://mcp.unpkg.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : unpkg-mcp ; URL : https://mcp.unpkg.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : unpkg-mcp ; Server URL : https://mcp.unpkg.com/mcp ; Create as a plugin{
"mcpServers": {
"unpkg-mcp": {
"url": "https://mcp.unpkg.com/mcp"
}
}
}{
"mcpServers": {
"unpkg-mcp": {
"type": "http",
"url": "https://mcp.unpkg.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"unpkg-mcp": {
"url": "https://mcp.unpkg.com/mcp"
}
}
}{
"mcpServers": {
"unpkg-mcp": {
"httpUrl": "https://mcp.unpkg.com/mcp"
}
}
}[mcp_servers.unpkg-mcp]
url = "https://mcp.unpkg.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
UNPKG · L’Atlas · Tested on
[UNPKG — L’Atlas](https://latlas.dev/en/mcp/io.github.unpkg/unpkg-mcp)Source : Registre officiel MCP · retrieved 1 Dec 2026. L’Atlas adds no data beyond this source and its own tests.