Skip to main content
Glama
OSV Dependency CVE Scanner MCP Server

OSV Dependency CVE Scanner MCP Server

by deepakshe

OSV Dependency CVE Scanner MCP Server & Python API

Apify Store deepakshe/osv-dependency-cve-scanner-mcp-api MCP server MCP Server License: MIT Hub

Scan open-source software packages against the Google OSV distributed vulnerability database for known CVEs. MCP Server & Python SDK.


⚑ Instant Normalized Output (Sample JSON)

[
  {
    "package": "lodash",
    "ecosystem": "npm",
    "vulnerabilities_count": 2,
    "cve_list": [
      "CVE-2021-23337",
      "CVE-2020-8203"
    ],
    "highest_severity": "HIGH",
    "fixed_versions": [
      "4.17.21"
    ]
  }
]

Related MCP server: Security Intel MCP

πŸ€– 1-Click MCP Config (Claude Desktop, Cursor, Windsurf)

{
  "mcpServers": {
    "osv-dependency-cve-scanner": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "deepaksheoran172/osv-dependency-cve-scanner"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
  • Remote Streamable HTTP MCP: https://mcp.apify.com/?tools=deepaksheoran172/osv-dependency-cve-scanner

  • AI Crawler Spec (llms.txt): llms.txt


⚑ The Problem vs. The Solution

Commercial software composition analysis tools cost thousands per seat. This tool directly queries Google's Open Source Vulnerabilities (OSV.dev) database to flag known CVEs, severity ratings, affected versions, and fixed versions with zero overhead.

  • Zero-Proxy Architecture: Pure asynchronous execution designed for extreme speed (<50MB RAM).

  • Multi-Interface Support: Run via pure Python SDK, cURL, Node.js fetch, n8n / Make.com workflow, or Claude / Cursor MCP Agent.

  • Production Reliable: Backed by Apify's serverless infrastructure with 99.9% uptime SLA.


πŸš€ Quickstart: 1-Line cURL (Test in 2 Seconds)

curl -X POST "https://api.apify.com/v2/acts/deepaksheoran172~osv-dependency-cve-scanner/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{\"packageName\": \"lodash\", \"ecosystem\": \"npm\"}'

πŸš€ Quickstart: Pure Python (Zero-Dependency)

No third-party SDKs required. Run directly with Python standard library:

import json
import os
import urllib.request

APIFY_TOKEN = os.getenv("APIFY_TOKEN", "YOUR_APIFY_TOKEN")
ACTOR_URL = "https://api.apify.com/v2/acts/deepaksheoran172~osv-dependency-cve-scanner/run-sync-get-dataset-items?token=" + APIFY_TOKEN

payload = {
  "packageName": "lodash",
  "ecosystem": "npm"
}

req = urllib.request.Request(
    ACTOR_URL,
    data=json.dumps(payload).encode("utf-8"),
    headers={"Content-Type": "application/json"},
    method="POST"
)

with urllib.request.urlopen(req, timeout=120) as resp:
    results = json.loads(resp.read().decode("utf-8"))
    print(f"Retrieved {len(results)} items:")
    print(json.dumps(results[:2], indent=2))

🌐 Quickstart: Node.js / TypeScript

const APIFY_TOKEN = process.env.APIFY_TOKEN || 'YOUR_APIFY_TOKEN';
const ACTOR_URL = `https://api.apify.com/v2/acts/deepaksheoran172~osv-dependency-cve-scanner/run-sync-get-dataset-items?token=${APIFY_TOKEN}`;

const payload = {
  "packageName": "lodash",
  "ecosystem": "npm"
};

async function run() {
  const res = await fetch(ACTOR_URL, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify(payload)
  });
  const items = await res.json();
  console.log(`Received ${items.length} records:`, items.slice(0, 2));
}

run().catch(console.error);

πŸ€– Claude Desktop & Cursor MCP Server Setup

Add this actor to your claude_desktop_config.json to allow Claude / Cursor AI agents to execute it autonomously:

{
  "mcpServers": {
    "osv-dependency-cve-scanner": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN",
        "ACTOR_NAME": "deepaksheoran172/osv-dependency-cve-scanner"
      }
    }
  }
}

πŸ”„ n8n & Make.com Automation

A fully configured production n8n workflow template is bundled in this repository as workflow.json.

  1. In n8n, click Workflow -> Import from File... and select workflow.json.

  2. Provide your APIFY_TOKEN in the environment variables or HTTP Request node.

  3. Schedule it to run daily or trigger on demand from webhooks.


πŸ“Š Output Schema Highlights

Each returned item includes normalized, RFC-compliant fields:

  • package

  • ecosystem

  • vulnerabilities_count

  • cve_list

  • highest_severity

  • fixed_versions


🏷️ Pricing & 60% Launch Discount

  • Apify Store: Available under pay-per-result pricing with a 60% Launch Discount.

  • Run Online: Test it instantly on the Apify Store Console.

  • Fleet Hub: Explore all 62 enterprise scrapers and MCP servers at b2b-mcp-apify-scrapers-hub.


πŸ›‘οΈ 100% Automated Self-Service & Zero-DM Guarantee

  • Pure Self-Service: Runs autonomously via Apify Cloud API. No sales calls, manual configuration, or onboarding tickets needed.

  • Pay-Per-Result: Only successful output items are billed. Zero-charge on failed executions.

  • API Documentation: For key creation, webhooks, and concurrency settings, see Apify Docs.


πŸ“„ License

MIT License. Free for personal, commercial, and enterprise integration.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Vulnerability intelligence for AI agents that enables CVE lookup, package vulnerability checks, and dependency auditing without API keys.
      5
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Enables AI agents to submit npm, PyPI, Go, or Maven packages and manifests to the free OSV.dev database and receive per-package and per-advisory results with CVE mappings, CVSS scores, severities, and the versions that fix each issue. It also supports filtering by minimum severity, de-duplicating alias advisories, and machine-readable error/warning rows for CI gates and upgrade recommendations.
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI coding agents to run sub-millisecond, fully offline CVE lookups and audit dependency manifests such as requirements.txt and package.json against known vulnerable version ranges. It returns CVSS severity details and calculates the minimal safe upgrade version needed to eliminate matching vulnerabilities, without rate limits or API keys.
      4
      MIT