Data source: ip-api.com
https://context.gnist.ai/mcp/ip-geolocation/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (3)
geolocate_ipLook up the geographic location of an IP address.
Returns country, region, city, coordinates, timezone, ISP, and organization.
Args:
ip: IPv4 or IPv6 address to look up (e.g. "8.8.8.8", "2001:4860:4860::8888").
| Parameter | Type | Required | Description |
|---|---|---|---|
ip | string | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "geolocate_ip",
"arguments": {
"ip": "example"
}
}
}geolocate_ip_batchLook up geographic locations for multiple IP addresses at once.
More efficient than individual lookups when you have several IPs.
Maximum 100 IPs per request.
Args:
ips: Comma-separated IP addresses (e.g. "8.8.8.8,1.1.1.1,208.67.222.222").
| Parameter | Type | Required | Description |
|---|---|---|---|
ips | string | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "geolocate_ip_batch",
"arguments": {
"ips": "example"
}
}
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
curl -X POST "https://context.gnist.ai/mcp/ip-geolocation/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "geolocate_ip", "arguments": {"ip": "example"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/ip-geolocation/",
headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "geolocate_ip",
"arguments": {
"ip": "example"
}
}
},
)
print(resp.json())