OSV Advisory MCP Server
An MCP server that queries OSV.dev for package vulnerabilities, batch-audits dependency lists, and fetches full advisory records. It supports STDIO or Streamable HTTP transports and provides tools to query package versions, commit hashes, and ecosystem lists.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query a package version by name/ecosystem/version or PURL
- Batch-audit up to 1000 package versions in one call
- Query known vulnerabilities for a full Git commit hash
- Fetch the full advisory record for a single OSV vulnerability ID
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/osv-advisory-mcp-server 0.4.0
{
"version": "0.4.0",
"transport": "stdio",
"identifier": "@cyanheads/osv-advisory-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OSV_REQUEST_TIMEOUT_MS",
"format": "string",
"default": "10000",
"description": "HTTP request timeout in milliseconds for OSV.dev API calls."
},
{
"name": "OSV_BATCH_CONCURRENCY",
"format": "string",
"default": "10",
"description": "Maximum number of concurrent OSV.dev requests issued by osv_query_batch."
},
{
"name": "OSV_QUERY_MAX_PAGES",
"format": "string",
"default": "10",
"description": "Maximum number of OSV.dev result pages followed per package or commit before marking a result truncated."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"osv-advisory-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/osv-advisory-mcp-server@0.4.0"
],
"env": {
"OSV_REQUEST_TIMEOUT_MS": "<YOUR_OSV_REQUEST_TIMEOUT_MS>",
"OSV_BATCH_CONCURRENCY": "<YOUR_OSV_BATCH_CONCURRENCY>",
"OSV_QUERY_MAX_PAGES": "<YOUR_OSV_QUERY_MAX_PAGES>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"osv-advisory-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/osv-advisory-mcp-server@0.4.0"
],
"env": {
"OSV_REQUEST_TIMEOUT_MS": "<YOUR_OSV_REQUEST_TIMEOUT_MS>",
"OSV_BATCH_CONCURRENCY": "<YOUR_OSV_BATCH_CONCURRENCY>",
"OSV_QUERY_MAX_PAGES": "<YOUR_OSV_QUERY_MAX_PAGES>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"osv-advisory-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/osv-advisory-mcp-server@0.4.0"
],
"env": {
"OSV_REQUEST_TIMEOUT_MS": "<YOUR_OSV_REQUEST_TIMEOUT_MS>",
"OSV_BATCH_CONCURRENCY": "<YOUR_OSV_BATCH_CONCURRENCY>",
"OSV_QUERY_MAX_PAGES": "<YOUR_OSV_QUERY_MAX_PAGES>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"osv-advisory-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/osv-advisory-mcp-server@0.4.0"
],
"env": {
"OSV_REQUEST_TIMEOUT_MS": "<YOUR_OSV_REQUEST_TIMEOUT_MS>",
"OSV_BATCH_CONCURRENCY": "<YOUR_OSV_BATCH_CONCURRENCY>",
"OSV_QUERY_MAX_PAGES": "<YOUR_OSV_QUERY_MAX_PAGES>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like OSV Advisory MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.