osv-advisory-mcp-server
Server Details
Query OSV.dev for package vulnerabilities and batch-audit dependency lists via MCP.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- cyanheads/osv-advisory-mcp-server
- GitHub Stars
- 1
- Server Listing
- osv-advisory-mcp-server
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.4/5 across 4 of 4 tools scored.
Each tool has a distinct purpose: fetching full advisory by ID, listing ecosystems, batch query, and single package query. No overlap, descriptions clarify usage boundaries.
All tools follow the osv_verb_noun pattern consistently (get_vulnerability, list_ecosystems, query_batch, query_package), with predictable behavior.
4 tools is well-scoped for a vulnerability database server: discovery, single query, batch query, and full detail retrieval. No bloat or deficiency.
Covers core workflows: ecosystem discovery, single and batch queries, and full advisory retrieval. Minor gap: no direct CVE search, but aliases are returned and chaining with NVD server is suggested.
Available Tools
4 toolsosv_get_vulnerabilityOsv Get VulnerabilityARead-onlyIdempotentInspect
Fetch the full advisory record for an OSV vulnerability ID. Returns the complete record: summary, full details text, CVE aliases, all affected packages and version ranges, fix versions, CVSS severity vectors, CWE weakness IDs, and references. Use when osv_query_package or osv_query_batch returns a vuln ID and you need the full advisory context — eligibility criteria, scope of affected packages, or remediation guidance.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | OSV vulnerability ID. Accepts any prefix: "GHSA-" (GitHub), "PYSEC-" (Python), "RUSTSEC-" (Rust), "GO-" (Go), "DSA-"/"DLA-" (Debian), "CVE-" (fallback direct lookups). Example: "GHSA-29mw-wpgm-hmr9". |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | OSV vulnerability ID. |
| cweIds | Yes | CWE weakness classifications (e.g. ["CWE-79"]). Present on GitHub Advisory Database records; empty otherwise. |
| aliases | Yes | Alternative IDs — usually CVE IDs. Accepted by nvd_get_cve on nist-nvd-mcp-server for CVSS base score, EPSS exploitation probability, and CISA KEV status. |
| details | Yes | Full advisory text, typically in Markdown. May include proof-of-concept, reproduction steps, or remediation guidance. |
| summary | Yes | One-line advisory description. |
| affected | Yes | All affected packages and their version ranges. An advisory may span multiple packages or ecosystems. |
| modified | Yes | ISO 8601 timestamp of last modification. |
| severity | Yes | CVSS severity entries. Empty for unscored advisories. |
| published | Yes | ISO 8601 timestamp when published. |
| withdrawn | No | ISO 8601 timestamp when this advisory was withdrawn. Present ONLY on withdrawn advisories — a withdrawn record has been retracted and must not be treated as an active vulnerability. |
| references | Yes | Advisory references — NVD links, patches, vendor advisories, PoC reports. |
| schemaVersion | Yes | OSV schema version this record conforms to (e.g. "1.7.3"). |
| severityLabel | Yes | Human-readable severity label ("LOW", "MODERATE", "HIGH", "CRITICAL"). Present on GHSA-sourced records; null when not available. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true and idempotentHint=true. Description adds value by listing the fields returned (summary, details, CVEs, etc.), providing behavioral context beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences: first clearly states purpose, second explains usage and return content. Front-loaded and concise with no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple parameter, existence of output schema, and the description's thorough listing of return fields (summary, details, CVEs, affected packages, etc.), the description is complete for an agent to understand functionality and outcomes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and includes details about the 'id' parameter (prefixes, example). The tool description repeats no parameter-specific information beyond what the schema already provides, so it adds no new semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Fetch') and resource ('full advisory record for an OSV vulnerability ID'). It distinguishes from siblings by mentioning that osv_query_package and osv_query_batch return vuln IDs, and this tool provides the full context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use: after osv_query_package or osv_query_batch returns a vuln ID and you need full advisory context. Does not mention when not to use, but the usage context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
osv_list_ecosystemsOsv List EcosystemsARead-onlyIdempotentInspect
Return the list of supported ecosystem identifier strings for use with osv_query_package and osv_query_batch. Ecosystem strings are case-sensitive exact matches — passing "pypi" instead of "PyPI" returns an error from the API. Use this tool to discover valid ecosystem strings before querying, or to verify an ecosystem identifier from a lockfile format. The list is static (maintained from the OSV schema spec) and may occasionally lag newly added ecosystems.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| note | Yes | Advisory note about list currency and canonical source. |
| ecosystems | Yes | Supported ecosystem identifier strings. These are case-sensitive exact matches required by the ecosystem parameter of osv_query_package and osv_query_batch. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint and idempotentHint. The description adds that the list is static and may lag new ecosystems, providing additional behavioral context beyond the annotations. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the main action. Every sentence adds value, and there is no wasted text. It is well-structured for quick parsing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no parameters, detailed annotations, and an output schema, the description is fully complete. It provides all necessary information for the agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and schema coverage is 100%, so the description does not need to add parameter information. Baseline is 4 for tools with no parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that it returns the list of supported ecosystem identifier strings for use with other tools. It specifies the purpose and exactly what the tool provides, distinguishing it from sibling tools like osv_query_package and osv_query_batch.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says to use this tool before querying or to verify an ecosystem identifier. It also notes case sensitivity concerns. While it does not explicitly state when not to use it, the guidance is clear for a simple list tool with no alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
osv_query_batchOsv Query BatchARead-onlyIdempotentInspect
Query vulnerabilities for multiple packages in one call — the primary tool for dependency audits, SBOM scanning, and lockfile triage. Pass an array of {name, ecosystem, version} tuples (up to 1000). Each entry in the response corresponds positionally to the input. Each finding includes CVE aliases for chaining to nist-nvd-mcp-server for CVSS scoring.
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | Packages to audit. One entry per dependency. Positional: result[i] corresponds to packages[i]. |
Output Schema
| Name | Required | Description |
|---|---|---|
| notice | No | Present on all-clean or all-errors batches — the aggregate outcome for content-only clients. |
| results | Yes | Per-package results, positionally matching the input array. |
| summary | Yes | Aggregate statistics across the full batch. |
| effectiveQuery | No | Compact scan summary (package and outcome counts), echoed on edge-case batches for content-only clients. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so safety and idempotency are clear. The description supplements with positional correspondence and chaining hints, adding value without contradicting annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose and use cases, no filler. Every sentence provides actionable information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the batch complexity and the presence of an output schema (not evaluated but noted), the description adequately covers input structure and positional output. It could mention the output schema format, but the context signal suggests it exists.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description mentions tuple format and limits, but these are already in the schema. No significant additional semantic meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool queries vulnerabilities for multiple packages, labels it as the 'primary tool' for dependency audits, and distinguishes it from siblings like osv_query_package (which queries one package).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It specifies use cases (dependency audits, SBOM scanning, lockfile triage), contrasts with single-query sibling, and mentions a 1000-package limit. However, it does not explicitly state when to avoid this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
osv_query_packageOsv Query PackageARead-onlyIdempotentInspect
Query known vulnerabilities for a single package version across any supported ecosystem. Returns all matching OSV advisories with severity (CVSS vectors), CVE aliases, affected version ranges, and first safe version. Use osv_list_ecosystems to validate the ecosystem string before querying — ecosystem strings are case-sensitive exact matches and an invalid value returns an error, not empty results.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name as it appears in the ecosystem (e.g. "express", "requests", "serde"). Case-sensitive. | |
| version | Yes | Package version to check (e.g. "4.17.1", "3.1.4", "1.0.0"). Must be an exact version string, not a range. | |
| ecosystem | Yes | Ecosystem identifier. Must be an exact match (case-sensitive). Use osv_list_ecosystems to see valid values. Examples: "npm", "PyPI", "crates.io", "Go", "Maven", "NuGet". |
Output Schema
| Name | Required | Description |
|---|---|---|
| vulns | Yes | Vulnerabilities matching this package version. An empty array means no known vulnerabilities ONLY when truncated is false. |
| notice | No | Present on the clean path — confirms no known vulnerabilities for the queried package. |
| queryMeta | Yes | Query parameters as submitted. |
| truncated | Yes | True when OSV returned more result pages than the fetch cap could follow — the vulnerability list may be INCOMPLETE. A truncated empty list is NOT a clean result; raise OSV_QUERY_MAX_PAGES or narrow the query. |
| effectiveQuery | No | The package@version (ecosystem) tuple as queried, echoed for content-only clients. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint=true, idempotentHint=true. The description adds behavioral details: returns OSV advisories with severity (CVSS), CVE aliases, affected version ranges, and first safe version. It also notes that invalid ecosystem returns error, not empty results. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two focused sentences: the first states the core function, the second provides essential usage guidance. No unnecessary words, and critical information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-package query tool, the description covers input validation, return contents, and error behavior. An output schema exists (not shown but noted), so return values are expectedly documented. The description is complete for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents each parameter thoroughly (type, pattern, examples). The description adds context about ecosystem validation and case-sensitivity, but this is largely redundant with the schema descriptions. Baseline 3 is appropriate with minimal added value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool queries known vulnerabilities for a single package version across supported ecosystems, using specific verbs and resource. It implicitly distinguishes from siblings like osv_get_vulnerability (which queries by ID) and osv_query_batch (which handles multiple packages).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs to use osv_list_ecosystems for ecosystem validation before querying, and warns that invalid ecosystem strings return errors. This provides clear when-to-use guidance and a direct alternative, meeting the top criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Flicense-qualityCmaintenanceScans Python, Node.js, Java/Spring, and PHP dependency manifests for known vulnerabilities using OSV and GitHub Advisory APIs.Last updated
- AlicenseAqualityBmaintenanceA local MCP server that scans repository dependencies for known vulnerabilities (CVEs) using OSV.dev, enriches findings with NVD and CISA KEV data, and supports triage, remediation, and accepted risk management directly from an AI coding assistant.Last updated6191MIT
- AlicenseBqualityCmaintenanceAudits package lockfiles for vulnerabilities, supporting npm, yarn, and pnpm. Runs via CLI or as an MCP server over stdio.Last updated13086MIT
- Alicense-qualityFmaintenanceMCP server for querying Google's Open Source Vulnerabilities (OSV) database. Enables vulnerability lookups by package, version, commit, or ID using natural language via Pipeworx gateway.Last updated13MIT
Your Connectors
Sign in to create a connector for this server.