mcpbeat Sign in

tshark-mcp MCP Server

local only

tshark-mcp runs on your own machine — the client starts it, so there is no endpoint to ping. 842 installs a week from pypi. Last commit 5 Nov 2026.

Read-only packet capture analysis with tshark: Diameter, GTP, SIP, RTP, SIGTRAN, DNS, TCP and TLS.

Installs per day peak 691 · avg 28
a month agotoday
842
Installs / week
pypi · tshark-mcp-server
0
Stars
0 open issues
5 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 1 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

            proc = subprocess.Popen(
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        drops_total += if_drop + os_drop
            proc = subprocess.Popen(

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch tshark-mcp and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add tshark-mcp -e 'TSHARK_MCP_ALLOW_DIRS=<TSHARK_MCP_ALLOW_DIRS>' -- uvx tshark-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tshark-mcp": {
      "command": "uvx",
      "args": [
        "tshark-mcp-server"
      ],
      "env": {
        "TSHARK_MCP_ALLOW_DIRS": "<TSHARK_MCP_ALLOW_DIRS>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.tshark-mcp]
command = "uvx"
args = ["tshark-mcp-server"]
env = { TSHARK_MCP_ALLOW_DIRS = "<TSHARK_MCP_ALLOW_DIRS>" }
.cursor/mcp.json
{
  "mcpServers": {
    "tshark-mcp": {
      "command": "uvx",
      "args": [
        "tshark-mcp-server"
      ],
      "env": {
        "TSHARK_MCP_ALLOW_DIRS": "<TSHARK_MCP_ALLOW_DIRS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tshark-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tshark-mcp-server"
      ],
      "env": {
        "TSHARK_MCP_ALLOW_DIRS": "<TSHARK_MCP_ALLOW_DIRS>"
      }
    }
  }
}

Put your own value in place of <TSHARK_MCP_ALLOW_DIRS> (Directories the server may read captures from, colon-separated. Required: the server refuses to start without one). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: TSHARK_MCP_TSHARK (Path to the tshark binary (4.0 or newer) when it is not on PATH), TSHARK_MCP_REDACT (Pseudonymise identifiers in every result: ids (IMSI, MSISDN, IMEI, SIP users, UE IPs) or ids+ips (every IP too)), TSHARK_MCP_EXPORT_DIR (Turns on export_subset: the one directory it may write new pcapng files to. Must not overlap an allowed dir. Unset: the server writes nothing).

Alternatives to tshark-mcp

same job, measured the same way
ClickHouse
by alyiox

Read-only MCP server for ClickHouse metadata, parameterized queries, and plan analysis.

190 installs/wk local only
Pcapport
by cloudcorprecords

PCAP analysis: DNS, DHCP, ICMP, TCP flows, anomalies, and SIP from capture files.

290 installs/wk local only
Onepiece Oracle
by gregario

One Piece TCG MCP server with card search, deck analysis, and set browsing

52 installs/wk local only
hardly
by b1tninja

Generic HAR analysis MCP server: index and query captures without burning tokens on raw files.

99 installs/wk local only
ChangePacket
by misfitmediahouse

Web and MCP change memory with native diff UI; later calls return only what changed.

3 tools answering
pyslang-mcp
by ariklapid

Compiler-backed read-only Verilog and SystemVerilog project analysis.

142 installs/wk local only
Disk Inventory MCP
by lemmalemming

Read-only macOS disk analysis with bounded scans, size queries, and extension breakdowns.

local only
Fundamental Analysis
by boffincoders

Read-only fundamental analysis: P/E, DCF, Graham, Altman Z, Piotroski and margins, with formulas

350 installs/wk local only

tshark-mcp — questions

Answers built from our own checks of this server.

Why is there no uptime for tshark-mcp?
tshark-mcp runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package tshark-mcp-server was installed 842 times last week.
How do I connect tshark-mcp?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls tshark-mcp-server straight from pypi; nothing to host, nothing to sign up for.
How many people use tshark-mcp?
The pypi package tshark-mcp-server was installed 842 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is tshark-mcp open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.