MCP Hub
Back to servers

VulnMCP

An MCP server for vulnerability management that provides tools for automated severity and CWE classification using NLP models. It enables AI agents to query the Vulnerability Lookup API for detailed CVE information and search for security vulnerabilities across various sources.

glama
Stars
9
Updated
Mar 25, 2026
Validated
Mar 27, 2026

VulnMCP logo

VulnMCP

VulnMCP is an MCP server built with FastMCP that provides AI clients, chat agents, and other automated systems with tools for vulnerability management. It offers modular "skills" that can be easily extended or integrated, enabling intelligent analysis and automated insights on software vulnerabilities.

Features

Installation

Requires Python 3.10+ and Poetry v2+.

git clone https://github.com/vulnerability-lookup/VulnMCP.git
cd VulnMCP
poetry install

Running the MCP server

stdio (default)

The default transport, used by most MCP clients (Claude Code, Claude Desktop, etc.):

poetry run vulnmcp

HTTP transport

For network access or multiple concurrent clients:

poetry run fastmcp run vulnmcp/server.py --transport http --host 127.0.0.1 --port 9000

Available tools

ToolDescription
classify_severityClassify vulnerability severity (low/medium/high/critical) from a text description. Supports English and Chinese with auto-detection.
classify_cwePredict CWE categories from a vulnerability description. Returns top-5 predictions with parent CWE mapping.
get_recent_vulnerabilities_by_cweFetch the 3 most recent CVEs for a given CWE ID.
get_vulnerabilityLook up a specific vulnerability by ID (e.g. CVE-2025-14847) with optional comments, sightings, bundles, linked vulnerabilities, and KEV enrichment.
search_vulnerabilitiesSearch vulnerabilities with filters: source, CWE, product, date range, pagination, and optional KEV-aware prioritization.
search_sightingsSearch vulnerability sightings (seen/exploited/patched/etc.) with filters to identify what is actively discussed or abused.
create_sightingCreate a new sighting for a vulnerability (requires API permissions on most instances).
get_most_sighted_vulnerabilitiesRetrieve a ranking of vulnerabilities by sighting activity to help prioritize important issues.
list_kev_entriesList and filter KEV catalog entries by vulnerability ID, status reason, exploited flag, date range, or author.
guess_cpesQuery cpe-guesser with product keywords to infer likely CPE identifiers.

List all tools:

poetry run fastmcp list vulnmcp/server.py

Testing tools from the command line

Use fastmcp call to invoke any tool directly:

# Look up a specific CVE
poetry run fastmcp call vulnmcp/server.py get_vulnerability vulnerability_id=CVE-2025-14847

# Search for recent SQL injection vulnerabilities
poetry run fastmcp call vulnmcp/server.py search_vulnerabilities cwe=CWE-89 per_page=5

# Retrieve top most-sighted vulnerabilities
poetry run fastmcp call vulnmcp/server.py get_most_sighted_vulnerabilities limit=5

# Check if a CVE is in a KEV catalog
poetry run fastmcp call vulnmcp/server.py list_kev_entries vuln_id=CVE-2021-44228

# List recent KEV entries from the last week
poetry run fastmcp call vulnmcp/server.py list_kev_entries date_from=2026-03-18 per_page=5

# Guess likely CPE values from product keywords
poetry run fastmcp call vulnmcp/server.py guess_cpes query='["outlook","connector"]'

# Classify severity from a description
poetry run fastmcp call vulnmcp/server.py classify_severity \
    description="A remote code execution vulnerability allows an attacker to execute arbitrary code via a crafted JNDI lookup."

# Classify CWE from a description
poetry run fastmcp call vulnmcp/server.py classify_cwe \
    description="Fix buffer overflow in authentication handler"

Connecting to Claude Code

Register VulnMCP as an MCP server in Claude Code with:

claude mcp add vulnmcp -- poetry --directory /path/to/VulnMCP run vulnmcp

Or with fastmcp install:

poetry run fastmcp install claude-code vulnmcp/server.py --name VulnMCP

Once registered, the tools are available to Claude Code. You can verify with:

claude mcp list

Configuration

Environment variableDescriptionDefault
VULNMCP_LOOKUP_URLBase URL for the Vulnerability Lookup APIhttps://vulnerability.circl.lu
VULNMCP_CPE_GUESSER_URLBase URL for the cpe-guesser APIhttps://cpe-guesser.cve-search.org
VULNMCP_API_KEYAPI key used for authenticated actions such as creating sightings(unset)

Contributing

Please read CONTRIBUTING.md before opening a pull request.

Note: this repository currently runs an experiment where only computer-assisted (AI-related) contributions are accepted.

License

AGPL-3.0-or-later

Reviews

No reviews yet

Sign in to write a review