# Ipinfo.io — MCP server on mcp.ai > Connect your Ipinfo.io account and use 27 tools for developer tools straight from your AI agent. Connect with your own API key. IPinfo.io provides a comprehensive API for IP address geolocation and related data. By: mcp.ai · official Page: https://mcp.ai/ipinfo_io ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_ipinfo_io?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/ipinfo_io/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/ipinfo_io/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/ipinfo_io/skill.md Postman collection (v2.1): https://mcp.ai/ipinfo_io/postman.json ## Tools - ipinfo_io_batch_lite_lookup(queries: string[]) — Perform bulk Lite IP lookups for up to 1000 IPs in a single request. Returns lightweight IP information including ASN (Autonomous System Number), AS organization details, and geolocation (country and - ipinfo_io_batch_lookup(ips: string[], filter?: boolean) — Perform batch IP lookups to retrieve geolocation and ASN information for multiple IPs in a single request. Use this tool when you need to look up multiple IP addresses efficiently. Supports up to 1000 - ipinfo_io_get_abuse_contact(ip: string) — Retrieve abuse contact and organization information for an IP address. Use this tool when you need to identify who owns an IP address or find contact information for reporting malicious activity. Note - ipinfo_io_get_carrier_info(ip: string) — Retrieves mobile carrier information for a given IP address. Returns the carrier name, Mobile Country Code (MCC), and Mobile Network Code (MNC) for mobile network IPs. For non-mobile IPs (e.g., datace - ipinfo_io_get_city_by_ip(ip: string) — Retrieve the city name for a specific IP address. Returns the city name as plain text for any IPv4 or IPv6 address. - ipinfo_io_get_company_info(ip: string, token?: string, callback?: string) — Retrieve company/organization information for an IP address. Returns the company name, domain, and type (business, ISP, hosting, etc.) associated with the IP. Supports both IPv4 and IPv6 addresses. - ipinfo_io_get_core_field_by_me(field: string) — Retrieve a specific field from core IP information about the current IP. Use this tool when you need just one specific piece of information (like city, country, hostname, or AS details) about the call - ipinfo_io_get_country_by_ip(ip: string) — Retrieve the two-letter ISO 3166 country code for an IP address. Use when you need to quickly identify which country an IP address is located in without requesting full geolocation details. - ipinfo_io_get_current_ip() — Retrieve the current public/external IP address. Use this tool when you need to determine the caller's public IP address. - ipinfo_io_get_current_ip_info() — Retrieve comprehensive IP information about the caller's current IP address. Returns geolocation (city, region, country, coordinates, postal code, timezone), ASN details, company info, privacy detecti - ipinfo_io_get_current_loc() — Retrieve geographic coordinates for the current IP address. Returns the latitude and longitude of the caller's IP address as a comma-separated string in the format 'latitude,longitude'. Use this when - ipinfo_io_get_current_region() — Retrieve the region/state for the caller's current IP address. Use this tool when you need to identify the geographic region or state where the current IP address is located. Returns a plain text regi - ipinfo_io_get_geo_by_ip(ip: string) — Get geolocation data only for an IP address. Returns city, region, country, continent, coordinates, timezone, and postal code. Use this when you need detailed geographic location information for an IP - ipinfo_io_get_hostname_by_ip(ip: string) — Retrieve the hostname (reverse DNS) for an IP address. Use this tool to look up the hostname associated with any IPv4 or IPv6 address. Returns the hostname as a string. If no hostname is available, re - ipinfo_io_get_ip_by_ip(ip: string) — Retrieve the IP address for a specified IP as plain text. Use this tool to echo back an IP address from the IPInfo API. This endpoint returns the IP address as plain text (not JSON). Useful for verify - ipinfo_io_get_ip_info(ip?: string) — Retrieve geolocation and ASN information for an IP address. Use this tool to look up country, continent, and Autonomous System (AS) details for any IPv4 or IPv6 address. Pass 'me' or omit the ip param - ipinfo_io_get_ip_info_by_ip(ip: string) — Retrieve comprehensive information about a specified IP address. Returns geographic location (city, region, country, coordinates), ASN details, company/organization info, privacy detection flags (VPN, - ipinfo_io_get_lite_field_by_ip(ip: string, field: string) — Retrieve a specific field from lightweight IP information. Use this tool to get a single piece of information about an IP address (e.g., just the country, or just the ASN) without fetching the full IP - ipinfo_io_get_location_by_ip(ip: string) — Retrieve geographic coordinates (latitude, longitude) for an IP address. Returns location as comma-separated text in the format 'latitude,longitude'. Use when you need precise geolocation coordinates - ipinfo_io_get_org_by_ip(ip: string) — Retrieve ASN and organization name for an IP address as plain text. Use this tool when you need to quickly identify which organization or ASN owns a specific IP address. Returns a plain text string co - ipinfo_io_get_plus_field_by_me(field: string) — Retrieve a specific field from plus IP information about the current IP. Use this tool to get individual fields from IPInfo's Plus API for your current IP address. This includes detailed geographic da - ipinfo_io_get_postal_by_ip(ip: string) — Retrieve the postal/zip code for an IP address. Use this when you need to identify the geographic postal code associated with an IPv4 or IPv6 address. - ipinfo_io_get_privacy_details(ip: string) — Retrieve privacy/anonymous IP detection flags for an IP address. Returns whether the IP is associated with VPN, proxy, Tor, relay, or hosting services. Use this to detect potentially anonymous or mask - ipinfo_io_get_region_by_ip(ip: string) — Retrieve the region/state for a specified IP address. Use this tool when you need to identify the geographic region or state where a specific IPv4 or IPv6 address is located. Returns a plain text regi - ipinfo_io_get_timezone_by_ip(ip: string) — Retrieve the IANA timezone for a given IP address. Use this tool when you need to determine the local timezone of an IP address location for scheduling, time conversion, or geographic analysis purpose - ipinfo_io_get_token_info() — Retrieve API service request limit information by access token. Returns usage statistics, request limits, remaining quota, and available API features. Use this to check your token's rate limits, curre - ipinfo_io_map_ips(cli?: integer, ip_addresses: string[]) — Create an IPinfo map visualization from a list of IP addresses. Use this tool to generate an interactive map showing the geographic locations of multiple IP addresses. The tool accepts up to 500,000 I ## Example prompts - "What can I do in Ipinfo.io?" - "Show me a summary of my Ipinfo.io account" ## Links Docs: https://mcp.ai/docs/mcps/ipinfo_io Website: https://mcp.ai/mcps/ipinfo_io