Pcapy Ng MCP server
MCP server exposing pcapy-ng packet capture functionality
0 stars17 downloads/wk
Reviews
Write oneNobody has reviewed Pcapy Ng yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Pcapy Ng tools (14, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compilewrite actionCreates a BPF (Berkeley Packet Filter) program for packet filtering.
createwrite actionCreates a packet capture handle to look at packets on the network.
findalldevsLists all available network interfaces on the system.
get_constantsGet all pcapy constants (DLT types, directions, errors).
get_dlt_namesGet mapping of DLT (Data Link Type) constants to their names.
get_pcap_directionsGet mapping of PCAP direction constants to their names.
lookupdevGets the default network device for packet capture.
open_liveOpens a live network interface for packet capture.
open_offlineOpens a pcap file for reading packet captures.
pcap_datalinkGet the data link type from a pcap handle.
pcap_getnonblockGet the non-blocking status of a pcap handle.
pcap_readRead packets from a pcap handle.
pcap_setfilterAttach a compiled BPF filter to a pcap handle.
pcap_setnonblockSet the non-blocking mode of a pcap handle.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Pcapy Ng compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 14
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 17
- more than 5% of 11,915 servers with a package
What its tools let an agent do: 10 read · 3 create · 1 change
Install Pcapy Ng in Claude Code, Cursor or VS Code
claude mcp add mcp-pcapy-ng -- uvx mcp-pcapy-ng
What the publisher says
From the Pcapy Ng repository's README, as published. We do not edit it. Read it on GitHub
mcp-pcapy-ng
MCP server exposing pcapy-ng packet capture functionality.
mcp-name: io.github.daedalus/mcp-pcapy-ng
Install
pip install mcp-pcapy-ngUsage
The MCP server provides tools for network packet capture using pcapy-ng:
from mcp_pcapy_ng import mcp
mcp.run()Or via command line:
mcp-pcapy-ngAvailable Tools
- findalldevs - List all available network interfaces
- lookupdev - Get the default network device
- open_live - Open a live network interface for packet capture
- open_offline - Open a pcap file for reading
- create - Create a packet capture handle
- compile - Create a BPF filter program
- pcap_read - Read packets from a pcap handle
- pcap_datalink - Get the data link type
- pcap_setfilter - Attach a BPF filter
- pcap_getnonblock - Get non-blocking status
- pcap_setnonblock - Set non-blocking mode
- getdltnames - Get DLT constant mappings
Development
git clone https://github.com/daedalus/mcp-pcapy-ng.git
cd mcp-pcapy-ng
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/Nothing above is checked by us. What we check is on the safety report.
Pcapy Ng: common questions
- Is Pcapy Ng MCP server safe?
- Mostly: it is graded B (82/100). Read the Pcapy Ng safety report
- How do I install Pcapy Ng?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Pcapy Ng need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Pcapy Ng maintained?
- The last commit was 195 days ago (2026-04-21). The latest release is v0.1.0.
- How does Pcapy Ng compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 14 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.