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
| Field | Type | Description |
|---|---|---|
ip | string | Your current IP address |
city | string | null | City name associated with your IP address |
region | string | null | Region or state associated with your IP address |
country | string | null | Country code associated with your IP address |
latitude | number | null | Latitude coordinate of your IP geolocation |
longitude | number | null | Longitude coordinate of your IP geolocation |
org | string | null | Organization or ISP name |
postal | string | null | Postal code associated with your IP address |
timezone | string | null | Timezone 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.