Keel
Keel is a network diagnostics MCP server that provides 14 tools for tasks like ping, DNS lookup, port scanning, SSL certificate inspection, and more, with built-in security features.
README
Keel
Network Diagnostics MCP Server
Probing what lies beneath the surface -- network diagnostics for AI tools.
What It Does
Keel is a Model Context Protocol (MCP) server that gives AI assistants 14 network diagnostic tools. It handles the things you'd normally reach for ping, dig, nmap, or openssl to do -- but exposed as structured, validated MCP tool calls.
Tools
| Tool | Description | Key Parameters |
|---|---|---|
health |
Server version and status check | -- |
ping |
TCP connect ping (port 80) with latency stats | host, count (1--100), timeout |
traceroute |
Trace network route to a host | host, max_hops (1--64) |
dns_lookup |
Resolve DNS records (A, AAAA, MX, CNAME, TXT, NS) | domain, record_type, nameserver |
reverse_dns |
Reverse DNS lookup for an IP address | ip |
port_check |
Check if a single TCP port is open | host, port, timeout |
port_scan |
Scan common TCP ports (rate-limited, max 100) | host, ports |
check_ssl_cert |
Inspect SSL/TLS certificate details and expiry | host, port |
whois_lookup |
WHOIS domain registration lookup | domain |
http_check |
HTTP request with status, timing, headers, size | url |
subnet_scan |
Discover live hosts on a local subnet (RFC 1918 only) | subnet (CIDR, max /20) |
get_public_ip |
Get the machine's public IP address | -- |
speed_test |
Measure download speed (Mbps) and latency | -- |
dns_propagation |
Check DNS propagation across public resolvers | domain, record_type |
Installation
From PyPI:
pip install keel-mcp
Or isolated with pipx:
pipx install keel-mcp
Usage
Run the server directly (stdio transport):
keel
Claude Code
Register as a local MCP server:
claude mcp add keel -- keel
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"keel": {
"command": "keel",
"args": []
}
}
}
If installed in a virtual environment, use the full path to the binary:
{
"mcpServers": {
"keel": {
"command": "/path/to/.venv/bin/keel",
"args": []
}
}
}
Security
Keel is designed to be safe for AI-driven use:
- SSRF protection --
http_checkresolves hostnames and blocks requests to internal, private, loopback, and link-local IP addresses (including IPv4-mapped IPv6). Cloud metadata endpoints (169.254.x.x) are blocked. - Input validation -- All inputs pass through validators that reject shell metacharacters, malformed hostnames, and invalid ports before reaching any network call or subprocess.
- Rate limiting --
port_scanenforces a minimum 1-second interval between scans to prevent abuse. - Subnet restriction --
subnet_scanonly allows RFC 1918 private subnets and caps at /20 (4096 addresses) with concurrency limiting. - No shell injection -- Subprocess calls (
traceroute,whois) useexec-style invocation, never shell interpolation.
Development
git clone https://github.com/seayniclabs/keel.git
cd keel
python -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"
python -m pytest tests/ -q
Using with a Gateway
If you're running multiple MCP servers, route them through a gateway like tbxark/mcp-proxy to manage all child processes from a single persistent service. The proxy handles process lifecycle, centralized config, and crash recovery — each server still gets its own SSE endpoint but you manage everything from one config file instead of scattered Claude Code entries.
For a full walkthrough of how this works in practice, see The Hidden Cost of a Loaded MCP Stack on charlieseay.com.
License
<!-- mcp-name: io.github.seayniclabs/keel -->
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.