Skip to main content
Glama

Server Details

Query OSV.dev for package vulnerabilities and batch-audit dependency lists via MCP.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/osv-advisory-mcp-server
GitHub Stars
2
Server Listing
osv-advisory-mcp-server
ChatGPT
–
Claude
–

TDQS

A4.3/5.0

Scored across 5 tools

Disambiguation4/5

Each tool keys off a distinct input type: advisory ID (get), single package tuple/PURL (query_package), commit hash (query_commit), multi-package array (query_batch), and no input (list_ecosystems). The only real overlap is that osv_query_batch can handle a single package, but its description explicitly scopes it to audits/SBOMs and points to osv_query_package for the single-row case.

Naming Consistency5/5

All five tools use the same osv_ prefix followed by a verb_noun pattern (get_vulnerability, list_ecosystems, query_package, query_commit, query_batch) in consistent snake_case. The query_* family is especially predictable, distinguishing only by target resource.

Tool Count5/5

Five tools is a tight, well-scoped surface for an OSV lookup service: one fetch-by-ID, three query entry points by different key types, and one reference/helper list. No tool appears redundant or tacked on.

Completeness4/5

The core read paths are covered: advisory detail by ID, package/PURL queries, commit queries, batch triage, and ecosystem name resolution. Minor gaps remain — no direct lookup by CVE alias, keyword search, or ecosystem-wide advisory listing — but aliases are returned for chaining and typical agent workflows are served.

Available Tools

5 tools
osv_get_vulnerabilityOsv Get VulnerabilityA
Read-onlyIdempotent
Inspect

Fetch the full advisory record for an OSV vulnerability ID. Returns the complete record: summary, full details text, CVE aliases, all affected packages and version ranges, fix versions, CVSS severity vectors, CWE weakness IDs, references, credits, and the record-level database_specific metadata of the source database. Use when osv_query_package or osv_query_batch returns a vuln ID and you need the full advisory context — affected packages or remediation guidance. For overflow, repeat the original input with page: overflow.page. Continue the same path with offset: page.nextOffset and revision: page.revision until nextOffset is null. Retrieve each entries[].deferred.path separately at offset zero without a revision. Do not pass the output page object as input. Every page is a fresh lookup; restart a changed node without a revision. Transmission overflow and upstream truncation are separate; neither confirms clean.

Inputs: id (required), page. Returns: id, page, error, cweIds, +18 more

osv_list_ecosystemsOsv List EcosystemsA
Read-onlyIdempotent
Inspect

Return the supported ecosystem base names for osv_query_package and osv_query_batch: every ecosystem the OSV schema names that OSV.dev accepts at query time, plus GIT, as verified on 2026-10-31. Known base names are case-insensitive. Recognized tuple suffix aliases resolve to their release or variant, such as Ubuntu:jammy to Ubuntu:22.04:LTS. Bases such as npm, PyPI, and crates.io take no suffix. Alpine needs a release branch, such as Alpine:v3.17. The list is static and may lag ecosystems added after that date.

Inputs: no named parameters. Returns: note, error, ecosystems

osv_query_batchOsv Query BatchA
Read-onlyIdempotent
Inspect

Query vulnerabilities for multiple packages in one call — the primary tool for dependency audits, SBOM scanning, and lockfile triage. Submit up to 5000 mixed {name, ecosystem, version} tuples and {purl, version?} identifiers, with exactly one embedded or separate version per PURL. The first 1000 entries are processed. Follow summary.nextInputOffset to submit the remaining slice. Pass a row's nextCursor as cursor to osv_query_package with that row's identifier. Each entry in the response corresponds positionally to the input. Each finding includes CVE aliases for chaining to nist-nvd-mcp-server for CVSS scoring. Large replies retain the complete summary. For overflow, repeat the original packages array with page: overflow.page. Continue the same path with offset: page.nextOffset and revision: page.revision until nextOffset is null. Retrieve each entries[].deferred.path separately at offset zero without a revision. Do not pass the output page object as input. /results/17 selects original input row 17, even when earlier rows failed. Pages are fresh lookups and do not recompute the initial summary; restart a changed node without a revision. Transmission overflow and upstream truncated are separate; neither confirms clean.

Inputs: packages (required), page. Returns: page, error, notice, preview, +5 more

osv_query_commitOsv Query CommitA
Read-onlyIdempotent
Inspect

Query known vulnerabilities for one full Git commit hash (40 hexadecimal SHA-1 or 64 hexadecimal SHA-256 characters, case-insensitive). Abbreviated hashes are rejected. Returns advisory summaries, record-wide severity and GIT ranges with repositories and ordered fix events; use osv_get_vulnerability for full records. No package-specific fixedVersions are inferred. For overflow, repeat the original input with page: overflow.page. Continue the same path with offset: page.nextOffset and revision: page.revision until nextOffset is null. Retrieve entries[].deferred.path separately at offset zero without a revision. Do not pass the output page object as input. Pages are fresh lookups; restart a changed node without a revision. Transmission overflow and upstream truncated are separate; neither confirms clean.

Inputs: commit (required), page, cursor. Returns: page, error, vulns, notice, +6 more

osv_query_packageOsv Query PackageA
Read-onlyIdempotent
Inspect

Query known vulnerabilities for a single package version using {name, ecosystem, version} or {purl, version?}; supply exactly one embedded or separate version. Release-qualified Ubuntu names are resolved to the source packages OSV indexes. Returns all matching OSV advisories with severity (CVSS vectors), CVE aliases, affected version ranges, and the fixed versions listed for the queried package. Find canonical ecosystem names and the Alpine release format in osv_list_ecosystems. Known base names are case-insensitive. Recognized tuple suffix aliases resolve to their release or variant, such as Ubuntu:jammy to Ubuntu:22.04:LTS. Bases such as npm, PyPI, and crates.io take no suffix. For overflow, repeat the original input with page: overflow.page. Continue the same path with offset: page.nextOffset and revision: page.revision until nextOffset is null. Retrieve each entries[].deferred.path separately at offset zero without a revision. Do not pass the output page object as input. Set page.advisoryId to an announced ID to fetch its fields with fixes and severity for the queried package; retain advisoryId on subsequent pages. Pages are fresh lookups; restart a changed node without a revision. Transmission overflow and upstream truncated are separate; neither confirms clean.

Inputs: name, page, purl, cursor, +2 more. Returns: page, error, vulns, notice, +7 more

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
      Not graded
      quality
      F
      maintenance
      Enables auditing npm, pip, and other package dependencies for known CVEs via the OSV database, with tools to scan manifests, query individual packages, and integrate into CI/CD workflows.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables coding agents to check individual project dependencies or local CycloneDX/SPDX SBOM files against the public OSV.dev advisory database and receive ranked vulnerability findings.
      2
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.