First Epss Mcp Server
БесплатноПоддерживаетсяLook up FIRST EPSS exploitation scores and daily history, find CVEs by score threshold, and prioritize CVEs with caller-supplied CVSS via MCP. STDIO or Streamab
Описание
Look up FIRST EPSS exploitation scores and daily history, find CVEs by score threshold, and prioritize CVEs with caller-supplied CVSS via MCP. STDIO or Streamable HTTP.
README
@cyanheads/first-epss-mcp-server
Look up FIRST EPSS exploitation scores and daily history, find CVEs by score threshold, and prioritize CVEs with caller-supplied CVSS via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://first-epss.caseyjhand.com/mcp
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 |
|---|---|
epss_get_scores |
Fetch current or historical EPSS probability and percentile for supplied CVEs |
epss_get_timeseries |
Inspect daily history, exact-date changes, peaks, gaps, and model transitions |
epss_query_threshold |
Discover CVEs by inclusive score bounds, CVE year, or recent dataset addition |
epss_prioritize_cves |
Assign configurable remediation tiers using EPSS and caller-supplied CVSS severity |
epss_list_reference |
Explain score interpretation, models, coverage, and prioritization conventions |
Skills
| Skill | Description |
|---|---|
first-epss-guide |
Gates and workflows for the calling agent: when an NVD or KEV source must answer instead, where score dates and offsets come from, when paging is done, why discovery pages are not EPSS-ranked, and how to tell a model change from real score movement |
Served over MCP as skill://first-epss-guide/SKILL.md and shipped in the npm package under skills/.
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 available - Each score carries
epss,percentile,date, andmodelVersionSource(csv_header,published_schedule, orunavailable), ordered by EPSS descending unscoredCvesseparatesinvalid_formatfromnot_returned; a missing score is unknown, never zero- EPSS v1 snapshots from
2021-04-14through2022-02-03cover CVE IDs from 2017 onward. Score, history, and prioritization lookups suggest a v2 or later date when an older CVE is absent from v1 snapshot_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 call - Each 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 inunavailableDeltas modelBoundariesCrossedlists dated transitions.modelBoundaryEvidenceidentifies an interval when verified endpoints differ and the transition date is unknown. CheckmodelBoundaryCoverageIncompletebefore ruling out a change.- Derived 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. At least one filter and ordered bounds are required. Combining live dataset-addition recency (addedWithinDays) with a historicaldatealso returnsinvalid_filter_combination - One candidate page per call in FIRST's upstream order, which is not ranked by EPSS: to rank, narrow the bounds, page through every match, and sort locally. Positive safe-integer
limit(default 100) plusoffset. Limits above 10,000 are clamped to 10,000; the notice reports requested/applied values and bothfilters.limitandpagination.limitecho the applied limit. Withyear,candidateTotalcounts broad candidates andtotalisnull(totalRelation: "unknown"), so a filtered page can be empty withhasMore: true - Complete 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 filtering - Continue with the same filters, applied
limit, andnextOffsetasoffset. Useprovenance.scoreDates[0]asdatefor ordinary queries. Omitdateon everyaddedWithinDayspage because its live candidate population can change
epss_prioritize_cves tool
- Up to 5,000
{ cve, cvssBaseScore? }entries (CVSS 0–10, caller-supplied) against latest or optional dated EPSS, processing up to 500 unique CVEs frombatchOffset. Unavailable dated snapshots fail assnapshot_unavailable - Conflicting severities anywhere in the submission fail as
conflicting_cvssbefore score lookup. Both response surfaces list every conflicting CVE and distinct submitted severity, withnullfor an omitted score. Malformed IDs are identified by zero-based input row. When named details exceed 65,536 bytes, both surfaces give complete row groups, with one row per distinct severity - Defaults
severityThreshold: 7andlikelihood: { metric: "epss", threshold: 0.10 }, both inclusive;metric: "percentile"is an explicit alternative, and neither is FIRST guidance - Tiers 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.
Malformed identifiers in unscored, withheld and deferred text are JSON string literals, escaped for Markdown. JSON decoding recovers the normalized identifier, including embedded CR, LF, tabs and backslashes; canonical CVEs remain plain identifiers. Structured identifiers are unchanged. Exhausted batch offsets report completion without upstream lookups or missing-score claims. Threshold notices distinguish a globally empty search, exhausted candidate offsets, and an exact-year page without matches, including the final page.
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 verifies matching current or dated daily CSV headers. Explicitly dated requests and preceding history can fall back to the published schedule within its verified coverage.
Agent-friendly output:
- Provenance: API source, retrieval time, score dates, and model metadata marked
verified,inferred, orunavailable - Explicit coverage: missing EPSS and CVSS remain unknown;
unscoredCvesanddeferredCvesdistinguish omissions from work not queried. Transport failures fail the call - Structured results and formatted text carry the same accounting, history gaps, pagination, thresholds, and recovery guidance
Getting started
Connect to the hosted instance, no install:
claude mcp add --transport http first-epss-mcp-server https://first-epss.caseyjhand.com/mcp
Or run it locally:
claude mcp add first-epss-mcp-server -- npx -y @cyanheads/first-epss-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": {
"first-epss-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/first-epss-mcp-server"]
}
}
}
FIRST's EPSS API is keyless; the server needs only internet access to it. For Docker or a source build, see Running the server.
Configuration
No server-specific settings are required.
| Variable | Description | Default |
|---|---|---|
MCP_TRANSPORT_TYPE |
Transport: stdio or http. |
stdio |
MCP_HTTP_HOST |
HTTP bind address. | 127.0.0.1 |
MCP_HTTP_PORT |
HTTP server port. | 3010 |
MCP_HTTP_ENDPOINT_PATH |
HTTP MCP endpoint path. | /mcp |
MCP_SESSION_MODE |
HTTP session mode: stateless, stateful, or auto. The server declares stateless in code; an explicit value overrides it. |
stateless |
MCP_AUTH_MODE |
Authentication: none, jwt, or oauth. |
none |
MCP_LOG_LEVEL |
Log level (debug, info, warning, error, etc.). |
debug; Docker selects info |
LOGS_DIR |
Directory for log files (Node.js only). Relative paths resolve from the installed server package. Set an absolute path to log elsewhere. | <app-root>/logs |
STORAGE_PROVIDER_TYPE |
Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1. |
in-memory |
OTEL_ENABLED |
Enable OpenTelemetry. | false |
See .env.example for every server setting and the common framework overrides.
Running the server
Local development
Requires Bun v1.4.4 or higher (or Node.js v24+).
Clone and install:
git clone https://github.com/cyanheads/first-epss-mcp-server.git cd first-epss-mcp-server && bun install cp .env.example .env # optional: framework transport, auth, logging, telemetryBuild and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:http # http://localhost:3010/mcpRun checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker run --rm -p 3010:3010 ghcr.io/cyanheads/first-epss-mcp-server:latest
The image defaults to HTTP transport, stateless session mode, and logs to /var/log/first-epss-mcp-server. To run it over stdio from an MCP client, use "command": "docker" with "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/first-epss-mcp-server:latest"]. To build locally, docker build -t first-epss-mcp-server .; OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
| Directory | Purpose |
|---|---|
src/mcp-server/tools |
Five tool definitions, shared schemas, formatting, and history policy. |
src/services/epss |
FIRST API requests, normalization, pacing, retries, and model metadata. |
tests/ |
Unit and integration tests mirroring src/, plus bundle-script tests under tests/scripts/. |
Development guide
See CLAUDE.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor logging,ctx.statefor storage - Export 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 test
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Установить First Epss Mcp Server в Claude Desktop, Claude Code, Cursor
unyly install first-epss-mcp-serverСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add first-epss-mcp-server -- npx -y @cyanheads/first-epss-mcp-serverПошаговые гайды: как установить First Epss Mcp Server
FAQ
First Epss Mcp Server MCP бесплатный?
Да, First Epss Mcp Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для First Epss Mcp Server?
Нет, First Epss Mcp Server работает без API-ключей и переменных окружения.
First Epss Mcp Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить First Epss Mcp Server в Claude Desktop, Claude Code или Cursor?
Открой First Epss Mcp Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
автор: mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
автор: agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiCompare First Epss Mcp Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
