Skip to main content
Glama

secintel-mcp

CI

A Model Context Protocol server that gives AI agents the lookups a security analyst reaches for every day: how urgent is this CVE, is this dependency vulnerable, and what indicators are in this report.

It uses only free public data sources and needs no API keys.

You:    How worried should I be about CVE-2021-44228?
Agent:  → triage_cve("CVE-2021-44228")
        P1 — patch immediately. It is in CISA's Known Exploited Vulnerabilities
        catalogue with known ransomware use, CVSS 10.0, EPSS 0.94.

Tools

Tool

What it does

Source

triage_cve

Rates a CVE P1–P4 from severity, exploit probability and known exploitation, with the reasons

NVD + EPSS + KEV

lookup_cve

Description, CVSS score and vector, CWEs, dates, references

NVD

epss_score

Probability of exploitation in the next 30 days, and percentile

FIRST EPSS

check_kev

Whether the CVE is known to be exploited, remediation due date, ransomware flag

CISA KEV

query_package_vulns

Known vulnerabilities and fixed versions for an open-source package

OSV.dev

extract_iocs

Pulls URLs, domains, IPs, emails, hashes and CVE IDs out of free text (handles defanged input)

local

defang

Rewrites indicators so they are safe to paste (hxxp, [.])

local

Triage policy

triage_cve puts evidence of exploitation ahead of raw severity:

Priority

Rule

Suggested action

P1

In the CISA KEV catalogue

Patch or mitigate immediately

P2

EPSS ≥ 0.10, or CVSS ≥ 9.0

Next emergency / expedited change window

P3

CVSS ≥ 7.0, or EPSS ≥ 0.01

Normal patch cycle

P4

Everything else

Routine maintenance

The thresholds live in src/secintel_mcp/triage.py and are meant to be changed to match your own policy. The result is a starting point: it does not know whether the affected product is deployed or reachable in your environment. If one source is unavailable the tool still answers from the others and lists what failed in source_errors.

Related MCP server: cve-lookup-mcp

Install

Requires Python 3.11+.

git clone https://github.com/blonde-almond/secintel-mcp.git
cd secintel-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e .

Use it

Claude Desktop, Claude Code, or any stdio MCP client

Add the server to your client's MCP configuration (for Claude Desktop this is claude_desktop_config.json; a copy is in examples/):

{
  "mcpServers": {
    "secintel": {
      "command": "/absolute/path/to/secintel-mcp/.venv/bin/secintel-mcp"
    }
  }
}

With Claude Code: claude mcp add secintel -- /absolute/path/to/.venv/bin/secintel-mcp

Over HTTP

secintel-mcp --transport streamable-http --port 8000
# MCP endpoint: http://127.0.0.1:8000/mcp

The HTTP transport binds to loopback by default and has no authentication. To reach it from another machine, put it behind a reverse proxy that handles TLS and authentication rather than binding it to a public interface.

Configuration

Variable

Purpose

NVD_API_KEY

Optional. A free NVD API key raises the NVD rate limit from 5 to 50 requests per 30 seconds.

SECINTEL_TRANSPORT, SECINTEL_HOST, SECINTEL_PORT

Defaults for the matching command-line flags.

Security design

An MCP server is code that a language model can drive, so its inputs should be treated as untrusted. This one is built accordingly:

  • No server-side request forgery. Every outbound request goes to one of four hard-coded hosts. Tool arguments are only ever sent as validated query parameters or JSON fields, never used to build a URL, and redirects are not followed.

  • Strict input validation. CVE IDs, ecosystems, package names and versions are checked against allow-list patterns before any request is made.

  • Bounded work. Requests have timeouts, responses have a size cap, text inputs have a length cap, and result lists are truncated.

  • Minimal untrusted text. Upstream records are trimmed to the needed fields and descriptions are length-limited, and the server instructions tell the agent to treat returned text as data. This reduces, but cannot eliminate, the risk of prompt injection through vulnerability descriptions.

  • Read-only. No tool writes files, runs commands or changes any system.

  • No secrets required. The optional NVD key is read from the environment and sent only to the NVD.

See SECURITY.md to report a vulnerability.

Development

pip install -e ".[dev]"
pytest          # all tests run offline against a fake upstream
ruff check .
ruff format .
src/secintel_mcp/
  server.py    MCP tool definitions and the command-line entry point
  clients.py   NVD, EPSS, KEV and OSV clients, validation, caching
  triage.py    The P1–P4 prioritisation policy
  iocs.py      Indicator extraction, defang and refang

Limitations

  • IPv6 addresses are not extracted.

  • Domain extraction is pattern-based. It skips common file extensions (setup.exe, archive.zip) but will sometimes match things that are not indicators, and it does not check that a TLD exists.

  • Caches are in memory and per process: 15 minutes for CVE and EPSS lookups, 6 hours for the KEV catalogue.

  • Without an NVD API key, heavy use will hit the NVD rate limit.

Licence

MIT

Available Tools

7 tools
check_kevA

Check whether a CVE is in the CISA Known Exploited Vulnerabilities catalogue, with the remediation due date and ransomware-use flag if so.

Args: cve_id: CVE identifier, e.g. "CVE-2021-44228".

Inputs: cve_id (required). Returns: object

defangA

Defang URLs, domains, IPs and email addresses in text so they are safe to paste into tickets and chat (http -> hxxp, . -> [.]). Runs locally.

Args: text: Text containing indicators to defang.

Inputs: text (required). Returns: result

epss_scoreA

Get the EPSS score for a CVE: the estimated probability (0-1) of exploitation in the next 30 days, and its percentile among all CVEs.

Args: cve_id: CVE identifier, e.g. "CVE-2021-44228".

Inputs: cve_id (required). Returns: object

extract_iocsA

Extract indicators of compromise from free text: URLs, domains, IPv4 addresses, email addresses, MD5/SHA1/SHA256 hashes and CVE IDs. Defanged input (hxxp, [.]) is handled. Runs locally; nothing is sent anywhere.

Args: text: The report, email, log excerpt or other text to scan.

Inputs: text (required). Returns: object

lookup_cveB

Get the NVD record for a CVE: description, CVSS score and vector, CWEs, publication dates and reference links.

Args: cve_id: CVE identifier, e.g. "CVE-2021-44228".

Inputs: cve_id (required). Returns: object

query_package_vulnsA

List known vulnerabilities for an open-source package from OSV.dev.

Args: ecosystem: Package ecosystem, e.g. "PyPI", "npm", "Go", "Maven", "crates.io". package: Package name as published, e.g. "requests" or "org.apache.logging.log4j:log4j-core". version: Optional exact version. If given, only vulnerabilities affecting that version are returned; otherwise all known ones for the package.

Inputs: package (required), ecosystem (required), version. Returns: object

triage_cveA

Prioritise a CVE (P1-P4) using CVSS severity, EPSS exploit probability and whether it is in CISA's Known Exploited Vulnerabilities catalogue.

Args: cve_id: CVE identifier, e.g. "CVE-2021-44228".

Inputs: cve_id (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool targets a distinct data source or action (NVD record, EPSS score, KEV membership, OSV package vulns, IOC extraction, defanging), and triage_cve is clearly framed as an aggregate prioritisation rather than a raw lookup. The only mild overlap is between triage_cve and the granular epss_score/check_kev/lookup_cve tools, but the descriptions make the aggregate-vs-raw distinction clear.

    Naming Consistency4/5

    Most names follow a verb_noun pattern (triage_cve, lookup_cve, check_kev, query_package_vulns, extract_iocs), all snake_case. Minor deviations: epss_score is noun-based and defang is a bare verb, but both are unambiguous and readable.

    Tool Count5/5

    Seven tools is well within the ideal range for a focused security-intel server, with no redundant or filler tools. Each tool covers a distinct enrichment or extraction step.

    Completeness4/5

    Covers the core CVE triage lifecycle: NVD details, EPSS, KEV status, prioritisation, package vuln lookup, plus IOC extraction and defanging that pair naturally (extract then triage). Gaps include no reverse/keyword or CPE-vendor search for CVEs and no bulk/batch triage endpoint, but agents can work around these by chaining single-CVE calls.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides live CVE data from NVD and EPSS without API key, enabling AI assistants to look up CVSS scores, search vulnerabilities, and check product CVEs.
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides CVE lookup, search, and exploit intelligence from public vulnerability sources (NVD, CISA KEV, EPSS) for AI agents to produce remediation guidance without consuming LLM tokens for data fetching.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time vulnerability intelligence including CVE lookup, EPSS exploit probability, and CISA KEV status from free APIs, enabling AI assistants to prioritize CVEs by real-world risk.
      MIT