CVE MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CVE MCP Serverlook up CVE-2021-44228"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CVE MCP Server
A Model Context Protocol (MCP) server that provides CVE vulnerability lookup and search capabilities using the National Vulnerability Database (NVD).
Features
CVE Lookup: Get detailed information about specific CVEs by ID
CVE Search: Search for CVEs by keyword in descriptions
NVD Integration: Uses the official NVD API for up-to-date vulnerability data
CVSS Scoring: Provides CVSS v2 and v3 scores and severity ratings
Related MCP server: CVE Risk MCP Server
Prerequisites
Python 3.13+
uv package manager
NVD API key (optional but recommended for higher rate limits)
Installation
Local Installation
Clone or navigate to the project directory:
cd /path/to/cve-mcp-serverInstall dependencies:
uv syncSet up NVD API key (optional):
export NVD_API_KEY="your_nvd_api_key_here"
Running the Server
Local Installation
# Direct execution
uv run python server.pyMCP Client Configuration
For Claude Desktop
{
"mcpServers": {
"cve-lookup": {
"command": "uv",
"args": ["run", "--directory", "/path/to/cve-mcp-server", "python", "server.py"],
"env": {
"NVD_API_KEY": "your_nvd_api_key_here"
}
}
}
}Available Tools
get_cve(cve_id: str)
Retrieve detailed information about a specific CVE.
Parameters:
cve_id: The CVE identifier (e.g., "CVE-2021-44228")
Returns:
CVE ID, description, published date, CVSS scores, severity, CWE, and references
search_cve(keyword: str, limit: int = 10)
Search for CVEs by keyword in descriptions.
Parameters:
keyword: Search term to find in CVE descriptionslimit: Maximum number of results (default 10, max 50)
Returns:
List of matching CVEs with IDs, descriptions, severity, scores, and publication dates
Usage Examples
Once the MCP server is running and connected to your client:
"Look up CVE-2021-44228" (Log4Shell vulnerability)
"Search for CVEs related to Apache Log4j"
"Find vulnerabilities in WordPress"
"Get details for CVE-2023-1234"
Troubleshooting
Server Not Starting (Red Dot)
Check dependencies:
uv syncTest server manually:
uv run python server.pyVerify Python path:
which python3Check MCP configuration syntax in your config file
Common Issues
ModuleNotFoundError: Run
uv syncto install dependenciesPermission denied: Check file permissions and Python path
Connection failed: Restart your MCP client (Claude Desktop)
API rate limits: Set up NVD API key for higher limits
Configuration Tips
Use absolute paths in MCP configuration
Ensure the working directory is correct
Set environment variables properly
Restart the MCP client after configuration changes
Dependencies
mcp[cli]>=1.16.0- Model Context Protocol frameworknvdlib>=0.8.3- NVD API client libraryrequests>=2.32.5- HTTP requests library
API Key Setup
Get NVD API Key:
Register for a free API key
Set Environment Variable:
export NVD_API_KEY="your_api_key_here"Update MCP Configuration: Add the API key to your MCP server environment variables
Testing
Local Testing
# Test server imports
uv run python -c "import server; print('Server imports successfully')"
# Test server execution
uv run python server.pyLicense
This project is open source. See the project files for specific license information.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CrypKaChu/security-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server