Back to the catalog

io.github.rog0x/network

DNS, IP info, SSL, WHOIS, ping for AI agents

Open source Open in the app JSON README (API)

About

DNS, IP info, SSL, WHOIS, ping for AI agents

Details

Kind
MCP servers
Topic
No topic detected
Publisher
rog0x
Origin
official
Category
ferramentas
Transport
local
Version
1.0.2
Stars
1
Last push
2026-03-21T20:21:42Z
Repository state
ativo
Language
TypeScript
License
NOASSERTION
Added
2026-08-29 04:01:19
Updated
2026-08-29 04:01:19
Origin id
io.github.rog0x/network

README

# mcp-network-tools

Network diagnostics tools for AI agents, exposed via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io).

## Tools

| Tool | Description |
|------|-------------|
| `dns_lookup` | Resolve domains to DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA). Reverse DNS. Propagation check across public DNS servers. |
| `ip_info` | Geolocation and network info for an IP address — country, city, ISP, ASN, coordinates. IPv4 and IPv6. |
| `ssl_check` | Inspect SSL/TLS certificates — validity, issuer, expiry, SANs, certificate chain, cipher, protocol. |
| `whois_lookup` | WHOIS data for a domain — registrar, creation/expiry dates, nameservers, status. |
| `http_ping` | Measure HTTP response time over N requests. Returns avg, min, max, p95 latency and success rate. |

## Setup

```bash
npm install
npm run build
```

## Usage with Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "network-tools": {
      "command": "node",
      "args": ["D:/products/mcp-servers/mcp-network-tools/dist/index.js"]
    }
  }
}
```

## Dependencies

- **@modelcontextprotocol/sdk** — MCP server framework
- **Node.js built-in modules** — `dns`, `tls`, `net`, `https`, `http` (no external runtime dependencies beyond MCP SDK)
- **ip-api.com** — free geolocation API (no API key required)

## Examples

### DNS Lookup
```
dns_lookup({ domain: "example.com", record_types: ["A", "MX"] })
```

### Reverse DNS
```
dns_lookup({ domain: "8.8.8.8", mode: "reverse" })
```

### DNS Propagation Check
```
dns_lookup({ domain: "example.com", mode: "propagation" })
```

### IP Info
```
ip_info({ ip: "1.1.1.1" })
```

### SSL Check
```
ssl_check({ host: "example.com" })
```

### WHOIS Lookup
```
whois_lookup({ domain: "example.com" })
```

### HTTP Ping
```
http_ping({ url: "https://example.com", count: 10 })
```

## License

MIT

More