# Hackertarget

> Hackertarget is a freemium MCP server for web search and scraping. Pipeworx MCP server giving AI clients DNS, WHOIS, ping and IP lookup tools. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, Web, self-hosted
- **Website:** https://pipeworx.io/packs/hackertarget
- **Repository:** https://github.com/pipeworx-io/mcp-hackertarget
- **MCP Registry name:** io.github.pipeworx-io/hackertarget
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-18

## About

The README says this server wraps HackerTarget's IP tools as MCP tools, covering forward and reverse DNS, passive subdomain discovery, IP geolocation, ASN and reverse-IP lookups, HTTP header fetches, ping, traceroute, and subnet arithmetic. Most of the fourteen tools run without any credential, while whois, mtr and traceroute require a personal HackerTarget membership key passed as _apiKey.

It is hosted on the Pipeworx gateway, so clients connect over streamable HTTP at a dedicated endpoint, or run a local npm stdio bridge. Anonymous calls are capped daily, and a free Pipeworx key raises the limit. The server is unofficial and not affiliated with HackerTarget.

It suits network administrators, security researchers doing reconnaissance on infrastructure they are authorised to test, and developers who want an assistant to answer hosting or DNS questions from live data.

## Features

- **Forward and reverse DNS:** Resolves hostnames to A, AAAA, MX, NS and SOA records and maps IP addresses back to published hostnames.
- **Passive subdomain search:** Lists known subdomains of a domain along with their IP addresses.
- **IP geolocation and ASN lookup:** Returns country, region, city and coordinates, plus the owning autonomous system and announced prefix.
- **Ping, traceroute and mtr:** Checks reachability and round-trip time from HackerTarget's probe host, with per-hop loss and latency on request.
- **HTTP header inspection:** Fetches response headers, status line, Server and redirect information for a host or URL.
- **Subnet arithmetic:** Computes network and broadcast addresses and host ranges for a CIDR block.

## Good for

- Checking where a domain's A records point during a migration
- Finding staging or admin subdomains during an authorised security review
- Identifying which ASN and hosting provider owns an IP address
- Confirming HTTP redirects and security headers for a website
- Calculating subnet ranges while planning network addressing

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http hackertarget https://gateway.pipeworx.io/hackertarget/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/hackertarget/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hackertarget": {
      "url": "https://gateway.pipeworx.io/hackertarget/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "hackertarget": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/hackertarget/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "hackertarget": {
      "serverUrl": "https://gateway.pipeworx.io/hackertarget/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hackertarget": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/hackertarget/mcp"
    }
  }
}
```

## Tools

- `dns_lookup`: A/AAAA/MX/NS/SOA records for a hostname
- `reverse_dns`: Reverse DNS (PTR) for an IP
- `nping`: ICMP ping from HackerTarget's probe host
- `dns_host_search`: Passive DNS subdomain search
- `find_shared_dns`: Domains sharing the same nameserver
- `geoip`: IP geolocation
- `reverse_ip`: Hostnames resolving to the same IP
- `as_lookup`: ASN, announced prefix and network name
- `http_headers`: HTTP response headers for a host or URL
- `subnet_lookup`: Subnet arithmetic for a CIDR block
- `page_links`: Links extracted from one page
- `whois`: WHOIS record for a domain or IP
- `mtr`: Per-hop loss/latency report
- `traceroute`: Routers between HackerTarget and the target

## FAQ

### Which tools need an API key?

According to the README, whois, mtr and traceroute require a HackerTarget membership key passed as _apiKey. The other eleven tools need no credential.

### What are the daily limits without a key?

The Pipeworx listing says anonymous callers get 50 tool calls a day, and a free registered account raises that to 200 a day.

### Does it work with Claude Desktop or Cursor?

The README gives configuration snippets for Claude Desktop and Cursor, using either the hosted URL or the npx stdio bridge.

### Is it affiliated with HackerTarget?

No. The README states it is an independent, unofficial integration not endorsed by the upstream provider.

### Is Hackertarget free?

Hackertarget has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Hackertarget to Claude Code?

Run this command in your terminal: claude mcp add --transport http hackertarget https://gateway.pipeworx.io/hackertarget/mcp

### What are the best alternatives to Hackertarget?

The closest alternatives to Hackertarget are ipdata MCP by usefulapi, Ipify, APIFreaks MCP and FFraud.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ipdata MCP by usefulapi](https://ai-powered.com/mcp/ipdata-mcp-by-usefulapi): ipdata MCP by usefulapi is a freemium MCP server for web search and scraping.
- [Ipify](https://ai-powered.com/mcp/ipify): Ipify is a freemium MCP server for web search and scraping.
- [APIFreaks MCP](https://ai-powered.com/mcp/apifreaks-mcp): APIFreaks MCP is a freemium MCP server for web search and scraping.
- [FFraud](https://ai-powered.com/mcp/ffraud): FFraud is a free MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/hackertarget
