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
| Name | Type | Required | Description |
|---|---|---|---|
ip | string | yes | IPv4 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
| Field | Type | Description |
|---|---|---|
ip | string | The IP address that was looked up |
city | string | null | City name associated with the IP address |
region | string | null | Region or state associated with the IP address |
country | string | null | Country code associated with the IP address |
latitude | number | null | Latitude coordinate of the IP geolocation |
longitude | number | null | Longitude coordinate of the IP geolocation |
org | string | null | Organization or ISP name |
postal | string | null | Postal code associated with the IP address |
timezone | string | null | Timezone 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.