by UPinar
Provides security intelligence tools for AI agents, offering CVE/KEV/CWE lookup with EPSS, domain and IP audit, IOC enrichment, code security analysis, and MITRE ATLAS and D3FEND data through a free MCP server that requires no API key.
ContrastAPI delivers a suite of 42 security‑focused tools accessible via the Model Context Protocol (MCP). It aggregates vulnerability data (CVE, KEV, CWE), threat intelligence (IOC, IP, domain), and MITRE knowledge bases (ATLAS for AI/ML attacks and D3FEND for defenses) to enable AI agents to reason about cyber risks without manual querying.
{
"mcpServers": {
"contrastapi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.contrastcyber.com/mcp/"]
}
}
}
curl https://api.contrastcyber.com/v1/cve/CVE-2021-44228
curl https://api.contrastcyber.com/v1/atlas/AML.T0051
curl https://api.contrastcyber.com/v1/d3fend/attack/T1059
next_calls pivot hints to build end‑to‑end security workflows.Q: Do I need an API key? A: No. The public endpoint is free and rate‑limited to 100 credits per hour.
Q: Which programming languages are supported? A: Any language that can make HTTP requests. SDKs are provided for Node.js, Python (mcp‑python‑sdk), and a VS Code extension.
Q: How many tools are available? A: 42 distinct security tools covering vulnerability data, OSINT, MITRE ATLAS, and D3FEND.
Q: Can I self‑host the server?
A: Yes. Clone the repository, install Python 3.12, FastAPI, and run uvicorn app.main:app as described in the README.
Q: What does the verdict block contain?
A: Fields such as deterministic, data_age_seconds, sources_queried, and completeness to let downstream agents verify and re‑derive the response.
Security intelligence MCP server for AI agents. CVE/KEV/CWE lookup with EPSS, domain audit, IP threat reports, IOC enrichment, code security, MITRE ATLAS (AI/ML attacks) + D3FEND (defenses). 42 tools, free, no API key, 100 credits/hour.
中文 · Live: api.contrastcyber.com
{
"mcpServers": {
"contrastapi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.contrastcyber.com/mcp/"]
}
}
}
Restart your agent. Other clients (Node SDK, cURL, VS Code): mcp-setup · quickstart
curl https://api.contrastcyber.com/v1/cve/CVE-2021-44228
curl https://api.contrastcyber.com/v1/atlas/AML.T0051 # MITRE ATLAS — LLM Prompt Injection
curl https://api.contrastcyber.com/v1/d3fend/attack/T1059 # D3FEND defenses for ATT&CK T1059
Or ask your agent:
Endpoints: docs/ENDPOINTS.md · OpenAPI: openapi.json · Playground: /playground
git clone https://github.com/UPinar/contrastapi.git
cd contrastapi && python3 -m venv venv && venv/bin/pip install -r requirements.txt
cd app && ../venv/bin/uvicorn main:app --port 8002
cd app && python -m pytest tests/ -q # 1263 tests
Python 3.12 · FastAPI · uvicorn · mcp-python-sdk Streamable HTTP at /mcp · SQLite WAL · dnspython with SSRF-safe backend.
Smithery · npm · VS Code Marketplace · Awesome OSINT MCP · RapidAPI
Responses include a verdict block — deterministic, falsifiable_fields, data_age_seconds, sources_queried / sources_unavailable, completeness — so a verifier agent can independently re-derive specific fields from the upstream authority (NVD, RDAP, CT logs, URLhaus). Probe GET /v1/capabilities for "verdict_metadata": true.
CVE responses also embed next_calls: list[PivotHint] — {tool, input, reason} triples that suggest the next MCP tool to call (e.g. kev_detail when kev.in_kev=true, cwe_lookup when cwe_id is set). Agents chain workflows without manual prompting.
MIT
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by chaitin
A self‑hosted web application firewall and reverse proxy that protects web applications from attacks and exploits by filtering, monitoring, and blocking malicious HTTP/S traffic.
by snyk
Scans installed AI agent components, MCP servers, and skill files for prompt‑injection, tool poisoning, toxic flows, hard‑coded secrets and other supply‑chain risks.
by OpenOSINT
Provides an AI‑driven OSINT workflow that lets users query a natural‑language REPL, CLI, web UI, or MCP server, automatically selecting and chaining 18 reconnaissance tools to collect, pivot, verify, and report public‑source intelligence.
by safedep
Provides enterprise‑grade open source software supply chain security by scanning source code, dependencies, containers and SBOMs, detecting vulnerabilities and malicious packages, and enforcing policy as code.
by tufantunc
Provides controlled SSH access for LLM agents with command classification, policy‑based authorization, human‑in‑the‑loop approval, and immutable audit logging.
by semgrep
Offers an MCP server that lets LLMs, agents, and IDEs run Semgrep scans to detect security vulnerabilities in source code.
by KeyValueSoftwareSystems
Enables adversary emulation for AI agents, LLM applications, and MCP servers, letting teams test their AI systems against realistic attack scenarios.
by PortSwigger
Enables Burp Suite to communicate with AI clients via the Model Context Protocol, providing an MCP server and bundled stdio proxy.
by gensecaihq
Provides AI‑driven conversational access to Wazuh SIEM data, allowing natural‑language queries, threat analysis, incident triage, and compliance checks through a Model Context Protocol‑compliant remote server.
{
"mcpServers": {
"contrastapi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.contrastcyber.com/mcp/"
],
"env": {}
}
}
}claude mcp add contrastapi npx -y mcp-remote https://api.contrastcyber.com/mcp/