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.
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요
Fetch specific location data based on the provided type. Supported types include: ip, country, country_code, region, city, latitude, longitude, timezone, isp, asn.
Generates a detailed Markdown table of geolocation data including fields such as IP, Country, Region, City, Latitude, Longitude, Timezone, ISP, and ASN.
Predefined query that triggers the get_location() function to provide location details based on the current IP address.