Skip to main content
Glama
badchars

osint-mcp-server

by badchars

hackertarget_reverseip

Find all domains hosted on a specific IP address using HackerTarget's reverse IP lookup. Identify websites sharing the same server for security research or network analysis.

Instructions

Reverse IP lookup via HackerTarget — find all domains hosted on an IP. Free tier: 50 queries/day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIP address for reverse lookup

Implementation Reference

  • The core logic for performing the reverse IP lookup via the HackerTarget API.
    export async function hackertargetReverseIp(ip: string): Promise<string[]> {
      const text = await htFetch("reverseiplookup", ip);
      if (!text) return [];
      return text.split("\n").filter(Boolean).map((l) => l.trim());
    }
  • Tool registration for 'hackertarget_reverseip', defining the schema and binding it to the implementation handler.
    const hackertargetReverseIpTool: ToolDef = {
      name: "hackertarget_reverseip",
      description: "Reverse IP lookup via HackerTarget — find all domains hosted on an IP. Free tier: 50 queries/day.",
      schema: {
        ip: z.string().describe("IP address for reverse lookup"),
      },
      execute: async (args) => json(await hackertargetReverseIp(args.ip as string)),
    };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/badchars/osint-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server