osv-advisory-mcp-server — Claude Code MCP server: vulnerability checks
osv-advisory-mcp-server queries OSV.dev for known vulnerabilities in packages and dependencies. No API key required.
Apache-2.0 432 installs ★ 2 updated 2026-10-18
claude mcp add --transport http osv-advisory-mcp-server https://osv-advisory-mcp-server--cyanheads.run.toolsWhat osv-advisory-mcp-server does
The server connects to OSV.dev and searches for advisories by package name, version and ecosystem (npm, PyPI, Go, Maven) or Package URL. The osv_query_batch tool accepts up to 1000 dependency entries per request and returns a summary: vulnerable count, total CVEs, worst severity. Each advisory includes CVE aliases, fixed version ranges and CWE identifiers.
For Git commit checks, provide a full SHA-1 or SHA-256 hash (40 or 64 hex characters). The server returns vulnerabilities linked to that commit, without tying them to a specific package manager.
Five tools inside: single package query, batch audit, commit lookup, full advisory fetch by ID, and the list of supported ecosystems. HTTP transport install requires no Node.js: the server runs at https://osv-advisory-mcp-server--cyanheads.run.tools.
What it helps with
- check project dependencies against known CVEs
- find vulnerabilities in a specific library version
- get CVSS scores and fixed version ranges
- audit an SBOM through OSV.dev in one call
- see if a commit is affected by known advisories
Example prompts for the agent
- Check
[email protected]from PyPI for vulnerabilities - Run all packages from
package-lock.jsonthrough OSV - Find vulnerabilities for commit
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
How to install osv-advisory-mcp-server
Platform CLI: remote server
claude mcp add --transport http osv-advisory-mcp-server https://osv-advisory-mcp-server--cyanheads.run.toolsPlatform CLI: remote server
codex mcp add osv-advisory-mcp-server --url https://osv-advisory-mcp-server--cyanheads.run.toolsConfig file
{
"mcpServers": {
"osv-advisory-mcp-server": {
"url": "https://osv-advisory-mcp-server--cyanheads.run.tools"
}
}
}Config file
{
"servers": {
"osv-advisory-mcp-server": {
"type": "http",
"url": "https://osv-advisory-mcp-server--cyanheads.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http osv-advisory-mcp-server https://osv-advisory-mcp-server--cyanheads.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about osv-advisory-mcp-server
How to install osv-advisory-mcp-server in Claude Code?
Run claude mcp add --transport http osv-advisory-mcp-server https://osv-advisory-mcp-server--cyanheads.run.tools.
What does osv-advisory-mcp-server do?
Searches for vulnerabilities in packages and Git commits through the OSV.dev database. Can audit up to 1000 dependencies per request, returns CVE aliases, CVSS scores and fixed versions.
Does it need an API key?
No. OSV.dev is a public database with no keys and no published rate limits.