Integrations
Provides integration with pandas for parsing and analyzing Zeek log files, returning structured data from network traffic analysis as DataFrame objects.
Zeek-MCP
This repository provides a set of utilities to build an MCP server (Model Context Protocol) that you can integrate with your LLM chatbot client.
Table of Contents
Prerequisites
- Python 3.7+
- Zeek installed and available in your
PATH
(for theexeczeek
tool) - pip (for installing Python dependencies)
Installation
1. Clone the repository
2. Install dependencies
It's recommended to use a virtual environment:
Note: If you don’t have a
requirements.txt
, install directly:Copy
Usage
The repository exposes three main MCP tools and a command-line entry point:
3. Run the MCP server
--mcp-host
: Host for the MCP server (default:127.0.0.1
).--mcp-port
: Port for the MCP server (default:8081
).--transport
: Transport protocol, eithersse
(Server-Sent Events) orstdio
.
4. Use the MCP tools
You need to use an LLM that can support the MCP tools usage by tools call.
execzeek(pcap_path: str) -> str
- Description: Runs Zeek on the given PCAP file after deleting existing
.log
files in the working directory. - Returns: A string listing generated
.log
filenames or"1"
on error.
- Description: Runs Zeek on the given PCAP file after deleting existing
parselogs(logfile: str) -> DataFrame
- Description: Parses a single Zeek
.log
file and returns the parsed content.
- Description: Parses a single Zeek
You can interact with these endpoints via HTTP (if using SSE transport) or by embedding in LLM client (eg: Claude Desktop):
Claude Desktop integration:
To set up Claude Desktop as a Zeek MCP client, go to Claude
-> Settings
-> Developer
-> Edit Config
-> claude_desktop_config.json
and add the following:
Alternatively, edit this file directly:
5ire Integration:
Another MCP client that supports multiple models on the backend is 5ire. To set up Zeek-MCP, open 5ire and go to Tools
-> New
and set the following configurations:
- Tool Key: ZeekMCP
- Name: Zeek-MCP
- Command:
python /ABSOLUTE_PATH_TO/Bridge_Zeek_MCP.py
Alternatively you can use Chainlit framework and follow the documentation to integrate the MCP server.
Examples
An example of MCP tools usage from a chainlit chatbot client, it was used an example pcap file (you can find fews in pcaps folder)
License
See LICENSE
for more information.
This server cannot be installed
A Model Context Protocol server that integrates Zeek network analysis capabilities with LLM chatbots, allowing them to analyze PCAP files and parse network logs through natural language interactions.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.Last updated -187JavaScriptApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that enables ChatGPT and other AI assistants to directly interact with JIRA issues, currently offering the ability to retrieve issue details.Last updated -TypeScript
- -securityAlicense-qualityA Model Context Protocol server implementation that provides a standardized interface for applications to interact with OpenRouter's language models through a unified conversation management system.Last updated -TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that integrates essential penetration testing tools (Nmap, Gobuster, Nikto, John the Ripper) into a unified natural language interface, allowing security professionals to execute and chain multiple tools through conversational commands.Last updated -85231TypeScript