Osv

v0.2.1
io.github.pipeworx-io/osv Checked 1 hour ago Published 27 days ago

OSV.dev (Open Source Vulnerabilities) MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query_package_vulns

Find all known vulnerabilities for an open-source package, optionally at a specific version, via the OSV.dev database. Omit version to get every vuln known for the package. Returns a compact summary array (id, summary, aliases, severity, references). Keyless.

ParameterTypeDescription
ecosystem *stringPackage ecosystem. Examples: "npm", "PyPI", "Go", "Maven", "crates.io", "RubyGems", "NuGet".
name *stringPackage name, e.g. "lodash", "django", "log4j-core", "serde".
versionstringOptional package version, e.g. "4.17.20". If given, only vulns affecting that version are returned; if omitted, all vulns for the package are returned.

get_vulnerability

Get full detail for a single vulnerability by its OSV ID — e.g. "GHSA-jf85-cpcp-j695", "CVE-2021-23337", "PYSEC-2021-XXX". Returns summary, details, aliases, severity, affected packages/ranges, and references. Keyless.

ParameterTypeDescription
id *stringA vulnerability ID, e.g. "GHSA-jf85-cpcp-j695", "CVE-2021-23337", "PYSEC-2021-1".

query_by_commit

Find vulnerabilities affecting a specific source-repository git commit via OSV.dev. Useful when you have a pinned commit hash rather than a released version. Returns the same compact vuln summary array. Keyless.

ParameterTypeDescription
commit *stringA git commit hash, e.g. "6879efc2c1596d11a6a6ad296f80063b558d5e0f".

query_batch

Batch vulnerability query against OSV.dev (up to 1000 entries per call) — for SBOM-style "scan every dependency in this lockfile" workflows. Pass an array of {package:{name,ecosystem}, version?} or {commit} entries. Returns the vuln IDs matched per query (use get_vulnerability for full detail per ID). Keyless.

ParameterTypeDescription
queries *arrayUp to 1000 query objects. Each: {package:{name,ecosystem}, version?} or {commit}.