query_package_vulns
Pack: osv · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/query_package_vulns for the schema, then POST the same URL with its arguments for the data.
Find all known vulnerabilities for an open-source package, optionally at a specific version, via the OSV.dev database. Omit version to get every vuln known for the package. Returns a compact summary array (id, summary, aliases, severity, references). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Package name, e.g. “lodash”, “django”, “log4j-core”, “serde”. |
ecosystem | string | yes | Package ecosystem. Examples: “npm”, “PyPI”, “Go”, “Maven”, “crates.io”, “RubyGems”, “NuGet”. |
version | string | no | Optional package version, e.g. “4.17.20”. If given, only vulns affecting that version are returned; if omitted, all vulns for the package are returned. |
Example call
Arguments
{
"name": "lodash",
"ecosystem": "npm"
}
curl
curl -X POST https://gateway.pipeworx.io/osv/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_package_vulns","arguments":{"name":"lodash","ecosystem":"npm"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('query_package_vulns', {
"name": "lodash",
"ecosystem": "npm"
});
More examples
{
"name": "django",
"ecosystem": "PyPI",
"version": "3.2.0"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the osv pack
{
"mcpServers": {
"osv": {
"url": "https://gateway.pipeworx.io/osv/mcp"
}
}
}
See Getting Started for client-specific install steps.