The OSV MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to OSV. It provides structured and secure access to open source vulnerability data, so your agent can check packages and commits, retrieve vulnerability records, scan dependency lists, identify probable library versions, and review import findings on your behalf.
- Package vulnerability checks: Have your agent find known vulnerabilities affecting a package, package version, package URL, or commit.
- Detailed vulnerability research: Direct your agent to retrieve a vulnerability record with its affected versions, ranges, severity, references, and aliases.
- Batch dependency scanning: Let the agent check up to 1,000 packages, versions, package URLs, or commits and return position-matched vulnerability identifiers.
- Library version identification: Instruct your agent to rank probable versions of an OSS-Fuzz C or C++ library using source-file paths and file hashes.
- Import quality investigation: Have your agent list vulnerability records from a specific import source that failed import-time quality checks.