Skip to main content
Glama
IP Geolocation MCP Server

IP Geolocation MCP Server

IP 지리적 위치 MCP 서버

PyPI CI License: MIT

이 서버는 ipinfo.io API를 사용하여 IP 주소에 대한 상세 정보를 가져오는 간단한 Model Context Protocol 서버입니다. 이 서버를 사용하면 사용자의 대략적인 위치와 사용 중인 네트워크를 파악할 수 있습니다.

mcp-server-ipinfo를 사용한 대화 예시

설치

IPInfo API를 사용하려면 토큰을 생성해야 합니다. 아직 토큰이 없다면 https://ipinfo.io/signup 에서 무료 계정을 등록할 수 있습니다.

각 클라이언트마다 지정 방식은 다르지만, 일반적으로 다음 값을 사용합니다:

필드

값

명령어

uvx

인수

mcp-server-ipinfo

환경 변수

IPINFO_API_TOKEN = <YOUR TOKEN>

개발 버전

최신 기능을 사용하려면 GitHub에서 직접 서버를 가져올 수 있습니다. --from 인수를 추가하기만 하면 됩니다:

필드

값

명령어

uvx

인수

--from, git+https://github.com/briandconnelly/mcp-server-ipinfo, mcp-server-ipinfo

환경 변수

IPINFO_API_TOKEN = <YOUR TOKEN>

Related MCP server: GeoIP MCP Server

구성 요소

도구

  • get_ip_details: 위치, ISP, 네트워크 세부 정보를 포함하여 하나 이상의 IP 주소에 대한 상세 정보를 가져옵니다.

    • 입력: ips (선택 사항): 분석할 IP 주소 목록(IPv4 또는 IPv6). 제공되지 않으면 요청하는 클라이언트의 IP 주소를 분석합니다.

    • 출력: 위치, 조직, 시간대 등이 포함된 IPDetails 목록.

    • 참고: 일괄 조회(여러 IP)를 하려면 IPINFO_API_TOKEN이 필요합니다.

  • get_residential_proxy_info: IP 주소가 주거용 프록시 서비스와 관련이 있는지 확인합니다.

    • 입력: ip: 주거용 프록시 사용 여부를 확인할 IP 주소.

    • 출력: 프록시 서비스 이름, 마지막 확인 날짜, 활동 비율이 포함된 ResidentialProxyDetails.

    • 참고: 주거용 프록시 데이터 액세스 권한이 있는 IPINFO_API_TOKEN이 필요합니다.

  • get_map_url: IP 주소의 대화형 지도 시각화를 위한 URL을 생성합니다.

    • 입력: ips: 시각화할 IP 주소 목록(최대 500,000개).

    • 출력: 지리적 위치를 보여주는 ipinfo.io의 대화형 지도 URL.

    • 참고: 트래픽이나 사용자의 지리적 분포를 시각화하는 데 유용합니다.

설정

환경 변수

변수

설명

기본값

IPINFO_API_TOKEN

프리미엄 기능을 위한 IPInfo API 토큰

없음 (기본 조회만 가능)

IPINFO_CACHE_TTL

캐시 TTL(초 단위)

3600 (1시간)

라이선스

MIT 라이선스 - 자세한 내용은 LICENSE 파일을 참조하세요. 릴리스 기록은 CHANGELOG.md를 참조하세요.

면책 조항

이 프로젝트는 IPInfo와 관련이 없습니다.

Available Tools

5 tools
ipinfo_check_residential_proxyCheck Residential ProxyA
Read-onlyIdempotent

Classify whether an IP is a known residential-proxy exit node.

Returns ResidentialProxyDetails with is_residential_proxy (the canonical yes/no), and — when true — service, last_seen (YYYY-MM-DD), and percent_days_seen over a 7-day window. Useful for fraud, bot, and ad-fraud detection. This is distinct from the general privacy flags on ipinfo_lookup_ips (VPN / Tor / open web proxy / hosting): use this tool only to detect residential-proxy networks that route traffic through real residential IPs. Requires IPINFO_API_TOKEN with the Enterprise residential-proxy add-on; absence surfaces as auth_insufficient_scope (distinct from auth_invalid for a missing/wrong token).

Inputs: ip (required). Returns: Residential proxy detection information. Identifies whether an IP is part of a…

ipinfo_generate_map_urlGenerate IP Map URLA
Read-onlyIdempotent

Build an interactive ipinfo.io map for a set of IPs.

Returns MapResult{url, mapped_ip_count, skipped_ips, skipped_count, truncated}. skipped_ips is a list of {ip, reason} entries for filtered inputs, capped at 100; truncated flags overflow. skipped_count is the true total even when the list is capped, so mapped_ip_count + skipped_count equals the input length. Errors raise ToolError with a JSON-encoded envelope.

Inputs: ips (required). Returns: Structured response from ``ipinfo_generate_map_url``. Replaces the bare-URL str…

ipinfo_lookup_ipsLook Up IPsA
Read-onlyIdempotent

Geolocate one or more IPs and return ISP/ASN details.

Returns a list in input order (after dedup and invalid-IP filtering); match results back to your input via the ip field. IPs that fail upstream are omitted and logged; if the batch resolves no IPs at all the failure is raised rather than masked — auth_insufficient_scope when the upstream returned nothing (token tier likely lacks /batch access; look IPs up one at a time or upgrade to Core+), otherwise a retryable api_error. Defaults to detail="summary" (heavy nested blocks omitted); pass detail="full" for every field. Capped at 1,000 IPs per call (too_many_ips above that): this tool returns one record per IP, so for larger batches use ipinfo_summarize_ips (fixed-size aggregates) or ipinfo_generate_map_url. Higher plan tiers populate more fields; see the server instructions for the Lite/Core/Plus/Enterprise tier mapping. For VPN/Tor/open-proxy/hosting detection read the privacy flags on each record; for residential-proxy exit-node classification use the separate ipinfo_check_residential_proxy tool. Typically completes in seconds; bounded by a 120s tool timeout that surfaces as a timeout envelope. Errors raise ToolError with a JSON-encoded envelope.

Inputs: ips (required), detail. Returns: result

ipinfo_lookup_my_ipLook Up My IPA
Read-onlyIdempotent

Geolocate the calling client's own IP. No arguments.

On stdio transports the result is this server's outbound IP, not the end user's. Use ipinfo_lookup_ips when the caller already has a specific IP. Errors raise ToolError with a JSON-encoded envelope.

Inputs: no named parameters. Returns: Comprehensive IP address information including geolocation, network, and metada…

ipinfo_summarize_ipsSummarize IPsA
Read-onlyIdempotent

Aggregate one or more IP lookups into counts and percentages.

Uses the same validation, deduplication, cache, and upstream batch lookup path as ipinfo_lookup_ips, but returns fixed-size summary buckets instead of per-IP records. This is the preferred tool for large log-analysis tasks such as "where did visitors come from?" when the caller does not need the underlying records. Percentages are based on mapped_ip_count; filtered and failed IPs are counted separately. Errors raise ToolError with a JSON-encoded envelope.

Inputs: ips (required), group_by, top_n. Returns: Fixed-size aggregate summary for a batch of IP lookups.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool performs a distinct function: residential proxy detection, map generation, IP lookup (batch), own IP lookup, and summary aggregation. Their purposes are clearly separated with no overlap.

    Naming Consistency5/5

    All tools follow the consistent 'ipinfo_verb_noun' pattern (e.g., ipinfo_lookup_ips, ipinfo_summarize_ips), making the naming predictable and easy to understand.

    Tool Count5/5

    With 5 tools covering geolocation, map visualization, and specialized proxy detection, the count is well-scoped for an IP geolocation service without unnecessary bloat.

    Completeness4/5

    The set covers core operations (lookup, self-lookup, batch, summary, map) and residential proxy detection. Minor gaps like WHOIS or IP range queries are absent but reasonable for the domain.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Multi-Agent Conversation Protocol) server that enables natural language interaction with the AbstractAPI geolocation service, allowing users to retrieve geographic information about IP addresses.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides IP geolocation services using MaxMind's GeoIP2 databases, allowing users to retrieve geographical information for single or multiple IP addresses including country, city, coordinates, and ASN details.
      GPL 3.0
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that provides access to the Netdetective API for querying information about IP addresses. It enables users to retrieve metadata for a specified IP address or the connecting client's default IP address.
      1
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      MCP server for IP geolocation lookups using ipinfo.io, with single, own, and batch queries.
      1
      MIT