first-epss-mcp-server
Provides keyless access to FIRST's public EPSS API for CVEs, including current and historical exploitation probability and percentile scores, daily score time series with peaks, gaps and model transitions, threshold/year/addition-based CVE discovery, and prioritization of CVEs into remediation tiers by combining EPSS likelihood with caller-supplied CVSS severity.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@first-epss-mcp-serverWhat are the latest EPSS scores for CVE-2024-3094 and CVE-2023-44487?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Overview
Daily forecasts of observed CVE exploitation within the next 30 days from FIRST EPSS, generated by Empirical Security and published by FIRST. Look up scores, inspect daily movement, discover CVEs by score or year, and combine likelihood with caller-supplied CVSS severity. The public API needs no key or registration.
Tools
Tool | Description |
| Fetch current or historical EPSS probability and percentile for supplied CVEs |
| Inspect daily history, exact-date changes, peaks, gaps, and model transitions |
| Discover CVEs by inclusive score bounds, CVE year, or recent dataset addition |
| Assign configurable remediation tiers using EPSS and caller-supplied CVSS severity |
| Explain score interpretation, models, coverage, and prioritization conventions |
Related MCP server: vuln-priority
Capability reference
epss_get_scores tool
Up to 5,000
cvesas an array or a whitespace/comma/semicolon-delimited string; case and Unicode dashes are normalized. Process up to 500 unique identifiers frombatchOffset(default 0). Optionaldate(2021-04-14through today, UTC) selects a historical snapshot; omitted or blank means latest availableEach score carries
epss,percentile,date, andmodelVersionSource(csv_header,published_schedule, orunavailable), ordered by EPSS descendingunscoredCvesseparatesinvalid_formatfromnot_returned; a missing score is unknown, never zerosnapshot_unavailableidentifies a dated snapshot FIRST cannot supply; select another date or omit it. A CVE omitted from a published snapshot remainsnot_returned
epss_get_timeseries tool
Same
cves/date/batchOffsetinputs; process up to 50 unique identifiers per callEach item pairs the anchor
currentwith up to 30 preceding daily observations inseries, plusmissingDates,peak, anddelta7d/delta30d, which need an exact calendar baseline and otherwise appear inunavailableDeltasmodelBoundariesCrossedand each comparison'scrossesModelBoundaryflag published model transitions; neither explains why a score movedDerived deltas are rounded to nine decimals; original scores retain their precision. Re-anchor on
previousAnchorDatefor the preceding window without overlap; the pointer does not guarantee a published snapshot
epss_query_threshold tool
Inclusive
minEpss/maxEpss/minPercentile/maxPercentilebounds,year, andaddedWithinDaysintersect, with optional historicaldate; at least one filter and ordered bounds are required, otherwiseinvalid_filter_combination.addedWithinDaysis dataset-addition recency and ignoresdateOne candidate page per call in EPSS descending order:
limit1–10,000 (default 100) plusoffset. Withyear,candidateTotalcounts broad candidates andtotalisnull(totalRelation: "unknown"), so a filtered page can be empty withhasMore: trueComplete score rows fit within the 65,536-byte limit on each serialized response surface. When rows are withheld,
pagination.budgetLimitedis true andwithheldCountcounts inspected matches omitted;examinedCountstill counts every inspected candidate.nextOffsetresumes at the first withheld match's original candidate position, including with year filteringContinue with the same filters and
limit,provenance.scoreDates[0]asdate, andnextOffsetasoffset
epss_prioritize_cves tool
Up to 5,000
{ cve, cvssBaseScore? }entries (CVSS 0–10, caller-supplied) against latest or optional dated EPSS; process up to 500 unique CVEs frombatchOffset. A duplicate CVE with differing CVSS, including missing versus supplied, fails asconflicting_cvss. Unavailable dated snapshots fail assnapshot_unavailableDefaults
severityThreshold: 7andlikelihood: { metric: "epss", threshold: 0.10 }, both inclusive;metric: "percentile"is an explicit alternative, and neither is FIRST guidanceTiers are
act_now(high severity, high likelihood),scheduled(high, low),monitor(low, high), anddefer(low, low); missing CVSS lands inepssOnly, missing EPSS inunscoredCveswith its CVSS kept
epss_list_reference tool
topic:interpretation,models,coverage,prioritization, orall(default)Static, source-linked guidance with a
verifiedAtdate; makes no upstream request
Batch continuation
All four dynamic tools bound each JSON-serialized content array and structuredContent object to 65,536 UTF-8 bytes, including notices, provenance, filters and pagination. Threshold discovery uses candidate continuation as described above; supplied-CVE tools use the batch continuation below.
Scores, timeseries and prioritization retain whole score rows, history items and unscored entries. processedCount still counts the workload processed, including invalid identifiers; returnedCount counts complete entries retained and withheldCount counts processed entries omitted by the byte limit. deferredCount counts entries never queried. withheldCves and deferredCves retain their array types; their *Complete flags explicitly identify previews when the full lists cannot fit. budgetLimited discloses any response shortening.
When nextBatchOffset is present, call the same tool with the original cves, nextBatchOffset as batchOffset, and provenance.scoreDates[0] as date (retain the requested date if no score date was returned). Prioritization also keeps every original cvssBaseScore, severityThreshold and likelihood. The offset counts normalized unique identifiers in first-occurrence input order, including invalid entries; score sorting does not change it. Continue until nextBatchOffset is absent. An offset past the end returns explicit empty accounting. Lists are for inspection; continuation through the original batch preserves entries even when lists are previews.
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
FIRST EPSS-specific:
Keyless lookup against FIRST's public API, with bounded batches rather than corpus synchronization
Shared API request pacing, transient-failure retries, cancellation, and a 45-second whole-call deadline
Model attribution from a matching daily CSV header or the verified published schedule for explicitly dated requests and preceding history; current-anchor verification failures remain visible
Agent-friendly output:
Provenance: API source, retrieval time, score dates, and model metadata marked
verified,inferred, orunavailableExplicit coverage: missing EPSS and CVSS remain unknown;
unscoredCvesanddeferredCvesdistinguish omissions from work not queried. Transport failures fail the callStructured results and formatted text carry the same accounting, history gaps, pagination, thresholds, and recovery guidance
Getting started
Add the following to your MCP client configuration file.
{
"mcpServers": {
"first-epss-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/first-epss-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with npx (no Bun required):
{
"mcpServers": {
"first-epss-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/first-epss-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with Docker:
{
"mcpServers": {
"first-epss-mcp-server": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/first-epss-mcp-server:latest"]
}
}
}For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcpPrerequisites
Bun v1.4.0 or higher (or Node.js v24+).
Internet access to FIRST's public EPSS API; no API key or account is required.
Installation
Clone the repository:
git clone https://github.com/cyanheads/first-epss-mcp-server.gitNavigate into the directory:
cd first-epss-mcp-serverInstall dependencies:
bun installConfigure environment:
cp .env.example .env
# Optional: edit framework transport, auth, logging, and telemetry settingsConfiguration
No server-specific settings are required.
Variable | Description | Default |
| Transport: |
|
| HTTP bind address. |
|
| HTTP server port. |
|
| HTTP MCP endpoint path. |
|
| HTTP session mode: |
|
| Authentication: |
|
| Log level ( |
|
| Directory for log files (Node.js only). |
|
| Storage backend: |
|
| Enable OpenTelemetry. |
|
See .env.example for every server setting and the common framework overrides.
Running the server
Local development
Build and run the production version:
# One-time build bun run rebuild # Run the built server bun run start:http # or bun run start:stdioRun checks and tests:
bun run devcheck # Lints, formats, type-checks, and more bun run test # Runs the test suite
Project structure
Directory | Purpose |
| Five tool definitions, shared schemas, formatting, and history policy. |
| FIRST API requests, normalization, pacing, retries, and model metadata. |
| Unit and integration tests mirroring the |
Development guide
See CLAUDE.md for development guidelines and architectural rules. The short version:
Handlers throw, framework catches — no
try/catchin tool logicUse
ctx.logfor logging,ctx.statefor storageExport new tools from the
src/mcp-server/tools/definitions/index.tsbarrel, whichsrc/index.tspasses tocreateApp()Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run testLicense
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
CVE triage in one call: NVD, CVSS, CISA KEV, EPSS, public exploits and an explained risk score.
Read-only vulnerability intelligence: CVEs, exploitation evidence, fixes and product matches.
101CVE intelligence: exploitation (KEV/EPSS), detection coverage, fixed versions, CPE configurations.
Is a CVE exploited? CISA KEV, FIRST EPSS, CVSS and SSVC with a patch-first verdict. Free, no key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides EPSS scores, percentiles, and time series for CVEs, along with vulnerability details from the NVD API, enabling risk assessment through natural language.-
- AlicenseAqualityBmaintenanceEnables prioritizing vulnerabilities by real-world exploitation evidence, combining CISA KEV, EPSS, CVSS, and SSVC to rank CVEs and package versions, and providing fix recommendations.42MIT
- AlicenseAqualityAmaintenanceEnables any MCP client to look up CVE intelligence — severity summaries, filtered searches, and full per-CVE detail fusing NVD, MITRE-CNA pre-NVD, CISA KEV, EPSS, and GitHub GHSA data — alongside a Shodan-derived internet-exposure footprint showing how many internet-facing services run a version mapping to a given CVE. It is free, keyless, and read-only, and distinguishes verified zeros from unassessed or failed lookups.161,340 npm7MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to look up FIRST.org EPSS exploit-probability scores and percentiles for one or more CVEs, and to list the vulnerabilities most likely to be exploited in the wild within the next 30 days. This lets users prioritize patching by real-world exploit likelihood alongside CVSS severity.11 npmMIT