Skip to main content
Glama
CVE Checker for Node Modules

CVE Checker for Node Modules

MCP Server with CVE Checker for Node Modules

This Model Context Protocol (MCP) server provides tools for checking Common Vulnerabilities and Exposures (CVEs) in npm packages before installation, along with weather information tools.

Features

CVE Checking Tools

  • check_package_cves: Check a single npm package for known vulnerabilities

  • check_packages_bulk_cves: Check multiple npm packages at once before installation

Related MCP server: pkgproof

CVE Checking

The server uses the OSV (Open Source Vulnerabilities) API to check npm packages for known security vulnerabilities. This helps you make informed decisions before installing packages.

Usage Examples

Check a single package:

{
	"tool": "check_package_cves",
	"arguments": {
		"packageName": "express",
		"version": "4.17.1"
	}
}

Check multiple packages at once:

{
	"tool": "check_packages_bulk_cves",
	"arguments": {
		"packages": [
			{ "name": "express", "version": "4.17.1" },
			{ "name": "lodash", "version": "4.17.20" },
			{ "name": "axios" }
		]
	}
}

Building and Running

  1. Install dependencies:

npm install
  1. Build the project:

npm run build
  1. Run the MCP server:

node build/index.js

Usage

Add to .vscode/mcp.json to configure the MCP server in your development environment.

{
	"servers": {
		"cve-checker-mcp": {
			"type": "stdio",
			"command": "node",
			"args": ["./build/index.js"]
		}
	},
	"inputs": []
}

Integration

This MCP server can be integrated with any MCP-compatible client to provide CVE checking capabilities before installing npm packages.

Available Tools

2 tools
check_package_cvesB

Check for known CVEs/vulnerabilities in npm packages before installation

Inputs: packageName (required), version.

check_packages_bulk_cvesA

Check multiple npm packages for CVEs at once (useful before installing dependencies)

Inputs: packages (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation3/5

    The two tools have overlapping purposes—both check npm packages for CVEs—but their descriptions clarify the distinction: one handles single packages and the other handles multiple packages. This overlap could still cause mild confusion for an agent deciding which tool to use, especially if the context involves a single package where either might apply.

    Naming Consistency4/5

    The tool names follow a consistent verb_noun pattern with 'check' as the verb and 'cves' as a common element, using snake_case throughout. The minor deviation is the addition of 'bulk' in the second name, which is descriptive and maintains readability without breaking the overall pattern.

    Tool Count3/5

    With only 2 tools, the server feels thin for its purpose of CVE checking in Node modules, as it might lack operations like updating CVE databases, checking specific CVE details, or handling package versions. However, the core functionality is covered, making it borderline but not severely lacking.

    Completeness2/5

    The tool set is significantly incomplete for the domain of CVE checking. It covers basic checking but lacks tools for operations like retrieving CVE details, updating vulnerability databases, checking package versions against CVEs, or handling installation recommendations. This will likely cause agent failures when more comprehensive actions are needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables security scanning for npm dependencies by checking manifest and lockfiles against the OSV.dev and Socket.dev vulnerability databases. It provides tools to detect vulnerabilities in specific packages and retrieve detailed technical reports for identified security issues.
      3
      22 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Verifies npm packages for security risks before installation, checking advisories, install scripts, typosquatting, and other factors, providing safe/block verdicts.
      1
      136 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables auditing npm, pip, and other package dependencies for known CVEs via the OSV database, with tools to scan manifests, query individual packages, and integrate into CI/CD workflows.
      570 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables checking packages across npm, PyPI, Go, Maven, Cargo, NuGet, and RubyGems for existence, deprecation, known vulnerabilities, and license issues before installation, providing verdicts like does_not_exist, risky, verify, or ok.
      3
      1
      MIT