Skip to main content
Glama

npm / PyPI package safety and maintenance ($0.0027)

package_intel
Read-onlyIdempotent

PAID ($0.0027 USDC via x402). Before adding a dependency: give an npm or PyPI package (and optionally an exact version; default latest). Returns every vulnerability OSV.dev lists for that version (ids, CVE aliases, severity as its database labels it, fixed versions), whether it is deprecated (npm) or yanked (PyPI), licence, https source repository, publish dates, latest version, last week's downloads, runtime dependency and maintainer counts, and risk flags from a stated rule list. It reads registry metadata and advisories, not the code; 'no vulnerabilities' means none known to OSV. An unknown package or version, or an outage, answers 4xx/502 and is not charged. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically. Any answer the tool cannot produce is >= 400 and is NOT charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoThe package name: an npm package (lodash, @types/node) or a PyPI project (requests, Django)
paymentNoBase64 of a single x402 v2 PaymentPayload (EIP-3009 transferWithAuthorization on Base USDC). OMIT it on the first call: the 402 you get back carries `howToPay.payloadTemplate` — the exact envelope to fill in — plus the price and the EIP-712 domain. Send it on the second call to complete the purchase; it is forwarded as the PAYMENT-SIGNATURE header, never as body data. Nothing is charged for the 402 itself, and a call that fails after payment settles nothing.
versionNoAn exact published version to analyse (4.17.20, 2.31.0). Omit for the latest release; ranges like ^4 are refused
ecosystemNoWhich registry the name is on: npm (default) or pypi

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfYesISO time of the oldest upstream read this answer used
nameYesThe package name as the registry spells it
noteYesHow to read the answer, its rules and limits, and the data attribution
sourceYesWhere the data came from
licenseYesThe declared licence (SPDX expression where given), or null when none is declared
versionYesThe version analysed (the latest when none was named)
homepageYesThe declared homepage, or null
isLatestYesTrue when the analysed version is the latest
defaultedNoPresent only when the body named no field: which package the answer is for, and why
ecosystemYesThe registry: npm or pypi
riskFlagsYesFlags from a stated rule list (see note): malicious_package, deprecated, yanked, known_vulnerabilities, high_or_critical_vulnerability, newer_version_available, no_release_in_2_years, very_low_downloads, no_license, no_repository
deprecatedYesnpm: the deprecation message of this version; PyPI: 'yanked: <reason>' when the release is yanked; null otherwise
osvRecordsYesOSV records returned before the same flaw from two databases was folded into one row
repositoryYesThe declared source repository as an https URL, or null
descriptionYesThe package's own one-line description
publishedAtYesISO time the analysed version was published (null when the registry could not be read for dates)
latestVersionYesThe registry's latest release (npm's `latest` dist-tag; PyPI's current version)
dependencyCountYesRuntime dependencies this version declares (npm `dependencies`; PyPI `requires_dist` entries not tied to an extra); null when undeclared metadata makes it unknown
vulnerabilitiesYesKnown vulnerabilities OSV.dev lists for THIS version, most severe first
maintainersCountYesAccounts allowed to publish (npm's current maintainers; PyPI's owners and maintainers)
downloadsLastWeekYesDownloads in the last 7 days (npm: api.npmjs.org; PyPI: pypistats.org last_week); null when the counter did not answer
latestPublishedAtYesISO time the latest release was published
vulnerabilityCountYesNumber of vulnerabilities listed (the same flaw published by two databases counts once)
daysSinceLatestReleaseYesWhole days since the latest release was published

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.