CVE Explore

API documentation

OpenAPI 3.1 spec, authentication, rate limits, and code samples for the CVE Explore REST API and MCP server.

Programmatically search the CVE corpus and surface it inside any AI assistant. Same dataset as this UI; same response shapes; bearer-authenticated.

You'll need an API key

Sign up to generate keys for the REST API and MCP server. Create an account or sign in.

REST API

Authenticate with a bearer token

Send your API key in the Authorization header. Keys begin with cve_test_ in dev or cve_live_ in production.

Search example shell

curl -H "Authorization: Bearer YOUR_API_KEY" \
     "https://cve-explore.com/api/v1/cves/search?q=log4j&has_poc=true"

More examples shell

# Get a single CVE
curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://cve-explore.com/api/v1/cves/CVE-2021-44228

# Recent CVEs
curl -H "Authorization: Bearer YOUR_API_KEY" \
     "https://cve-explore.com/api/v1/cves/recent?limit=20"

# Aggregate stats
curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://cve-explore.com/api/v1/stats

Endpoints

The full surface is anonymous-friendly (240 req/min/IP) and upgrades to 1,000 req/min/key with a bearer token.

MethodPathDescription
GET/api/v1/search?q=Natural-language search: reading + answer
GET/api/v1/search/interpret?q=How a query reads, without running it
GET/api/v1/cves/searchFull-text + facet search
GET/api/v1/vendors/{vendor}/products/{product}/affectedCVEs affecting one version
GET/api/v1/cves/{id}Detail for a single CVE
GET/api/v1/cves/{id}/pocsPublic PoCs for a CVE
GET/api/v1/cves/recentMost recently published
GET/api/v1/cves/trendingTrending by PoC discovery
GET/api/v1/vendorsList vendors with CVE counts
GET/api/v1/vendors/{vendor}/productsProducts for a vendor
GET/api/v1/statsAggregate counts
GET/api/v1/healthHealth probe

MCP server

Connect from your AI assistant

Use CVE Explore from inside Claude Desktop, Cursor, Codex, Gemini CLI, Qwen Code, Continue, or any custom HTTP client. Pick a client below; drop the snippet into the listed config file.

Claude Desktop

Add it in one command from your terminal:

Claude Desktop · CLI shell

claude mcp add cve-explore \
  --env MCP_TRANSPORT=stdio \
  --env CVE_EXPLORE_API_KEY=YOUR_API_KEY \
  -- docker exec -i cve-explore-mcp-1 /app/mcp

Or edit: ~/Library/Application Support/Claude/claude_desktop_config.json

Claude Desktop json

{
  "mcpServers": {
    "cve-explore": {
      "command": "docker",
      "args": ["exec", "-i", "cve-explore-mcp-1", "/app/mcp"],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "CVE_EXPLORE_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Available tools

Each tool is implemented in-process against the same services that power this UI.

ToolArgumentsReturns
smart_search

Natural-language search: “nginx 1.20.1”, “critical log4j since 2021 with exploit”, “log4shell”. Returns how the words were read plus the answer.

query: string (the user's words), limit?, page?{ interpretation, cves? | affected? | results? }
search_cves

Filter the CVE corpus by severity, score, year, vendor, product, and PoC presence.

query, severity?, vendor?, product?, year?, has_poc?, limit?, offset?{ items: CveSummary[], total: number, facets }
get_cve

Full advisory: description, CVSS, affected products, references, PoCs.

id: string (CVE-YYYY-NNNNN)CveDetail
list_pocs

Public proof-of-concept exploits associated with a CVE.

id: string{ pocs: PocReference[] }
list_recent_cves

Most recently published CVEs. Optionally restrict to those with public PoCs.

limit?, with_poc_only?{ items: CveSummary[] }
list_trending

CVEs trending by recently discovered PoCs (rolling 14-day window).

window_days?{ items: TrendingCve[] }
find_cves_by_software

CVEs affecting one software version, in two buckets that must not be merged: confirmed and not-evaluable.

product, vendor?, version?, has_poc?, limit?, page?{ affected: { confirmed, possible, coverage } } | { candidates }
get_stats

Aggregate counts: total CVEs, totals by severity, ingestion freshness per source.

(none){ totals, by_severity, freshness }

OpenAPI

OpenAPI 3.1 specification

The full machine-readable schema of every endpoint, including auth and API-key management routes. Cached for 5 minutes; served from the same origin as this UI.

/api/openapi.json

AI-generated PoCs

Some CVEs include a PoC entry with source: "ai-generated". These are produced by an AI model from the public CVE description and ship with extra fields: code, language, entrypoint, dependencies, validation_method, model, prompt_version.

Treat as research lead, not verified exploit

This proof-of-concept was generated by an AI model from the public CVE description. It passed a syntax check and a structured self-review but has not been executed against a real target.