I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

whereami-MCP
Un serveur MCP léger qui vous indique exactement où vous êtes.
1
Github Watches
1
Github Forks
1
Github Stars
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
mcp
andhttpx
.
Installation
Prerequisites
- Python 3.10+
-
pip
Setup
- Clone the repository:
git clone https://github.com/kukapay/whereami-mcp.git cd whereami-mcp
- Install 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.py
- Development 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
,asn
-
Examples:
-
@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
"
- "My IP is
- Get full report:
- "Where am I?"
-
get_location()
License
MIT License. See LICENSE for details.
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Reviews

user_9lwKwQJf
The Qdrant MCP Server by hadv is an exceptional product! It offers seamless performance and has greatly enhanced my data management tasks. The user interface is intuitive, and the setup was straightforward. Highly recommend this for anyone looking to optimize their server capabilities. Check it out at https://mcp.so/server/vito-mcp/hadv.