ipinfo_lookup_ip

Pack: ipinfo · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ipinfo_lookup_ip for the schema, then POST the same URL with its arguments for the data.

Geolocation and network info for any IP address (e.g., “8.8.8.8”): city, region, country, coordinates, postal code, timezone, plus ownership fields — ASN, owner name, network range and owner domain — each with its source (null with a reason when no source states it). For “which company owns this IP” call rdap_ip, which is the registry source for those fields; this tool adds geolocation.

Parameters

NameTypeRequiredDescription
ipstringyesIPv4 or IPv6 address to look up (e.g., “8.8.8.8”)

Example call

Arguments

{
  "ip": "8.8.8.8"
}

curl

curl -X POST https://gateway.pipeworx.io/ipinfo/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ipinfo_lookup_ip","arguments":{"ip":"8.8.8.8"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ipinfo_lookup_ip', {
  "ip": "8.8.8.8"
});

More examples

{
  "ip": "2001:4860:4860::8888"
}

Response shape

Always returns: ip, city, region, country, latitude, longitude, org, postal, timezone

FieldTypeDescription
ipstringThe IP address that was looked up
citystring | nullCity name associated with the IP address
regionstring | nullRegion or state associated with the IP address
countrystring | nullCountry code associated with the IP address
latitudenumber | nullLatitude coordinate of the IP geolocation
longitudenumber | nullLongitude coordinate of the IP geolocation
orgstring | nullOrganization or ISP name
postalstring | nullPostal code associated with the IP address
timezonestring | nullTimezone associated with the IP address
Full JSON Schema
{
  "type": "object",
  "properties": {
    "ip": {
      "type": "string",
      "description": "The IP address that was looked up"
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "City name associated with the IP address"
    },
    "region": {
      "type": [
        "string",
        "null"
      ],
      "description": "Region or state associated with the IP address"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country code associated with the IP address"
    },
    "latitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Latitude coordinate of the IP geolocation"
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Longitude coordinate of the IP geolocation"
    },
    "org": {
      "type": [
        "string",
        "null"
      ],
      "description": "Organization or ISP name"
    },
    "postal": {
      "type": [
        "string",
        "null"
      ],
      "description": "Postal code associated with the IP address"
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Timezone associated with the IP address"
    }
  },
  "required": [
    "ip",
    "city",
    "region",
    "country",
    "latitude",
    "longitude",
    "org",
    "postal",
    "timezone"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the ipinfo pack
{
  "mcpServers": {
    "ipinfo": {
      "url": "https://gateway.pipeworx.io/ipinfo/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026