MCP ServerHTTPOfficialv1.27.1

ContrastAPI MCP Server

Query CVEs, KEV, MITRE ATLAS/D3FEND, domain/IP/IOC threat intelligence, and web intelligence (robots.txt, redirects, email validation, SEO) via 53 security tools. For security engineers, threat researchers, and AI agents automating vulnerability and threat triage.

com.contrastcyber/api

Hosted URL

https://api.contrastcyber.com/mcp/

Transport

HTTP

Auth

No auth required

ContrastAPI repository at a glance

Live signal from GitHub, refreshed weekly.

Stars

25

Last commit

May 18, 2026

License

MIT

Language

Python

What the ContrastAPI MCP server does

How models use it and what it is built for.

Query CVEs, KEV, MITRE ATLAS/D3FEND, domain/IP/IOC threat intelligence, and web intelligence (robots.txt, redirects, email validation, SEO) via 53 security tools. For security engineers, threat researchers, and AI agents automating vulnerability and threat triage.

Connect to ContrastAPI

Hosted endpoint β€” paste into any MCP client.

https://api.contrastcyber.com/mcp/

Resources

Where to find authoritative docs and source for ContrastAPI.

Example prompts for ContrastAPI

Paste any of these into Agent Studio after connecting ContrastAPI.

  • Search for KEV-listed OpenSSL CVEs and pull the full CVSS+EPSS record for the highest-risk one
  • Run a complete domain report for example.com including DNS, WHOIS, SSL, subdomains, and threat intel
  • Does CVE-2021-44228 have a public exploit available and what's its EPSS score
  • Check the reputation, geolocation, and ASN for 1.1.1.1 across threat feeds

Documentation from project README

View on GitHub

Excerpted from the project's README β€” boilerplate sections (license, changelog, contributing) omitted for clarity.

ContrastAPI β€” 53 Security Tools + 7 MCP Resources for AI Agents

ContrastAPI Banner

MCP smithery badge contrastapi MCP server License: MIT

Security intelligence MCP server for AI agents. CVE/KEV/CWE lookup with EPSS, composite risk scoring (CVSS+EPSS+KEV+PoC fusion β€” v1.29.1), CVSS v3.x vector parser (v1.29.1), domain audit, IP threat reports, IOC enrichment, code security, MITRE ATLAS (AI/ML attacks) + D3FEND (defenses), web intelligence (robots.txt, redirect-chain, email validation, brand-assets, SEO audit β€” v1.25.0). 53 tools + 7 Resources (ATLAS+D3FEND+CWE catalog browsing) + conditional triage Prompt, free, no API key, 30 credits/hour.

δΈ­ζ–‡ Β· Live: api.contrastcyber.com


Setup (MCP)

{
  "mcpServers": {
    "contrastapi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.contrastcyber.com/mcp/"]
    }
  }
}

Restart your agent. Other clients (Python SDK, Node SDK, cURL, VS Code): mcp-setup Β· quickstart

SDKs

pip install contrastapi      # Python 3.10+ β€” sync + async, typed responses, shortcut helpers
npm install contrastapi      # Node 14+ β€” concrete TypeScript types, 14 namespaces

Both SDKs cover all 60+ HTTP endpoints / 53 MCP tools (CVE/KEV/CWE, ATLAS, D3FEND, Sigma rules, email security posture, domain, IP, IOC, code-security, web-intel, etc.) with the same wire-exact response shapes and a typed exception hierarchy mirroring the v1.22.2+ error envelope. v1.23.0 adds MCP Resources (ATLAS+D3FEND+CWE catalog browsing β€” see docs/resources.md) and a conditional triage Prompt (see docs/PROMPTS.md#contrast-triage-v1230). v1.25.0 adds 5 web-intelligence tools (robots_txt, redirect_chain, email_verify, brand_assets, seo_audit) with explicit ethical-floor guardrails (per-target eTLD+1 throttle, robots.txt respected, no SMTP probing).

Try it

curl 'https://api.contrastcyber.com/v1/cves?product=openssl&kev=true'  # cve_search β€” CVEs by product, KEV-only filter
curl https://api.contrastcyber.com/v1/domain/example.com         # domain_report β€” DNS+WHOIS+SSL+subdomains+intel, one call
curl https://api.contrastcyber.com/v1/cve/CVE-2021-44228         # cve_lookup β€” full record (CVSS+EPSS+KEV+CWE)
curl https://api.contrastcyber.com/v1/exploit/CVE-2021-44228     # exploit_lookup β€” public PoC / exploit availability
curl https://api.contrastcyber.com/v1/ip/1.1.1.1                 # ip_lookup β€” reputation, geo, ASN, threat intel

Or ask your agent:

  • "Search for KEV-listed OpenSSL CVEs, then pull the full record for the highest-EPSS one."
  • "Run a full domain report for example.com β€” DNS, WHOIS, SSL, subdomains, and threat intel in one call."
  • "Does CVE-2021-44228 have a public exploit or PoC available?"
  • "What's the reputation, country, and ASN for 1.1.1.1 β€” is it flagged in any threat feed?"

Links

Endpoints: docs/ENDPOINTS.md Β· OpenAPI: openapi.json Β· Playground: /playground

Also available on

Smithery Β· npm Β· VS Code Marketplace Β· Awesome OSINT MCP Β· RapidAPI

Multi-agent verdict metadata

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

View the full README on GitHub

ContrastAPI MCP server β€” FAQ

Common questions about connecting and running ContrastAPI.

  • What security data does ContrastAPI cover?

    CVE/KEV/CWE lookups with CVSS+EPSS scoring, MITRE ATLAS (AI/ML attacks) and D3FEND defenses, domain/IP/IOC threat reports, exploit availability, web intelligence (robots.txt, redirects, email validation, brand assets, SEO audit), and code security tools. The README lists 53 tools across 60+ HTTP endpoints.

  • Do I need an API key to use this MCP server?

    No API key required. The server is free with a 30 credits/hour rate limit. Setup via `npx mcp-remote https://api.contrastcyber.com/mcp/` in your MCP config.

  • What programming languages have SDKs?

    Python (3.10+) and Node.js (14+) SDKs are available via pip and npm. Both provide typed responses, async support, and cover all 53 MCP tools with identical wire-exact response shapes.

  • How does ContrastAPI handle web intelligence ethically?

    Web intelligence tools (robots.txt, redirects, email validation, brand assets, SEO audit) include explicit ethical guardrails: per-target eTLD+1 throttling, robots.txt respect, and no SMTP probing to prevent abuse.

  • Can agents chain multiple tools automatically?

    Yes. CVE responses include `next_calls` hints β€” suggested tool/input/reason triples β€” so agents can chain workflows (e.g., call `kev_detail` when a CVE is KEV-listed, or `cwe_lookup` when a CWE ID is present) without manual prompting.

Run ContrastAPI across 60+ AI models, side-by-side

Connect ContrastAPI to Claude, GPT, Gemini, DeepSeek and 60+ AI models in MCP Agent Studio. Compare answers side-by-side, save reusable agent presets, share runs β€” all in your browser, no install required.

Open Agent Studio

Related servers

More on MCP Playground