whereami-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whereami-mcpwhat city am I in?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WhereAmI MCP Server
A lightweight mcp server that tells you exactly where you are based on your current IP, powered by ipapi.co.
Features
Dynamic Resources: Fetch specific data (e.g., IP, country, city) via
location://{type}.Detailed Tool: Generate a comprehensive location report with
get_location().Natural Language Prompt: Ask "Where am I?" to get detailed results.
Robust Error Handling: Gracefully manages API and network issues.
Minimal Dependencies: Requires only
mcpandhttpx.
Related MCP server: whattimeisit-mcp
Installation
Prerequisites
Python 3.10+
pip
Setup
Clone the repository:
git clone https://github.com/kukapay/whereami-mcp.git cd whereami-mcpInstall dependencies:
pip install mcp httpx(Optional) Install as an MCP service:
mcp install whereami_mcp.py --name "WhereAmI"
Usage
Running the Server
Direct execution:
python whereami_mcp.pyDevelopment mode:
mcp dev whereami_mcp.py
Components
Resource: location://{type}
Returns a specific location detail based on {type}.
Supported Types:
ip,country,country_code,region,city,latitude,longitude,timezone,isp,asnExamples:
@location://ip→"8.8.8.8"@location://city→"Mountain View"@location://country→"United States"
Tool: get_location()
Generates a detailed Markdown table of geolocation data.
Fields:
IP
Country
Country Code
Region
City
Latitude
Longitude
Timezone
ISP
ASN
Sample Output:
| 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 |
Prompt: where_am_i_prompt
Predefined query: "Please tell me where I am based on my current IP address." Triggers get_location().
Examples in Claude Desktop
Install the server:
mcp install whereami_mcp.py --name "WhereAmI"Query data:
"My IP is
@location://ip""I’m in
@location://city,@location://country"
Get full report:
"Where am I?"
get_location()
License
MIT License. See LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server to run commands.Last updated1404230MIT
- AlicenseBqualityDmaintenanceA lightweight mcp server that tells you exactly what time is it based on your IP.Last updated19MIT
- AlicenseAqualityDmaintenanceA lightweight MCP server that tells you exactly who you are.Last updated11MIT
- Flicense-qualityDmaintenanceA simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.Last updated
Related MCP Connectors
An MCP server for deep research or task groups
A basic MCP server to operate on the Postman API.
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/whereami-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server