osv-mcp
v1.0.1
Published
Use this MCP server to OSV open source vulnerability data and package security checks. Tools include check package, scan packages, get vulnerability
Maintainers
Readme
OSV MCP
Open source vulnerability checks for coding agents. It uses the public OSV.dev API and needs no API key.
Tools
check_packagechecks an ecosystem, package name, and optional versionscan_packageschecks several package references in one request; parse lockfiles in your client and pass the package listget_vulnerabilityretrieves a CVE, GHSA, or OSV record
Run
npm install
npm run build
node dist/index.jsThe server is read only and uses stdio MCP transport.
Quick start
npm install
npm run build
node dist/index.jsThe server uses stdio, so it can be connected to Claude Desktop, Cursor, VS Code, MCP Inspector, or another compatible MCP client.
Tools at a glance
check_package: Check a package and optional version for known open source vulnerabilities.scan_packages: Scan several package references in one OSV request. Pass a JSON array of ecosystem, name, and optional version.get_vulnerability: Retrieve one OSV vulnerability by ID, such as GHSA, CVE, or OSV identifier.
Limits and privacy
This project is intentionally narrow. It should be treated as a practical helper, not a complete certification or security audit. Check the implementation and the returned data before using it with sensitive material. No credentials are required unless the project explicitly says otherwise.
Try it
After building, connect the server through your MCP client. The repository root also contains smoke-test.mjs for projects covered by the shared harness. A typical tool call starts with check_package.
Premium tools
These tools need a license key:
advisory_databasepackage_releases
Buy a key at https://mcp-marketplace.io/server/io-github-mrfentmen-osv-mcp and set it in your MCP client config:
"env": { "MCP_LICENSE_KEY": "mcp_live_..." }The key is checked against MCP Marketplace, cached for 24 hours, and keeps working offline once one check has succeeded. Every other tool on this server stays free.
