Keel
Sounding
网络诊断 MCP 服务器
探测水面之下——为 AI 工具提供的网络诊断功能。
功能概述
Sounding 是一个 Model Context Protocol (MCP) 服务器,为 AI 助手提供了 14 种网络诊断工具。它处理了你通常需要使用 ping、dig、nmap 或 openssl 才能完成的任务,并将其公开为结构化、经过验证的 MCP 工具调用。
Related MCP server: netops-mcp
工具
工具 | 描述 | 关键参数 |
| 服务器版本和状态检查 | -- |
| 带有延迟统计的 TCP 连接 ping (端口 80) |
|
| 追踪到主机的网络路由 |
|
| 解析 DNS 记录 (A, AAAA, MX, CNAME, TXT, NS) |
|
| IP 地址的反向 DNS 查询 |
|
| 检查单个 TCP 端口是否开放 |
|
| 扫描常用 TCP 端口 (速率受限,最多 100 个) |
|
| 检查 SSL/TLS 证书详情和过期时间 |
|
| WHOIS 域名注册查询 |
|
| 带有状态、耗时、标头和大小的 HTTP 请求 |
|
| 发现本地子网上的活跃主机 (仅限 RFC 1918) |
|
| 获取机器的公网 IP 地址 | -- |
| 测量下载速度 (Mbps) 和延迟 | -- |
| 检查跨公共解析器的 DNS 传播情况 |
|
安装
通过 PyPI 安装:
pip install sounding-mcp或使用 pipx 进行隔离安装:
pipx install sounding-mcp使用方法
直接运行服务器 (stdio 传输):
soundingClaude Code
注册为本地 MCP 服务器:
claude mcp add sounding -- soundingClaude Desktop
添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"sounding": {
"command": "sounding",
"args": []
}
}
}如果安装在虚拟环境中,请使用二进制文件的完整路径:
{
"mcpServers": {
"sounding": {
"command": "/path/to/.venv/bin/sounding",
"args": []
}
}
}安全性
Sounding 专为 AI 驱动的使用场景而设计,确保安全:
SSRF 防护 --
http_check会解析主机名并阻止对内部、私有、回环和链路本地 IP 地址(包括 IPv4 映射的 IPv6)的请求。云元数据端点 (169.254.x.x) 已被拦截。输入验证 -- 所有输入在到达任何网络调用或子进程之前,都会通过验证器,拒绝 shell 元字符、格式错误的主机名和无效端口。
速率限制 --
port_scan强制要求扫描之间至少间隔 1 秒,以防止滥用。子网限制 --
subnet_scan仅允许 RFC 1918 私有子网,并限制在 /20(4096 个地址)以内,同时具有并发限制。无 Shell 注入 -- 子进程调用 (
traceroute,whois) 使用exec风格的调用,从不使用 shell 插值。
开发
git clone https://github.com/seayniclabs/sounding.git
cd sounding
python -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"
python -m pytest tests/ -q许可证
Available Tools
14 toolscheck_ssl_certA
Inspect the SSL/TLS certificate on a host.
Returns issuer, subject, expiry, SANs, and days until expiry.
Inputs: host (required), port.
dns_lookupC
Resolve DNS records for a domain using dnspython.
Supported record types: A, AAAA, MX, CNAME, TXT, NS.
Inputs: domain (required), record_type, nameserver.
dns_propagationA
Check DNS propagation across multiple public resolvers.
Queries Google (8.8.8.8), Cloudflare (1.1.1.1), OpenDNS (208.67.222.222), Quad9 (9.9.9.9), and the system default resolver in parallel, then highlights any inconsistencies between them.
Supported record types: A, AAAA, CNAME, MX, TXT.
Inputs: domain (required), record_type.
get_public_ipB
Get the public IP address of this machine.
Inputs: no named parameters.
healthA
Return server version and status.
Inputs: no named parameters.
http_checkB
Perform an HTTP request and return timing breakdown.
Returns status code, timing (DNS, connect, TLS, TTFB, total), response size, and headers.
Inputs: url (required).
pingA
Ping a host using TCP connect (port 80) as a non-root ICMP alternative.
Returns min/avg/max/jitter latency in milliseconds.
Inputs: host (required), count, timeout.
port_checkC
Check whether a single TCP port is open on a host.
Inputs: host (required), port (required), timeout.
port_scanC
Scan common TCP ports on a host.
Safety limits: max 100 ports, rate-limited to one scan per second.
Inputs: host (required), ports.
reverse_dnsC
Perform a reverse DNS lookup for an IP address.
Inputs: ip (required).
speed_testA
Measure network download speed and latency.
Downloads a 10 MB test payload from Cloudflare and measures throughput. Also measures latency with multiple TCP connect pings. Returns download speed in Mbps and latency stats in milliseconds.
Inputs: no named parameters.
subnet_scanA
Discover live hosts on a local subnet by probing common ports.
Only allows RFC 1918 private subnets for safety. Probes TCP ports 22, 80, and 443 on each host.
Inputs: subnet (required).
tracerouteC
Trace the network route to a host.
Wraps the system traceroute command and parses output.
Inputs: host (required), max_hops.
whois_lookupB
WHOIS lookup for a domain using the system whois command.
Inputs: domain (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
All 14 tools have clearly distinct purposes, from SSL certificate checks to DNS lookups, WHOIS, and network diagnostics. There is no overlap or ambiguity between tool descriptions.
Most tools follow a verb_noun snake_case pattern (e.g., dns_lookup, port_scan), though 'ping', 'traceroute', and 'health' break the pattern. Overall consistent and readable.
14 tools is well-scoped for a network diagnostics server, covering essential functionalities without being excessive or sparse.
The tool set covers a wide range of network diagnostic tasks (DNS, SSL, HTTP, ports, traceroute, WHOIS, speed test, subnet scan). Minor gaps (e.g., HTTP method selection, ICMP ping) exist but do not hinder core workflows.
Maintenance
Related MCP Connectors
Network, domain and website diagnostics for AI clients via MCP.
Public DNS, mail, TLS, and web diagnostics plus Looking Glass probes via remote MCP.
DNS MCP — DNS and network lookup tools
WireGuard and path MCP: latency, speed, IP, geo, HTTP/2 and HTTP/3 probes.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for network diagnostics providing tools like ping, DNS lookup, port check, traceroute, speed test, Wake-on-LAN, SSL certificate check, and MAC address lookup.8MIT
- AlicenseCqualityCmaintenanceProvides network operations tools such as ping, traceroute, DNS queries, and nmap scans via MCP, enabling network diagnostics and monitoring through natural language.3016MIT
- FlicenseNot gradedqualityDmaintenanceA secure MCP server for network diagnostics, providing tools like ping, traceroute, whois, nslookup, dig, nmap, curl, and netstat through natural language interfaces.-
- AlicenseNot gradedqualityDmaintenanceProvides network monitoring capabilities including real-time latency measurement, ping sweeps, and subnet scanning via MCP tools, with a companion web dashboard for live visualization.MIT