Osv logo

Osv

Query OSV.dev for package, version, commit, and batch vulnerability data through MCP.

Install Osv

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "osv": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-osv"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (5d ago).

Overview

Osv MCP server connects AI agents to OSV.dev for open-source vulnerability lookups. Its tools cover package and version queries, commit-based checks, individual vulnerability details, and batches of up to 1,000 dependency entries. Use it for dependency triage, pinned-commit analysis, or SBOM-style scans without an OSV API key. It is available through a hosted MCP endpoint or an npm-based local stdio bridge.

Use cases

  • Scan a lockfile’s dependencies for known vulnerabilities
  • Check a package at a pinned version before deployment
  • Inspect vulnerabilities affecting a pinned Git commit
  • Retrieve full details for a CVE or GHSA record

Key features

  • Package and version vulnerability queries
  • Git commit vulnerability checks
  • Batch scans of up to 1,000 entries
  • Full OSV record lookup by identifier
  • Hosted MCP and npm stdio connection modes

Tools4

What Osv lets your agent do. Expand a tool for its parameters.

Verified live~652 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

11/11 checks healthy over the last 61d

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 4Read-only tools · 4
Network at startup5 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age146 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-osv (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads436Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.

How Osv works

What Osv does

Osv MCP server exposes OSV.dev vulnerability data to MCP-compatible clients. It is intended for checking whether packages, package versions, or source commits are associated with known vulnerabilities, then retrieving the details needed to assess a finding.

The integration is keyless at the OSV tool level. It can return compact findings for scanning workflows or full records for investigating one vulnerability. The project is an independent, unofficial integration and is not affiliated with the upstream OSV.dev provider.

How it works

You can connect an MCP client to the hosted endpoint at https://gateway.pipeworx.io/osv/mcp. The endpoint serves the Osv tools together with shared Pipeworx gateway tools. A full gateway connection at https://gateway.pipeworx.io/mcp exposes the broader catalog directly; both endpoints can use ask_pipeworx to route questions across the catalog.

For local process-based setups, @pipeworx/mcp-osv runs through npx as a stdio bridge. It forwards requests to the hosted gateway, so network access is required and there is no offline mode. The HTTP API also permits direct calls such as POST /v1/tools/query_package_vulns.

Setup and configuration

Hosted MCP configuration:

config.json
{
  "mcpServers": {
    "osv": {
      "url": "https://gateway.pipeworx.io/osv/mcp"
    }
  }
}

For the npm bridge, configure the client to start the package with npx:

config.json
{
  "mcpServers": {
    "osv": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-osv"]
    }
  }
}

Anonymous calls are capped at 50 per day. A free Pipeworx account raises the allowance to 200 calls per day; provide its key as PIPEWORX_API_KEY. Set PIPEWORX_META_TOOLS=1 if the local bridge should list shared gateway tools in addition to the Osv tools. When using an HTTPS proxy, newer Node.js releases can honor the proxy environment setting when NODE_USE_ENV_PROXY=1 is enabled.

Tools and capabilities

  • query_package_vulns checks a package across an OSV ecosystem, optionally at a specific version. Leaving out the version returns all known vulnerabilities for that package.
  • get_vulnerability retrieves full information for an OSV identifier, including aliases, severity, affected package ranges, and references.
  • query_by_commit checks a source repository commit, which is useful when a dependency is pinned to a commit rather than a release.
  • query_batch accepts up to 1,000 package or commit entries for dependency inventories and SBOM-style checks. It returns matched vulnerability IDs; call get_vulnerability to inspect individual records.

Limitations and notes

The npm bridge depends on the hosted Pipeworx gateway and cannot operate offline. Anonymous usage has a daily call limit, while authenticated calls use a Bearer token and are metered according to the gateway account. Pack endpoints also list shared gateway meta-tools, so the visible tool count can exceed the four Osv-specific tools.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Osv

Osv is an MCP server that connects AI agents to OSV.dev, the Open Source Vulnerabilities database. Its main tools query package vulnerabilities, inspect a vulnerability by OSV ID, check a Git commit, and submit batches of up to 1,000 package or commit entries for dependency scanning.

Add the hosted MCP URL or run the npm bridge with npx. Use `https://gateway.pipeworx.io/osv/mcp` for a remote connection, or configure `npx -y @pipeworx/mcp-osv` as a stdio server. The bridge requires network access.

Yes, Osv works with Cursor through the hosted MCP URL or its npm stdio configuration. Add the server under Cursor’s MCP settings using `https://gateway.pipeworx.io/osv/mcp`, or start the `@pipeworx/mcp-osv` package with `npx`.

Yes, use `query_batch` with up to 1,000 package or commit entries. The tool returns matched vulnerability IDs for each query, and `get_vulnerability` provides full details for individual results.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOsv AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/osv?style=directory)](https://allmcps.com/mcp/osv)
HTML Embed
<a href="https://allmcps.com/mcp/osv"><img src="https://allmcps.com/api/badge/osv?style=directory" alt="Osv on AllMCPs" /></a>