Threat Intel MCP Server
威胁情报 MCP 服务器
一个为 Claude 提供威胁情报和漏洞研究工具的 FastMCP 服务器。集成了 NVD、VirusTotal、AbuseIPDB、Shodan 和 MITRE ATT&CK。
工具
工具 | 来源 | 描述 |
| NVD | CVE 详情、CVSS 评分、受影响产品 |
| NVD | 按产品和版本搜索 CVE |
| VirusTotal | 检查 IP、域名、URL 或文件哈希 |
| AbuseIPDB | 滥用置信度评分和报告历史 |
| Shodan | 开放端口、服务及关联的 CVE |
| MITRE ATT&CK | 技术详情、战术和缓解措施 |
Related MCP server: Exploit Intel Platform MCP Server
设置
1. 创建并激活虚拟环境:
python -m venv venv
.\venv\Scripts\Activate.ps12. 安装依赖:
pip install -r requirements.txt3. 配置 API 密钥 — 将 .env.example 复制为 .env 并填入您的密钥:
VIRUSTOTAL_API_KEY=your_key_here
ABUSEIPDB_API_KEY=your_key_here
SHODAN_API_KEY=your_key_here免费 API 密钥:VirusTotal · AbuseIPDB · Shodan
Claude Desktop
由于服务器现在通过 HTTP 运行,请先启动它,然后配置 Claude Desktop 通过 URL 连接。
1. 启动服务器(保持运行状态):
python server.py2. 添加到 %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"threat-intel": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}API 密钥会自动从 .env 中读取。
重要提示: Claude Desktop 仅在启动时读取
claude_desktop_config.json。保存配置后,请完全退出并重启 Claude Desktop — 更改在运行期间不会生效。
MCP Inspector
服务器通过 8000 端口上的 HTTP(Streamable HTTP)运行。请先启动它,然后连接 inspector。
1. 启动服务器:
python server.py2. 启动 inspector:
npx @modelcontextprotocol/inspector打开 **http://localhost:5173**,将传输方式设置为 Streamable HTTP,并输入 URL http://127.0.0.1:8000/mcp。
添加新工具
使用您的异步函数创建
tools/newtool.py在
server.py中注册它:
from tools.newtool import my_function as _my_function
@mcp.tool()
async def my_tool(param: str) -> str:
"""Tool description shown in Inspector and to the LLM.
Args:
param: Parameter description
"""
return str(await _my_function(param))FastMCP 会根据签名和文档字符串自动生成 JSON 模式。
API 速率限制
服务 | 免费层级 |
VirusTotal | 4 次请求/分钟,500 次请求/天 |
AbuseIPDB | 1,000 次请求/天 |
Shodan | 100 个结果/月 |
NVD | 无需密钥 |
MITRE ATT&CK | 无需密钥 |
故障排除
JSON-RPC / EOF 错误 — 此服务器使用 HTTP 传输。直接运行 python server.py 即可启动;不需要 mcp dev,该命令仅用于基于 stdio 的服务器。
未找到 API 密钥 — 确保项目根目录中存在 .env 文件(从 .env.example 复制)。启动时,服务器会打印警告,列出任何未设置的密钥及其影响的工具。
速率限制错误 — 请稍后再试,或升级到付费 API 层级。
This server cannot be deployed
Maintenance
Related MCP Connectors
CVE lookup via NIST NVD, CISA KEV, EPSS, and MITRE ATT&CK. 7 tools.
Threat intel + your scans/findings/Shield posture. CVE, EPSS, KEV, package vuln lookup, DAST.
CVE intelligence: exploitation (KEV/EPSS), detection coverage, fixed versions. All tools keyless.
Search and audit NIST NVD CVEs by keyword, severity, CWE, CISA KEV status, and CPE.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI-powered threat intelligence analysis of IPs, domains, URLs, and file hashes across multiple threat intelligence platforms (VirusTotal, AlienVault OTX, AbuseIPDB, IPinfo) with APT attribution and interactive reporting through natural language queries.17 PyPI39Apache 2.0
- AlicenseAqualityDmaintenanceEnables AI assistants to search and analyze vulnerabilities and exploits from multiple intelligence sources, including NVD, CISA KEV, ExploitDB, Metasploit, and more, with tools for CVE research, exploit analysis, and report generation.17MIT
- AlicenseNot gradedqualityFmaintenanceProvides CVE search enriched with EPSS exploit likelihood and CISA KEV status, plus live IP/domain reputation and a real-time threat feed for AI agents.MIT
- FlicenseNot gradedqualityDmaintenanceEnables cybersecurity research through Claude by providing tools for CVE lookup, IP geolocation, and file hash checking against VirusTotal.-