Skip to main content
Glama

Server Details

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

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
unpkg/unpkg-mcp
GitHub Stars
1
Server Listing
UNPKG
ChatGPT
–
Claude
UNPKG

TDQS

A3.9/5.0

Scored across 14 tools

Disambiguation4/5

The set splits cleanly into a core UNPKG pipeline (search -> resolve -> list_files -> build_file_url -> verify_url, plus import-map generate/check and audit/impact tools) and a distinctly namespaced shield_* security family, with each step having a clear role. The only mild overlap is between build_file_url and verify_url (both can confirm a file exists) and between resolve_package and search_packages, though the descriptions make the boundaries readable.

Naming Consistency4/5

All names are snake_case with a consistent verb_noun pattern for the core tools (audit_dependencies, build_file_url, check_importmap, generate_importmap, list_files, resolve_package, search_packages, verify_url). The shield_* tools use a namespace prefix rather than leading verb, which is a minor deviation but still predictable and readable.

Tool Count5/5

14 tools sit comfortably in the appropriate range for a CDN/package-resolution server with an attached security product. Each tool covers a distinct step in the workflow (search, resolve, inspect files, build/verify URLs, import maps, audit, impact estimate) with no filler.

Completeness4/5

The surface covers the full migration workflow end to end: discovery, version resolution, file listing, URL construction and verification, import-map generation and validation, dependency auditing, and impact estimation, plus a full Shield security sub-surface. Minor gaps remain, such as fetching package metadata/file contents directly or resolving transitive dependency trees in one call, but agents can work around these via existing tools.

Available Tools

14 tools
audit_dependenciesAudit dependencies for UNPKG conversionA
Read-onlyIdempotent
Inspect

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.

Inputs: dependencies (required), framework, existingImports. Returns: impact, summary, framework, importmap, +11 more

build_file_urlBuild a canonical UNPKG file URLA
Read-onlyIdempotent
Inspect

Build a direct UNPKG file URL (the original file lookup) with a deliberate version policy, verifying the file exists when a path is given.

Inputs: package (required), file, policy, subpath, +1 more. Returns: url, file, package, specUsed, +2 more

check_importmapValidate an import map as a systemA
Read-onlyIdempotent
Inspect

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.

Inputs: imports (required), framework. Returns: ok, entries, framework, globalIssues

estimate_migration_impactRough bandwidth/cost impact of a conversionA
Read-onlyIdempotent
Inspect

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.

Inputs: monthlyPageViews (required), unpkgBytesPerPageLoad (required), browserCacheRate, bandwidthCostPerGbUsd. Returns: caveats, assumptions, betterMetrics, perLoadWireBytes, +3 more

generate_importmapGenerate an import map for UNPKG packagesA
Read-onlyIdempotent
Inspect

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.

Inputs: entries (required). Returns: resolved, importmap

list_filesList files in a package versionA
Read-onlyIdempotent
Inspect

List the real files inside an exact or resolvable package version via UNPKG ?meta. Use this before choosing a file path; never guess paths.

Inputs: package (required), path, limit, version. Returns: files, prefix, package, version, +2 more

resolve_packageResolve an npm package versionA
Read-onlyIdempotent
Inspect

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.

Inputs: package (required), version. Returns: name, distTags, requested, entryPoints, +2 more

search_packagesSearch npm for browser-suitable packagesA
Read-onlyIdempotent
Inspect

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.

Inputs: query (required), limit. Returns: note, query, results

shield_check_packagesMalware verdicts and CVEs for package versionsA
Read-onlyIdempotent
Inspect

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.

Inputs: packages (required).

shield_domain_packagesShield-observed packages on your domainsA
Read-onlyIdempotent
Inspect

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.

Inputs: days, domain, includeThreats.

shield_simulate_requestSimulate a Shield edge decisionA
Read-onlyIdempotent
Inspect

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.

Inputs: package (required), version (required), path, origin, +1 more.

shield_watchlist_statusYour Shield watchlist, pins, and blocksA
Read-onlyIdempotent
Inspect

Return the logged-in org's monitored packages, blocklist entries, and pin policies as Shield currently holds them. Requires Shield login.

Inputs: no named parameters.

shield_whoamiShield account for the logged-in userA
Read-onlyIdempotent
Inspect

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.

Inputs: no named parameters.

verify_urlVerify a UNPKG URL resolvesA
Read-onlyIdempotent
Inspect

Check that a UNPKG file URL actually resolves (follows redirects) before you put it in a project.

Inputs: url (required). Returns: ok, status, finalUrl, contentType

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides software supply-chain intelligence for AI agents, enabling them to query package metadata, versions, downloads, dependencies, and health signals for npm, PyPI, and crates.io packages without API keys.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Package intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI coding agents to automatically verify npm packages against the live registry before installation, flagging hallucinated, slopsquatted, or otherwise suspicious packages with risk verdicts.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents and CI to vet npm dependencies before they reach the lockfile, flagging hallucinated, slopsquatted, or otherwise risky packages with evidence-backed verdicts.
      3
      73 npm
      4
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.