Skip to main content
Glama
The Network Tools MCP Server

The Network Tools MCP Server

README.md
# The Network Tools MCP Server

[![Official MCP Registry](https://img.shields.io/badge/MCP_Registry-com.thenetworktools%2Fnetwork--tools-111827?style=flat-square)](https://registry.modelcontextprotocol.io/v0/servers/com.thenetworktools%2Fnetwork-tools/versions/latest)
[![Glama MCP Connector](https://glama.ai/mcp/connectors/com.thenetworktools/network-tools/badges/score.svg)](https://glama.ai/mcp/connectors/com.thenetworktools/network-tools)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](./LICENSE)
[![Website](https://img.shields.io/badge/Website-thenetworktools.com-286FEC?style=flat-square)](https://thenetworktools.com/docs/mcp)

> Official open-source **Model Context Protocol (MCP)** server for [The Network Tools](https://thenetworktools.com).

Give AI coding assistants (**Claude Desktop**, **Claude Code**, **Cursor**, **Windsurf**, **Cline**, **Google Antigravity**, **Zed**, and **Continue.dev**) live network telemetry: RFC 8484 DNS lookups, ICANN RDAP WHOIS, TLS/SSL certificate inspection, HTTP security header grading, SPF/DMARC email auth analysis, IP/DNSBL reputation, subdomain enumeration, TCP port probing, tech-stack detection, subnet CIDR math, and HTTP latency checks.

---

## Quick Setup (Zero-Install Remote MCP — Recommended)

The hosted remote Streamable HTTP endpoint requires **no installation and no API key**:

- **Endpoint:** `https://thenetworktools.com/mcp`
- **Transport:** `streamable-http`
- **Authentication:** Open / Read-only (zero API key required)

### Cursor / Claude Code / Cline Remote Config

```json
{
  "mcpServers": {
    "the-network-tools": {
      "url": "https://thenetworktools.com/mcp"
    }
  }
}
```

### Claude Code CLI

```bash
claude mcp add --transport http the-network-tools https://thenetworktools.com/mcp
```

---

## Local Stdio Setup (From Source)

Requirements: **Node.js 20+**

```bash
git clone https://github.com/theankitraj-cmd/thenetworktools-mcp.git
cd thenetworktools-mcp
npm install
npm run build
```

Verify the binary:

```bash
node dist/index.js --help
```

Then point any stdio MCP client (`Claude Desktop`, `Cline`, `Windsurf`, `Antigravity`, `Zed`, `Continue.dev`) at the built file:

```json
{
  "mcpServers": {
    "the-network-tools": {
      "command": "node",
      "args": ["/ABS/PATH/TO/thenetworktools-mcp/dist/index.js"]
    }
  }
}
```

> Also check [llms-install.md](./llms-install.md) for automated AI-agent / Cline setup instructions.

---

## Available Tools (12 Tools)

| Tool Name | Description | Key Parameters |
| :--- | :--- | :--- |
| `dns_lookup` | Query A, AAAA, MX, TXT, CNAME, NS, SOA records via RFC 8484 DoH (`1.1.1.1` / `8.8.8.8`) | `domain`, `recordType` |
| `ip_intelligence` | Inspect IP routing, ASN, ISP, country, city, and reverse DNS PTR | `ip` |
| `whois_lookup` | Query authoritative ICANN RDAP registration date, expiry, registrar, and statuses | `domain` |
| `ssl_certificate` | Real-time TLS certificate validity, expiration countdown, issuer, and SANs | `domain`, `port` |
| `security_headers` | Audit HSTS, CSP, X-Frame-Options, Referrer-Policy, and Permissions-Policy | `url` |
| `dmarc_analyze` | Evaluate email authentication posture: DMARC policy, SPF records, and tags | `domain` |
| `blacklist_check` | Scan 7 DNSBL zones (Spamhaus ZEN, Barracuda, SpamCop, Mailspike, etc.) | `target` |
| `subdomain_scanner` | Enumerate subdomains via Certificate Transparency logs (`crt.sh`) | `domain` |
| `port_scanner` | Probe common TCP ports (80, 443, 22, 3306, 5432, etc.) | `host`, `ports` |
| `tech_stack_profiler` | Detect web servers, CDNs, CMS platforms, and frameworks from live HTTP signals | `url` |
| `subnet_calculator` | Calculate IPv4 CIDR network, netmask, usable IP range, and broadcast address | `cidr` |
| `http_latency` | Measure HTTP TTFB and total round-trip response latency | `url` |

### Built-in Prompts

- `audit_domain` — Multi-step infrastructure, TLS, security header, email auth, and DNSBL audit.
- `diagnose_email_deliverability` — Diagnose SPF/DMARC, MX routing, and DNSBL reputation issues.

---

## Links & Docs

- **Web Platform:** [thenetworktools.com](https://thenetworktools.com)
- **Full MCP Docs:** [thenetworktools.com/docs/mcp](https://thenetworktools.com/docs/mcp)
- **MCP Workflow Prompts:** [thenetworktools.com/mcp/workflows](https://thenetworktools.com/mcp/workflows)
- **REST API Docs:** [thenetworktools.com/docs/api](https://thenetworktools.com/docs/api)
- **Official Registry Entry:** `com.thenetworktools/network-tools`

## License

[MIT](./LICENSE)