OSV
Servidor MCP para OSV
Un servidor MCP (Protocolo de contexto de modelo) liviano para la API de base de datos OSV.
Ejemplo:
Herramientas proporcionadas
Descripción general
nombre | descripción |
paquete de consulta_cve | Lista todos los CVE-ID de un paquete específico. También se puede pasar una versión específica para CVE-ID de alcance más limitado. |
consulta_de_cve_afectados | Consulta la base de datos OSV en busca de un CVE y devuelve todas las versiones afectadas del paquete. |
consulta_para_versiones_corregidas_de_cve | Consulta la base de datos OSV en busca de una CVE y devuelve todas las versiones que corrigen la vulnerabilidad. |
obtener_ecosistemas | Consulte el MCP para conocer los ecosistemas compatibles actualmente. |
Descripción detallada
paquete de consulta_cve
Consulta la base de datos OSV en busca de un paquete y devuelve los ID de CVE.
Parámetros de entrada:
package(cadena, obligatorio): el nombre del paquete a consultarversion(cadena, opcional): La versión del paquete que se consultará. Si no se especifica, se consultan todas las versiones.ecosystem(cadena, opcional): El ecosistema del paquete. El valor predeterminado es "PyPI" para los paquetes de Python.
Devuelve una lista de ID de CVE con sus detalles
consulta_de_cve_afectados
Consulta la base de datos OSV en busca de un CVE y devuelve todas las versiones afectadas.
Parámetros de entrada:
cve(cadena, obligatoria): el ID de CVE que se consultará (p. ej., "CVE-2018-1000805")
Devuelve una lista de cadenas de versiones afectadas
consulta_para_versiones_corregidas_de_cve
Consulta la base de datos OSV en busca de una CVE y devuelve todas las versiones que corrigen la vulnerabilidad.
Parámetros de entrada:
cve(cadena, obligatoria): el ID de CVE que se consultará (p. ej., "CVE-2018-1000805")
Devuelve una lista de cadenas de versiones fijas
obtener_ecosistemas
Consulta todos los ecosistemas soportados actualmente por los servidores MCP.
Devuelve un diccionario cuya clave es el nombre del ecosistema y el valor el lenguaje de programación/sistema operativo.
Related MCP server: MCP Vulnerability Checker Server
Prerrequisitos
Python 3.11 o superior : este proyecto requiere Python 3.11 o más reciente.
# Check your Python version python --versionInstalar uv : un instalador y solucionador rápido de paquetes de Python.
pip install uvO usa Homebrew:
brew install uv
Probado en
[X] Cursor
[X] Claude
Instalación
Vía Smithery :
npx -y @smithery/cli install @EdenYavin/OSV-MCP --client claudeEn la zona:
Clonar el repositorio:
https://github.com/EdenYavin/OSV-MCP.gitConfigure su host MCP (Cusrsor / Claude Desktop, etc.):
{
"mcpServers": {
"osv-mcp": {
"command": "uv",
"args": ["--directory", "path-to/OSV-MCP", "run", "osv-server"],
"env": {}
}
}
}
¡Deja una reseña en VibeApp si te gustó! :)
Available Tools
4 toolsget_ecosystemsA
Get all supported ecosystems. An ecosystem is a package manager or repository for a specific language.
Returns:
Dictionary of ecosystems with the key being the ecosystem name and the value being the programming language / OS.
To use the ecosystem name in the query_package_cve function, you must use the exact ecosystem name as it is in the dictionary.
Inputs: no named parameters.
query_for_cve_affectedB
Query the OSV database for a CVE and return the affected versions.
Args:
cve: The CVE ID to query
Returns:
A list of affected versions
Inputs: cve (required).
query_for_cve_fix_versionsB
Query the OSV database for a CVE and return the fix versions.
Args:
cve: The CVE ID to query
Returns:
A list of fix versions
Inputs: cve (required).
query_package_cveA
Query the OSV database for a package and return the CVE ID.
You can use this tool to get the CVE ID for a package.
ALWAYS use it before installing packages to check if the package is vulnerable. For example in requirements.txt, pyproject.toml, uv.lock, etc.
You can also use it to check if the package is vulnerable before updating the package.
Args:
package: The package name to query
version: The version of the package to query, can be None if you want to query all versions
ecosystem: The ecosystem of the package to query, can be None if you want to query all ecosystems.
* For supported ecosystems, see the get_ecosystems tool.
Returns:
A list of CVE IDs
Inputs: package (required), version, ecosystem.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: get_ecosystems retrieves ecosystem metadata, query_for_cve_affected and query_for_cve_fix_versions handle CVE-specific queries for affected and fixed versions respectively, and query_package_cve checks packages for vulnerabilities. The descriptions make it easy to differentiate between them, especially the two CVE-related tools that focus on different aspects of vulnerability data.
All tool names follow a consistent verb_noun pattern with snake_case: get_ecosystems, query_for_cve_affected, query_for_cve_fix_versions, and query_package_cve. The naming is predictable and readable, with 'query' used for database lookups and 'get' for metadata retrieval, maintaining a coherent style throughout the set.
With 4 tools, the count is reasonable for a vulnerability database server, covering core operations like ecosystem listing, CVE queries, and package checks. It feels slightly thin but well-scoped, as each tool serves a specific function without redundancy. A few more tools (e.g., for batch queries or detailed vulnerability info) could enhance it, but the current set is functional and appropriate.
The tool surface covers essential workflows for OSV database interactions: retrieving ecosystems, querying CVEs for affected and fixed versions, and checking packages for vulnerabilities. Minor gaps exist, such as no tool for listing all CVEs or querying by date/severity, but agents can work around this by combining existing tools. The set provides a solid foundation for vulnerability assessment tasks.
Maintenance
Related MCP Connectors
CVEs, affected versions and fix versions for your dependencies, from an affected-version ledger.
Actively exploited? End of life? Which version fixes it? CVE verdicts for server software.
Software vulnerabilities (CVEs) from the US NVD and package downloads for npm, PyPI and crates
Vulnerability management: scan projects, search sealed packages, manage sealing rules and reports.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA server that retrieves CVE details from the NVD API and fetches EPSS scores to provide comprehensive vulnerability information, including descriptions, CWEs, CVSS scores, and exploitation likelihood percentiles.13MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server providing security vulnerability intelligence tools including CVE lookup, EPSS scoring, CVSS calculation, exploit detection, and Python package vulnerability checking.89MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that scans project dependencies for security vulnerabilities (CVEs) and provides fix instructions directly in VS Code via Copilot.3-
- FlicenseNot gradedqualityDmaintenanceMCP server for retrieving vulnerability data (CVE) via HTTP, testable with MCP Inspector and OpenCode.2-