IPGeolocation.io MCP Server
v2.0.3IP geolocation, company, ASN/network, security, abuse, time zones, astronomy, currency, user agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_ip IP Geolocation Lookup
Read-only unified IP lookup via GET /v3/ipgeo. Base IP data costs 1 credit; security adds 2 and abuse adds 1. Selecting only security costs 2, only abuse costs 1, and security plus abuse without base data costs 3 credits. The unified response can cover multiple data domains for one IP or domain: location, company, ASN, network, timezone, currency, security, abuse, user_agent, hostname, geo_accuracy, and dma_code. Returns root IP/domain data plus selected objects such as location, country_metadata, currency, asn, network, company, time_zone, security, abuse, user_agent, or hostname. geo_accura…
| Parameter | Type | Description |
|---|---|---|
excludes | string | Comma-separated dot-path fields to exclude from response (e.g. currency,location.continent_code). Works on all plans including free. |
fields | string | Comma-separated dot-path fields to return (e.g. location.city,asn.organization). Works on all plans including free. Reduces response size and can reduce credit cost when combined with include. Fields… |
force_refresh | boolean | Default false. When true, bypasses cached lookup_ip data; a successful refresh makes a new upstream request and can consume credits. |
include | string | Comma-separated extra modules: security (+2 credits), abuse (+1 credit), hostname, liveHostname, hostnameFallbackLive, user_agent, geo_accuracy, dma_code, or *. Specific modules require a paid plan. O… |
ip | string | IPv4 address, IPv6 address, or domain name to look up. Domain lookups require a paid plan. Omit to use the server's public egress IP. |
lang | string | Response language code (en, de, ru, ja, fr, cn, es, cs, it, ko, fa, pt, ar). Paid plans only. Free plan returns a 401 error if you pass any value other than en. Defaults to en. |
bulk_lookup_ip Bulk IP Geolocation
Read-only bulk IP lookup via POST /v3/ipgeo-bulk. Documented as paid-only; the upstream API determines plan access. Base IP data costs 1 credit per valid IP; security adds 2 and abuse adds 1. Selecting only security costs 2, only abuse costs 1, and security plus abuse without base data costs 3 per valid IP. This MCP server accepts up to 250 IPs per request. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream…
| Parameter | Type | Description |
|---|---|---|
ips * | array | Array of IPv4 and/or IPv6 addresses to look up. Minimum 1, maximum 250 in this MCP server. Domain names are also accepted. |
excludes | string | Comma-separated dot-path fields to exclude per IP (e.g. currency,time_zone). |
fields | string | Comma-separated dot-path fields to return per IP (e.g. location.city,asn.organization). Reduces response size and can reduce credit cost when combined with include. Fields under security or abuse auto… |
force_refresh | boolean | Default false. When true, bypasses cached bulk geolocation data; a successful refresh makes a new upstream request and can consume credits. |
include | string | Comma-separated extra modules to include per IP. Options: security (+2 credits/IP), abuse (+1 credit/IP), hostname, liveHostname, hostnameFallbackLive, user_agent, geo_accuracy, dma_code, or *. An unf… |
lang | string | Response language code (en, de, ru, ja, fr, cn, es, cs, it, ko, fa, pt, ar). Defaults to en. |
get_my_ip Get My IP Address
Returns the public IP address of the machine running this MCP server via GET /v3/getip. Takes no input parameters and requires no API key, account, or credits. Text content contains the IP address; structuredContent contains { ip }. This is not geolocation data. lookup_ip provides location, company, ASN, network, time zone, currency, security and abuse data.
lookup_company Company/Organization Lookup
Read-only ownership lookup via GET /v3/ipgeo. Company details require a paid plan; free plans return basic ASN ownership only. Cost: 1 credit. This response is limited to company and ASN ownership; lookup_ip can return ownership together with location, security, abuse, network, timezone, or currency. Returns { company, asn }: company name/type/domain plus ASN allocation fields when available. ip omitted means the server's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | Default false. When true, bypasses cached ownership data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address to look up. Omit to check the server's public egress IP. |
lookup_currency Currency and Country Metadata
Read-only currency and country metadata lookup via GET /v3/ipgeo. Works on free and paid plans. Cost: 1 credit per successful lookup. Returns { currency, country_metadata }: currency code/name/symbol plus country calling_code, tld, and languages. ip selects the IP used to derive country and currency; omit it for the server machine's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits. This response is limited to currency and country metadata. lookup_ip can return these fields together with other IP data.
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | Default false. When true, bypasses cached currency/country data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address whose country determines the returned currency and country metadata. Omit to use the server's public egress IP. |
lookup_network Network/Routing Info
Read-only network lookup via GET /v3/ipgeo. Network details require a paid plan. Cost: 1 credit. Returns { network } with route CIDR prefix, connection_type, and is_anycast. If the API omits network data, returns a local error without inventing an HTTP status; credits may already have been used. ip omitted means the server's public egress IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits. This response is limited to network data; lookup_ip can return network data together with location, company, ASN, timezone, currency, security, or abuse.
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | Default false. When true, bypasses cached network data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address to look up. Omit to check the server's public egress IP. |
check_security VPN/Proxy/Threat Detection
Read-only security lookup via GET /v3/security. Paid only. Cost: 2 credits. This endpoint is dedicated to security and threat data; lookup_ip with include=security provides security data together with location, company, ASN, network, timezone, currency, or abuse. Returns { ip, security } with threat_score, VPN, proxy, residential proxy, Tor, relay, anonymity, bot, spam, known attacker, and cloud-provider fields; provider names, confidence scores, and last_seen dates appear when available. fields/excludes accept comma-separated security.* dot paths; ip is always returned. Threat scores and fl…
| Parameter | Type | Description |
|---|---|---|
excludes | string | Comma-separated dot-path fields to exclude (e.g. security.is_tor,security.is_cloud_provider). |
fields | string | Comma-separated dot-path fields to return (e.g. security.threat_score,security.is_vpn). Reduces response size. |
force_refresh | boolean | Default false. When true, bypasses cached security data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address to check. Omit to check the server's public egress IP. |
bulk_security_check Bulk Security Check
Read-only bulk security lookup via POST /v3/security-bulk. Paid only. Cost: 2 credits per valid IP. This MCP server accepts up to 250 IPs; private, bogon, and malformed IPs are not billed. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream body above its byte limit, or a required pagination snapshot too large to retain, returns a non-retryable resource_limit error with no cursor; the API may already have us…
| Parameter | Type | Description |
|---|---|---|
ips * | array | Array of IPv4 and/or IPv6 addresses to check. Minimum 1, maximum 250 in this MCP server. |
excludes | string | Comma-separated dot-path fields to exclude per IP (e.g. security.is_tor,security.is_cloud_provider). |
fields | string | Comma-separated dot-path fields to return per IP (e.g. security.threat_score,security.is_vpn). Reduces response size. |
force_refresh | boolean | Default false. When true, bypasses cached bulk security data; a successful refresh makes a new upstream request and can consume credits. |
get_timezone Timezone Lookup
Read-only timezone lookup via GET /v3/timezone. Works on free and paid plans. Cost: 1 credit. This endpoint provides current local time and metadata for one place, IP, airport, UN/LOCODE, or IANA timezone; convert_timezone provides source-to-destination conversion. Returns { time_zone } plus selector context such as location, airport, city, or ip. time_zone includes the zone name, current time, UTC offsets, date/time variants, abbreviations, and DST status/transition fields when available. Selector priority is tz, lat/long, location, ip, iata_code, icao_code, then lo_code. lat and long must…
| Parameter | Type | Description |
|---|---|---|
iata_code | string | 3-letter IATA airport code (e.g. JFK, LHR). Returns airport details in the response. |
icao_code | string | 4-letter ICAO airport code (e.g. KJFK, EGLL). Returns airport details in the response. |
ip | string | IPv4 or IPv6 address to get timezone for. |
lang | string | Response language for location fields in IP-based lookups (en, de, ru, ja, fr, cn, es, cs, it, ko, fa, pt, ar). Paid plans only. Free plan returns 401 for non-English language values. |
lat | string | Latitude coordinate. Must be used together with long. |
lo_code | string | 5-character UN/LOCODE (e.g. DEBER, USNYC). |
location | string | City or address string (e.g. London, UK). |
long | string | Longitude coordinate. Must be used together with lat. |
tz | string | IANA timezone name (e.g. America/New_York, Europe/London). Highest priority if multiple params provided. |
convert_timezone Timezone Conversion
Read-only time conversion via GET /v3/timezone/convert. Works on free and paid plans. Cost: 1 credit. The conversion requires one source selector and one destination selector; get_timezone provides a single place's current time and metadata. Source/destination selectors are tz_from/tz_to, location_from/location_to, iata_from/iata_to, icao_from/icao_to, locode_from/locode_to, or lat_from+long_from and lat_to+long_to. time is optional and must be yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss. Returns original time, converted time, diff_hour, and diff_min.
| Parameter | Type | Description |
|---|---|---|
iata_from | string | Source 3-letter IATA airport code. |
iata_to | string | Destination 3-letter IATA airport code. |
icao_from | string | Source 4-letter ICAO airport code. |
icao_to | string | Destination 4-letter ICAO airport code. |
lat_from | string | Source latitude. Use with long_from. |
lat_to | string | Destination latitude. Use with long_to. |
location_from | string | Source city or address string. |
location_to | string | Destination city or address string. |
locode_from | string | Source 5-character UN/LOCODE. |
locode_to | string | Destination 5-character UN/LOCODE. |
long_from | string | Source longitude. Use with lat_from. |
long_to | string | Destination longitude. Use with lat_to. |
time | string | Time to convert in yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss format. Defaults to current time. |
tz_from | string | Source IANA timezone name (e.g. America/New_York). |
tz_to | string | Destination IANA timezone name (e.g. Asia/Tokyo). |
get_astronomy Astronomy Data
Read-only single-date astronomy lookup via GET /v3/astronomy. Works on free and paid plans. Cost: 1 credit. This endpoint covers one date or real-time sun/moon position; get_astronomy_time_series provides daily sunrise, moon, and twilight data across a date range. Returns { location, astronomy } plus ip for IP/server-address lookups. astronomy includes date/current_time, sunrise/sunset, moonrise/moonset, twilight blocks, day_length, sun/moon position, distance, status, moon_phase, moon_illumination_percentage, and moon_angle. Selector priority is lat/long, location, ip, then the server's pub…
| Parameter | Type | Description |
|---|---|---|
date | string | Date in YYYY-MM-DD format. Defaults to today. |
elevation | string | Elevation in meters above sea level. Maximum 10000; negative values are treated as 0. Affects sunrise/sunset calculations for higher accuracy. |
ip | string | IPv4 or IPv6 address to get astronomy data for that IP's location. |
lang | string | Response language for location fields in IP-based lookups (en, de, ru, ja, fr, cn, es, cs, it, ko, fa, pt, ar). Paid plans only. Free plan returns 401 for non-English language values. |
lat | string | Latitude coordinate. Highest priority. Must be used with long. |
location | string | City or address string (e.g. San Francisco, CA). |
long | string | Longitude coordinate. Must be used with lat. |
time_zone | string | IANA timezone name to express times in (e.g. America/New_York). If set, time fields include full date instead of just time. |
get_astronomy_time_series Astronomy Time Series
Read-only daily astronomy series via GET /v3/astronomy/timeSeries. Works on free and paid plans. Cost: 1 credit per request. This endpoint covers date ranges up to 90 days; get_astronomy provides one-date and real-time sun/moon data. Returns { location, astronomy: [...] } with one daily item per date containing sunrise/sunset, moonrise/moonset, twilight blocks, day_length, sun/moon status, and moon_phase. Selector priority is lat/long, location, ip, then the server's public egress IP when no selector is provided. dateStart and dateEnd are required YYYY-MM-DD values with a maximum 90-day span…
| Parameter | Type | Description |
|---|---|---|
dateEnd * | string | End date in YYYY-MM-DD format. Required. Maximum range between dateStart and dateEnd is 90 days. |
dateStart * | string | Start date in YYYY-MM-DD format. Required. Maximum range between dateStart and dateEnd is 90 days. |
elevation | string | Elevation in meters above sea level. Maximum 10000; negative values are treated as 0. Affects sunrise/sunset calculations. |
force_refresh | boolean | Default false. When true, bypasses cached astronomy time-series data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address to get astronomy data for that IP's location. |
lang | string | Response language for location fields in IP-based lookups (en, de, ru, ja, fr, cn, es, cs, it, ko, fa, pt, ar). Paid plans only. Free plan returns 401 for non-English languages. |
lat | string | Latitude coordinate. Highest priority. Must be used with long. |
location | string | City or address string (e.g. San Francisco, CA). |
long | string | Longitude coordinate. Must be used with lat. |
time_zone | string | IANA timezone name to express times in (e.g. America/New_York). If set, time fields include full date instead of just time. |
lookup_asn ASN Details
Read-only ASN enrichment via GET /v3/asn. Paid only. Cost: 1 credit. Queries accept asn or ip, with asn taking priority. The response covers ASN relationships, route prefixes, allocation details, and WHOIS; lookup_ip provides basic ASN data together with geolocation. Returns { asn } core fields plus included peers, downstreams, upstreams, routes, or whois_response. include accepts those five values. fields/excludes accept full asn.* paths or root-relative paths such as upstreams.as_number. fields automatically enables required optional datasets; excludes alone never requests extra datasets. f…
| Parameter | Type | Description |
|---|---|---|
asn | string | AS number to look up (e.g. AS13335 or just 13335). Takes priority over ip if both are provided. |
excludes | string | Comma-separated dot-path fields to exclude (e.g. asn.date_allocated,asn.rir or upstreams.description). Paths can be full or relative to the asn root. |
fields | string | Comma-separated dot-path fields to return (e.g. asn.as_number,asn.organization or upstreams.as_number). Paths can be full (asn.upstreams.as_number) or relative to the asn root (upstreams.as_number). T… |
force_refresh | boolean | Default false. When true, bypasses cached ASN data; a successful refresh makes a new upstream request and can consume credits. |
include | string | Comma-separated extra data to include: peers, downstreams, upstreams, routes, whois_response. No additional credit cost. |
ip | string | IPv4 or IPv6 address to find the ASN for. Used only if asn is not provided. |
get_abuse_contact Abuse Contact Lookup
Read-only abuse contact lookup via GET /v3/abuse. Paid only. Cost: 1 credit. This endpoint is dedicated to abuse contact data; lookup_ip with include=abuse provides abuse data together with location, security, company, ASN, timezone, network, or currency. Returns { ip, abuse } with route, country, name, organization, kind, address, emails, and phone_numbers for reporting abuse. fields/excludes accept comma-separated abuse.* paths such as abuse.emails; ip is always returned. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.
| Parameter | Type | Description |
|---|---|---|
excludes | string | Comma-separated abuse fields to exclude from response (e.g. abuse.phone_numbers,abuse.address). |
fields | string | Comma-separated abuse fields to return (e.g. abuse.emails,abuse.organization). Reduces response size. |
force_refresh | boolean | Default false. When true, bypasses cached abuse contact data; a successful refresh makes a new upstream request and can consume credits. |
ip | string | IPv4 or IPv6 address to get abuse contact for. Omit to use the server's public egress IP. |
parse_user_agent User-Agent Parser
Read-only custom user-agent parsing via POST /v3/user-agent. Paid only for POST payload parsing. Cost: 1 credit per successful string. Parses only the explicit uaString value; it cannot read caller headers or transport metadata. Returns { user_agent_string, name, type, version, version_major, device, engine, operating_system }. Type fields can identify desktop/mobile clients, robots, malformed or scripted strings, anonymized strings, or unknown values. uaString must be the exact non-empty user-agent string; empty/null strings are rejected locally before any API call. force_refresh bypasses ca…
| Parameter | Type | Description |
|---|---|---|
uaString * | string | The user-agent string to parse (e.g. Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36). |
force_refresh | boolean | Default false. When true, bypasses cached user-agent parsing data; a successful refresh makes a new upstream request and can consume credits. |
bulk_parse_user_agent Bulk User-Agent Parser
Read-only bulk user-agent parsing via POST /v3/user-agent-bulk. Paid only. Cost: 1 credit per successful string. This MCP server accepts up to 250 explicit user-agent strings. Larger batches are rejected before any API call. Complete results within upstream and cache byte limits are returned directly or as cached pages. Cached pages use get_cached_result without another API call or additional credits. An upstream body above its byte limit, or a required pagination snapshot too large to retain, returns a non-retryable resource_limit error with no cursor; the API may already have used credits.…
| Parameter | Type | Description |
|---|---|---|
uaStrings * | array | Array of user-agent strings to parse. Minimum 1, maximum 250 in this MCP server. |
force_refresh | boolean | Default false. When true, bypasses cached bulk user-agent parsing data; a successful refresh makes a new upstream request and can consume credits. |
get_cached_result Read Cached Result Page
Returns one page of a previously returned result using page.cursor or page.next_cursor. Costs 0 credits and never calls any upstream API, including on failure. The json_fragment strings concatenate in offset order into the complete original structuredContent JSON, including nested arrays and bulk item errors. The last page has no next_cursor. Cursors are scoped to the same API key and server process. Successful reads extend idle expiry by the configured cache TTL (five minutes by default); eviction or restart can remove a result. An unavailable cursor returns a local error and never starts ano…
| Parameter | Type | Description |
|---|---|---|
cursor * | string | Opaque cursor returned in page.cursor or page.next_cursor. Retrieval requires the same server process and API key and does not repeat the original lookup. |