WhereAmI (IP Geolocation)
Summary
WhereAmI-MCP provides geolocation data based on the user's IP address through integration with the ipapi.co API. Built with Python using the FastMCP framework, it offers both a resource endpoint for retrieving specific location details (like country, city, coordinates) and a comprehensive tool that returns formatted location information in a Markdown table. The implementation is lightweight, requiring only httpx for API requests, and is particularly useful for workflows where knowing a user's geographical context enhances the conversation experience without requiring manual location input.
Available Actions(2)
get_location()
Generates a detailed Markdown table of geolocation data including IP, Country, Region, City, Latitude, Longitude, Timezone, ISP, and ASN.
where_am_i_prompt
Triggers the `get_location()` function with the predefined query: 'Please tell me where I am based on my current IP address.'
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation