Skip to content
Gemini CLI

GeoIP for Gemini CLI

io.github.olsols4/geoip

IP geolocation: country, continent, ASN and ISP lookup

client:Gemini CLI transport:streamable-http

Install GeoIP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "geoip": {
      "httpUrl": "https://geoip-ip-geolocation-asn-isp-lookup.p.rapidapi.com/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

GeoIP in other clients