tshark-mcp: Wireshark analysis for AI assistants
Drop a pcap, ask your AI assistant what went wrong, get an answer with frame numbers.
tshark-mcp is a read-only MCP server that runs tshark -r on captures you allow and turns
them into answers: failed connections, slow servers, DNS and TLS errors, one-way audio, and
the telecom failures generic tools miss (Diameter, GTP, SIP/IMS, SIGTRAN, 5G).
claude mcp add tshark-mcp -- uvx --from tshark-mcp-server tshark-mcp --allow-dir /path/to/pcaps
Needs uv and tshark (comes with Wireshark). Cursor, Claude Desktop, VS Code, Docker and the Claude Code plugin: the guide.
Why this one
- Answers, not packet dumps. Ask "what is wrong in this capture?" and
incident_summaryruns every check the capture's protocols allow, ranks the findings and names the next call. Every claim carries frame numbers you can open in Wireshark. - Built by a mobile core engineer. It pairs requests with answers across Diameter, GTP, PFCP, SIP, RTP and MAP, names the cause codes with their 3GPP reference, and follows one subscriber across all of them.
- Safe to hand to an agent. No shell, no live capture, no writes: only
tshark -ron files inside directories you allow, under hard caps on size, packets, output and time. Optional redaction hides IMSIs, phone numbers and IPs. - Checked against public captures. 102 public sample captures, 1,064 tool calls; every wrong answer found was fixed and is re-tested (results).
Learn more
- Guide: install, example questions, tool list, prompts, safety, limits
- Tool reference and a worked investigation
- Report a wrong answer or a bug
MIT licence, Copyright (c) 2026 Karl Hulse.
Metadata
Release files for tshark-mcp-server 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tshark_mcp_server-0.4.0.tar.gz | 749.0 kB | With provenance | Details for tshark_mcp_server-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tshark_mcp_server-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for tshark_mcp_server-0.4.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / tshark_mcp_server-0.4.0.tar.gz
| Download URL | tshark_mcp_server-0.4.0.tar.gz |
|---|---|
| Size | 749.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2d350e15385aa54c3e08555a465ab482232cda6e4cc995658d770bd9db53725
|
|
BLAKE2b-256 checksum How to use checksums |
bd3e1dd112163bd43ce7f9d7512b648265c5d91300a2e53592e69dd8db5a9380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / tshark_mcp_server-0.4.0-py3-none-any.whl
| Download URL | tshark_mcp_server-0.4.0-py3-none-any.whl |
|---|---|
| Size | 560.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d77a47a41bcef54dcfb5e720b8da4a4773fb1475ed00a82a9be135986c96dddb
|
|
BLAKE2b-256 checksum How to use checksums |
8d1b89e887371b543ffa4dab5017c217d93841d9f9aa719125b86303d4ef83ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for tshark-mcp-server 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tshark_mcp_server-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.