OSV.dev
Open Source Vulnerabilities API for querying package, commit, and vulnerability records.
Tools
| Name | Description |
|---|---|
query_package_versionQuery OSV vulnerabilities for a package name and optional version. | Query OSV vulnerabilities for a package name and optional version. |
query_commitQuery OSV vulnerabilities for a source commit hash. | Query OSV vulnerabilities for a source commit hash. |
query_batchQuery OSV vulnerabilities for multiple package versions or commits. Provide the official querybatch JSON body. | Query OSV vulnerabilities for multiple package versions or commits. Provide the official querybatch JSON body. |
get_vulnerabilityGet one OSV vulnerability record by OSV ID. | Get one OSV vulnerability record by OSV ID. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('osv-dev', 'query_package_version', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'osv-dev',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect OSV.dev to my app?
OSV.dev does not require an external account connection. Install the SDK, add the integration to a workspace, then execute tools programmatically.
What tools does OSV.dev support?
OSV.dev supports 4 tools including Query Package Version, Query Commit, Query Batch, Get Vulnerability.
Can I use OSV.dev with AI agents?
Yes. Add OSV.dev to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
Can OSV.dev be used in stateful agent workflows?
Yes. Agents can combine OSV.dev tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does OSV.dev use?
OSV.dev does not require external authentication.
How much does the OSV.dev integration cost?
The OSV.dev integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
Connect OSV.dev in minutes
Get 20,000 free action executions every month. No credit card required.