RepositoryPython
bx33661

bx33661/Wireshark-MCP

Wireshark-MCP,Give your AI assistant a packet analyzer. Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

420stars
50forks
1issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: packet-analysis

#1 Repository of the week

2
TINIX TRENDING·Topic: tshark

#2 Repository of the week

4
TINIX TRENDING·Topic: wireshark

#4 Repository of the week

Wireshark MCP

Wireshark MCP

Give your AI assistant a packet analyzer.

Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

CI GitHub Release PyPI Python MIT License

English • 中文 • Changelog • Contributing


What is this?

An MCP server that wraps tshark (and optional Wireshark suite tools) into a structured analysis interface. Works with Claude Desktop, Claude Code, Cursor, VS Code, and 18+ other MCP clients.

You:    "Find all DNS queries going to suspicious domains in this capture."
Claude: [calls wireshark_extract_dns_queries → wireshark_check_threats]
        "Found 3 queries to domains flagged by URLhaus: ..."

Install

Prerequisites: Python 3.10+ and Wireshark with tshark on PATH.

pip install wireshark-mcp
wireshark-mcp install   # auto-configures all detected MCP clients

Restart your AI client — done.

Run wireshark-mcp doctor if anything looks off. See docs/manual-configuration.md for manual setup or platform-specific notes.


Quick Start

Point your AI client at a .pcap file and try:

Analyze capture.pcap using the Wireshark MCP tools.
Start with wireshark_open_file, then run wireshark_security_audit.
Write findings to report.md.

Tools

40+ tools organized into categories:

CategoryHighlightsCount
Agentic Workflowswireshark_security_audit, wireshark_quick_analysis, wireshark_open_file4
Packet AnalysisPacket list, details, bytes, context, stream follow, search7
Data ExtractionHTTP requests, DNS queries, TLS handshakes, field extraction6
StatisticsProtocol hierarchy, endpoints, conversations, I/O graph, expert info6
SecurityThreat intel, credential scan, port scan, DNS tunnel, DoS detection6
Protocol Deep DiveTCP health, ARP spoofing, SMTP, DHCP5
File Ops & CaptureLive capture, merge, filter-save, file info5
Suite Utilitieseditcap trim/split/dedup, text2pcap import5
Decode & VisualizePayload decode, traffic plot, protocol tree3

The server starts with only tshark required. Optional tools (capinfos, mergecap, editcap, dumpcap, text2pcap) are auto-detected and enable extra features when present.


Documentation

TopicLink
Platform setup (macOS/Linux/Windows)docs/platform-validation.md
Manual client configurationdocs/manual-configuration.md
Prompt templatesdocs/prompt-engineering.md
Release checklistdocs/release-checklist.md
ContributingCONTRIBUTING.md
ChangelogCHANGELOG.md
Security policySECURITY.md

Development

pip install -e ".[dev]"
pytest tests/ -v
ruff check src/ tests/

See CONTRIBUTING.md for the full guide.


Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryPython
sebaandrada-cell/PcapAnalyzer

Free, self-hosted pcap analyzer with 27 problem detectors and AI investigation

246
Nov 28, 2026
RepositoryGo
gcla/termshark

A terminal UI for tshark, inspired by Wireshark

10.1k
Apr 30, 2024
RepositoryTypeScript
paperclipai/paperclip

The open-source app everyone uses to manage agents at work

118.9k
Dec 2, 2026
RepositoryTypeScript
heygen-com/hyperframes

Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.

94.6k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
deepseek-ai/deepseek-harness

DeepSeek Harness: Everything is a Plugin.

290.1k
Nov 28, 2026
RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

203.5k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026