suricata-mcp
ActiveChasing one Suricata alert means pivoting by hand across eve.json, flow records, DNS/HTTP/TLS transactions, and the Zeek logs next to them, slow and easy to get wrong under pressure. suricata-mcp hands the whole NSM stack to your agent: alerts, flows, protocols, Zeek metadata, and C2/DGA/exfil analytics, answered in plain language over stdio.
See it workrepresentative session
Representative session. Illustrative values, RFC 5737 addresses. Your logs never leave the box.
What it does
Point any MCP client at suricata-mcp and your Suricata IDS/IPS and Zeek NSM logs become tools the agent can call: query alerts, flows, and protocol records; investigate a host or a single alert; and cross-correlate Suricata alerts against Zeek conn/dns/http/ssl by IP pair and time window. Why: a SOC analyst working a single alert normally greps EVE JSON and stitches together flow and protocol context by hand, which does not scale under pressure. How it differs: instead of a dashboard or a one-shot log shipper, it reads your own log files locally and layers detection analytics on top, C2 beaconing, DGA via Shannon entropy, data exfiltration, and lateral movement, so the model does the pivoting. It is read-only by default and speaks stdio, so there is no new network surface, and it drops into Claude Desktop, Claude Code, Codex CLI, OpenClaw, or Hermes.
Capabilities41 tools across Suricata and Zeek
Suricata alerts & flows
6 toolsQuery and aggregate EVE alerts by SID, signature, severity, IP, and time; top talkers and bandwidth from flows.
Protocol analysis
6 toolsInspect DNS, HTTP, TLS (SNI, JA3/JA4), SSH, extracted files, and protocol anomalies from EVE records.
Advanced analytics
4 toolsDetect C2 beaconing, DGA domains via Shannon entropy, data exfiltration, and lateral movement.
Investigation & Zeek NSM
11 toolsFull host and alert investigation, plus query conn/dns/http/ssl/files/ssh/weird from Zeek TSV logs.
Cross-correlation
1 toolJoin Suricata alerts to Zeek metadata by IP pair and time window.
Rules, engine, PCAP & threat intel
13 toolsSearch and manage the ruleset, live engine stats, PCAP replay, and MISP/TheHive pivots (mutating tools opt-in).
Setup
npx -y suricata-mcp
Point SURICATA_EVE_LOG at your EVE JSON log; set ZEEK_LOGS_DIR, PCAP_DIR, and MISP/TheHive vars to light up the optional tool groups.
{ "mcpServers": { "suricata": { "command": "npx", "args": ["-y", "suricata-mcp"], "env": { "SURICATA_EVE_LOG": "/var/log/suricata/eve.json", "ZEEK_LOGS_DIR": "/opt/zeek/logs" } } } }