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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Generates a detailed Markdown table of geolocation data, including fields like IP, Country, City, etc.
Triggers a predefined query to get the location based on the current IP address.