
Packetrove
io.github.euyuilv0.3.0更新於 Oct 3, 2026
Open-source IP address and CIDR tools for network calculations and public IP lookup.
概覽
讓助理計算涵蓋 CIDR、做網段相減、把 IP 範圍轉成 CIDR,並查詢連線的公開 IP。
- 功能
- Packetrove 提供四個網路工具:找出涵蓋一組位址的最小 IPv4 或 IPv6 CIDR;精確減去要排除的 CIDR 清單;把閉區間 IP 範圍轉成最小 CIDR 清單並給出精確位址數;以及回報發出請求的連線所觀察到的公開 IP。同一組工具可透過網站、Web API、CLI 與 MCP 使用。位址數以十進位字串回傳,以保留精確的 IPv6 數值。
- 適用情境
- 適合在撰寫或檢查防火牆允許清單與封鎖清單、簡化 IP 清單,或確認某個連線對外呈現的公開 IP 時使用。面向希望精確完成 CIDR 運算而非手算的開發者與網路管理員。
- 執行需求
- 遠端 MCP 端點 streamable HTTP。託管工具不需要帳號或 API 金鑰。需要網路存取,公開 IP 查詢觀察的是發出請求的連線。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Packetrove,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"packetrove": {
"type": "http",
"url": "https://api.packetrove.com/mcp"
}
}
}README
Packetrove
Network tools for humans and agents.
Packetrove helps developers and network administrators simplify firewall IP lists, subtract networks, convert IP ranges to CIDRs, and check a connection's public IP. Use the website for a quick calculation, the API or CLI for scripts, or connect AI agents through Model Context Protocol (MCP).
Website · CIDR calculator · CIDR subtraction · IP range to CIDRs · My Public IP
What you can do
- Cover an IP list with one CIDR. Find the smallest IPv4 or IPv6 network covering your inputs, with its full address range and exact additional coverage.
- Subtract CIDR lists exactly. Remove excluded networks and copy the smallest CIDR list representing the remaining addresses, without adding addresses.
- Convert an IP range exactly. Enter inclusive start and end addresses and copy the minimal CIDR list covering that range, with an exact address count.
- Check a connection's public IP. See and copy the IPv4 or IPv6 address observed for the connection making the request.
The website supports ten languages. Hosted tools require no account or API key. All four tools are available through the website, Web API, and MCP. The CLI provides covering-CIDR calculations and public IP lookup.
Browse example results in the homepage gallery, then open a tool to enter your own inputs. Gallery previews use documentation addresses and make no live lookups.
Quick start
Open the CIDR calculator, or call the API:
The result is 203.0.113.0/29: eight addresses, including five beyond the three
inputs. Review this expansion before using it in an allowlist or blocklist.
API address counts are decimal strings to preserve exact IPv6 values.
Use it your way
The website's main navigation opens browser tools. Its footer groups the API, MCP, and CLI guides; the CLI guide is in English.
Tools share flat public names across interfaces. For changes to existing calls and commands, see the name migration guide.
Privacy and scope
- Website CIDR calculations run locally in your browser; CLI calculations run offline. API and remote MCP calculations send inputs to the server.
- Public IP checks make a network request and observe one address family per check. A VPN or proxy supplies its exit address; a hosted MCP client may observe a different connection from your computer's. Browser and CLI lookups have a ten-second deadline and a 64 KiB response limit.
- The application does not store or log returned IP addresses. Lookup results and errors are not cached.
- MCP execution counts use operational events with the tool name, outcome, and a controlled error code, excluding inputs and results. The deployment guide describes the free-tier limits and per-tool queries.
- The Privacy Policy describes remote input processing, browser storage, operational error logs, hosting, retention, and user choices. Cloudflare's platform processing is separate from application storage and logging.
For input formats, limits, and detailed behavior, see the covering-CIDR, CIDR subtraction, IP range conversion, and public IP guides.
Development
Use the Node.js version in .node-version and the pnpm version in package.json. Local development needs no production credentials.
Open http://127.0.0.1:5173. For the API and MCP, run pnpm dev:api in another
terminal; they listen at http://localhost:8787. Local public IP lookup requires
Cloudflare connection metadata and reports CLIENT_IP_UNAVAILABLE without it.
See Contributing for complete setup, checks, and Git hooks.
Documentation and contributing
- Contribute or report an issue
- Self-hosting
- Continuous integration and deployment
- Product releases, CLI publishing, and MCP Registry publication · Changelog
License
Packetrove is licensed under the MIT License. Bundled components retain their own licenses; see the website notices and CLI notices.
來源:README.md,提交 2709427
工具
0版本歷史
1- v0.3.0最新Oct 3, 2026

