Skip to content
MCP server

ContrastAPI

Free security data API: CVEs, packages, domains and IPs, with optional watchlist alerts

Install
Pricing
Freemium
Platforms
API
Runs
Remotely
Version
2.0.7
Listing updated
1 day ago

About ContrastAPI

ContrastAPI is a freemium MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.

ContrastAPI answers from public sources such as NVD, CISA KEV, FIRST EPSS, OSV and MITRE, kept in a local PostgreSQL database by a server written in C. Tools cover CVE lookup and risk scoring, exploit references, CVSS vector decoding, package advisories across npm, PyPI, Maven, Go, NuGet, RubyGems, crates.io, Packagist and SwiftURL, domain checks for DNS, mail authentication, TLS, headers and WHOIS, subdomain and takeover checks, IP and ASN data, Windows driver lookups against LOLDrivers, and breached-password checks that send only a hash prefix.

It is explicit about limits: it does not scan targets or run exploits, serves no exploit code, and answers are as fresh as each feed's last sync, reported by a health endpoint.

The free tier needs no key and allows 30 credits an hour per IP. A Pro key allows 500 credits an hour, adds monitoring of CVEs, packages, domains and IPs with change events, and lets ip_lookup use your Shodan and AbuseIPDB keys. Without a key you can also pay per call with x402, $0.01 per credit in USDC on Solana.

Install

Run in a terminal

claude mcp add --transport http api https://api.contrastcyber.com/mcp/

Add to Settings → Connectors → Add custom connector

https://api.contrastcyber.com/mcp/
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "api": {
      "url": "https://api.contrastcyber.com/mcp/"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "api": {
      "type": "http",
      "url": "https://api.contrastcyber.com/mcp/"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "api": {
      "serverUrl": "https://api.contrastcyber.com/mcp/"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "api": {
      "type": "http",
      "url": "https://api.contrastcyber.com/mcp/"
    }
  }
}

Tools this server provides (37)

Taken from the project documentation; the running server may differ.

cve_lookup
Read one CVE with CVSS, EPSS, KEV and affected products
cve_lookup_bulk
Look up several CVEs
cve_products
Affected products of a CVE
cve_risk_score
Risk score for a CVE
kev_lookup
Read a CISA KEV entry
cwe_lookup
Read a CWE weakness
cvss_calculator
Decode and score a CVSS v3 vector
cve_exploit
Public exploit and Metasploit references for a CVE
cpe_search
Find product names
cve_triage
Rank CVEs of a product by risk
cve_triage_bulk
Bulk CVE triage
product_exposure
Exposure of a product
cve_search
Find CVEs by severity, CWE, EPSS, KEV or date
cve_leading
Leading CVEs
package_check
Check a dependency version for advisories
package_check_bulk
Check many packages
dns_lookup
DNS records of a domain
email_auth_check
SPF, DKIM and DMARC check
ssl_check
TLS certificate check
headers_check
Security header check
whois_lookup
Registration data
email_address_check
Check whether an email domain takes mail or is disposable
wayback_lookup
Wayback Machine captures of a host
subdomain_enum
Find subdomains
cert_search
Certificate search
dns_takeover_check
Check for subdomain takeover
ip_lookup
IP address intelligence
asn_lookup
ASN lookup
d3fend_for_attack
D3FEND defenses for an ATT&CK technique
driver_lookup
Check a Windows driver against LOLDrivers
driver_lookup_bulk
Check many drivers
password_check
Check a SHA-1 hash against a breach list
watchlist_edit
Edit the watchlist (Pro key)
watchlist_events
Read watchlist change events (Pro key)
vendor_key_edit
Save your Shodan and AbuseIPDB keys (Pro key)
health
Server and data feed status
privacy_my_data
What the service keeps about you

What it does

CVE intelligence
CVSS, EPSS, KEV, CWE and a risk score per CVE.
Package advisories
Check dependencies across nine ecosystems.
Domain checks
DNS, SPF/DKIM/DMARC, TLS, headers and WHOIS.
IP and ASN data
AS, country, cloud range and Tor exit status.
Watchlist monitoring
Pro keys record change events for watched items.
Credit-based limits
Responses show remaining credits.
Pay per call
x402 payments in USDC on Solana.

Good for

  • Rank a vendor's CVEs by risk
  • Check a lockfile's packages for advisories
  • Audit a domain's email authentication and TLS
  • Look up an IP address's network and Tor status
  • Watch a set of CVEs and domains for changes

Pricing

Freemium

Free tier 30 credits/hour; Pro key 500 credits/hour; pay-per-call $0.01 per credit; Pro price not published

Prices change. Check api.contrastcyber.com before you buy.

ContrastAPI FAQ

Do I need an API key?

Not for the free tier. Monitoring tools and saving your own vendor keys need a Pro key.

What are the rate limits?

Free is 30 credits an hour per IPv4 address or IPv6 /64; a Pro key has 500.

Does it scan targets?

No. It reports what public sources and a domain's own DNS, TLS and HTTP answers show.

Can I pay without a key?

Yes, with x402 at $0.01 per credit in USDC on Solana.

How do I check it is up?

Call /health, which shows each data feed's last sync and costs no credit.

Is ContrastAPI free?

ContrastAPI has a free plan, with paid plans for more usage or features.

How do I add ContrastAPI to Claude Code?

Run this command in your terminal: claude mcp add --transport http api https://api.contrastcyber.com/mcp/

What are the best alternatives to ContrastAPI?

The closest alternatives to ContrastAPI are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to ContrastAPI

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security