WireMCP

Data and AI

An MCP for WireShark (tshark). Empower LLM's with realtime network traffic analysis capability.

Your AI app calls the WireMCP MCP server, which does the data and AI work and sends the result back to the chat.

About WireMCP

WireMCP is a community MCP server from 0xKoda, filed in our directory under data and ai. An MCP for WireShark (tshark). Empower LLM's with realtime network traffic analysis capability.

At a glance

Publisher
0xKoda (community)
Runs
See the README for setup
Written in
JavaScript
License
MIT
GitHub stars
609

How to set up WireMCP

  1. Follow the install steps in the WireMCP README; it is written in JavaScript, so have that toolchain ready.
  2. Check the WireMCP README for keys or settings; the registry lists none that WireMCP requires.
  3. Add WireMCP to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the WireMCP tools to confirm the connection.
  5. Run one read-only task with WireMCP first, and keep your app asking before each tool call until the results look right.

WireMCP compared with similar servers

  • Pullmd by AeternaLabsHQ has fewer GitHub stars than WireMCP (530 against 609); both are community servers, and both run locally.
  • haiku.rag by ggozad has more GitHub stars than WireMCP (673 against 609); both are community servers, and both run locally.
  • Zero by xfey has fewer GitHub stars than WireMCP (518 against 609); both are community servers, and both run locally.

Before you connect WireMCP

  • Give WireMCP its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each WireMCP tool call until you trust what it does with them.
  • Treat text that WireMCP fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for WireMCP on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for WireMCP

How marketing and sales teams put WireMCP to work, by company size. Pick the size closest to yours and start WireMCP on one use case.

Small business

  • A small team can use WireMCP to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask WireMCP to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • WireMCP runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect WireMCP to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use WireMCP to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start WireMCP on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run WireMCP inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use WireMCP in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • WireMCP is a community server, so have security review the code and pin a version before WireMCP touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

WireMCP README

From 0xKoda/WireMCP on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

WireMCP

WireMCP is a Model Context Protocol (MCP) server designed to empower Large Language Models (LLMs) with real-time network traffic analysis capabilities. By leveraging tools built on top of Wireshark's tshark, WireMCP captures and processes live network data, providing LLMs with structured context to assist in tasks like threat hunting, network diagnostics, and anomaly detection.

Features

WireMCP exposes the following tools to MCP clients, enhancing LLM understanding of network activity:

  • capture_packets: Captures live traffic and returns raw packet data as JSON, enabling LLMs to analyze packet-level details (e.g., IP addresses, ports, HTTP methods).
  • get_summary_stats: Provides protocol hierarchy statistics, giving LLMs an overview of traffic composition (e.g., TCP vs. UDP usage).
  • get_conversations: Delivers TCP/UDP conversation statistics, allowing LLMs to track communication flows between endpoints.
  • check_threats: Captures IPs and checks them against the URLhaus blacklist, equipping LLMs with threat intelligence context for identifying malicious activity.
  • check_ip_threats: Performs targeted threat intelligence lookups for specific IP addresses against multiple threat feeds, providing detailed reputation and threat data.
  • analyze_pcap: Analyzes PCAP files to provide comprehensive packet data in JSON format, enabling detailed post-capture analysis of network traffic.
  • extract_credentials: Scans PCAP files for potential credentials from various protocols (HTTP Basic Auth, FTP, Telnet), aiding in security audits and forensic analysis.

How It Helps LLMs

WireMCP bridges the gap between raw network data and LLM comprehension by:

  • Contextualizing Traffic: Converts live packet captures into structured outputs (JSON, stats) that LLMs can parse and reason about.
  • Threat Detection: Integrates IOCs (currently URLhaus) to flag suspicious IPs, enhancing LLM-driven security analysis.
  • Diagnostics: Offers detailed traffic insights, enabling LLMs to assist with troubleshooting or identifying anomalies.
  • Narrative Generation: LLM's can Transform complex packet captures into coherent stories, making network analysis accessible to non-technical users.

Installation

Prerequisites

  • Mac / Windows / Linux
  • Wireshark (with tshark installed and accessible in PATH)
  • Node.js (v16+ recommended)
  • npm (for dependency installation)

Setup

  1. Clone the repository:

    git clone https://github.com/0xkoda/WireMCP.git
    cd WireMCP
    
  2. Install dependencies:

    npm install
    
  3. Run the MCP server:

    node index.js
    

Note: Ensure tshark is in your PATH. WireMCP will auto-detect it or fall back to common install locations (e.g., /Applications/Wireshark.app/Contents/MacOS/tshark on macOS).

Usage with MCP Clients

WireMCP works with any MCP-compliant client. Below are examples for popular clients:

Example 1: Cursor

Edit mcp.json in Cursor -> Settings -> MCP :

{
  "mcpServers": {
    "wiremcp": {
      "command": "node",
      "args": [
        "/ABSOLUTE_PATH_TO/WireMCP/index.js"
      ]
    }
  }
}

Location (macOS): /Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json

Other Clients

This MCP will work well with any client. Use the command node /path/to/WireMCP/index.js in their MCP server settings.

Example Output

Running check_threats might yield:

Captured IPs:
174.67.0.227
52.196.136.253

Threat check against URLhaus blacklist:
No threats detected in URLhaus blacklist.

Running analyze_pcap on a capture file:

{
  "content": [{
    "type": "text",
    "text": "Analyzed PCAP: ./capture.pcap\n\nUnique IPs:\n192.168.0.2\n192.168.0.1\n\nProtocols:\neth:ethertype:ip:tcp\neth:ethertype:ip:tcp:telnet\n\nPacket Data:\n[{\"layers\":{\"frame.number\":[\"1\"],\"ip.src\":[\"192.168.0.2\"],\"ip.dst\":[\"192.168.0.1\"],\"tcp.srcport\":[\"1550\"],\"tcp.dstport\":[\"23\"]}}]"
  }]
}

LLMs can use these outputs to:

  • Provide natural language explanations of network activity
  • Identify patterns and potential security concerns
  • Offer context-aware recommendations
  • Generate human-readable reports

Roadmap

  • Expand IOC Providers: Currently uses URLhaus for threat checks. Future updates will integrate additional sources (e.g., IPsum, Emerging Threats) for broader coverage.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Acknowledgments

  • Wireshark/tshark team for their excellent packet analysis tools
  • Model Context Protocol community for the framework and specifications
  • URLhaus for providing threat intelligence data

Questions about WireMCP

What is the WireMCP MCP server?

An MCP for WireShark (tshark). Empower LLM's with realtime network traffic analysis capability. WireMCP is maintained by 0xKoda on GitHub at 0xKoda/WireMCP, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the WireMCP MCP server?

WireMCP doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (0xKoda/WireMCP). Like most servers, WireMCP ends with a command or URL you paste into your AI app's MCP config.

Does WireMCP need an API key?

The registry lists no required keys for WireMCP. Check the WireMCP README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is WireMCP an official MCP server?

No. WireMCP is a community server maintained by 0xKoda. Community servers can be excellent; read the code and the open issues before you give WireMCP access to company data.

What license is WireMCP under?

WireMCP is released under the MIT license, according to its GitHub repository. The license covers the code of WireMCP; the service it connects to has its own terms.