get_my_ip

Pack: ipinfo · Endpoint: https://gateway.pipeworx.io/ipinfo/mcp

Get your current IP address with geolocation data. Returns city, region, country, coordinates, org, postal code, timezone.

Example call

Arguments

{}

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":"get_my_ip","arguments":{}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_my_ip', {});

Response shape

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

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

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "ipinfo": {
      "url": "https://gateway.pipeworx.io/ipinfo/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026