我在哪里
STDIO基于IP的详细地理位置服务
基于IP的详细地理位置服务
A lightweight mcp server that tells you exactly where you are based on your current IP, powered by ipapi.co.
location://{type}.get_location().mcp and httpx.pipgit clone https://github.com/kukapay/whereami-mcp.git cd whereami-mcp
pip install mcp httpx
mcp install whereami_mcp.py --name "WhereAmI"
python whereami_mcp.py
mcp dev whereami_mcp.py
location://{type}Returns a specific location detail based on {type}.
ip, country, country_code, region, city, latitude, longitude, timezone, isp, asn@location://ip → "8.8.8.8"@location://city → "Mountain View"@location://country → "United States"get_location()Generates a detailed Markdown table of geolocation data.
| Field | Value |
|----------------|-------------------|
| IP | 8.8.8.8 |
| Country | United States |
| Country Code | US |
| Region | California |
| City | Mountain View |
| Latitude | 37.4223 |
| Longitude | -122.0848 |
| Timezone | America/Los_Angeles |
| ISP | GOOGLE |
| ASN | AS15169 |
where_am_i_promptPredefined query: "Please tell me where I am based on my current IP address." Triggers get_location().
mcp install whereami_mcp.py --name "WhereAmI"
@location://ip"@location://city, @location://country"get_location()MIT License. See LICENSE for details.