IP Geolocation MCP Server

IP Geolocation MCP Server

Enables IP-based geolocation for AI workflows via MCP-compliant tooling.

36
Stars
13
Forks
36
Watchers
5
Issues
IP Geolocation MCP Server provides a Model Context Protocol (MCP) server that integrates with the ipinfo.io API to fetch detailed IP address information. It allows obtaining location, organization, and network details about users, facilitating context-aware AI applications. The tool can be seamlessly installed or integrated in client environments supporting MCP, with a focus on simplicity and developer-friendliness.

Key Features

MCP-compliant server implementation
Integration with ipinfo.io API
Retrieval of detailed IP address information
Context provisioning for AI workflows
User location and organization detection
Easy setup with environment variable for API token
Support for latest version via Git pull
Structured outputs using Pydantic models
Standardized tool interface (get_ip_details)
No extra resource or prompt dependencies

Use Cases

Enriching AI model context with geolocation data
Determining approximate user location and network
Personalizing application responses based on IP information
Network analysis or monitoring in AI-driven products
Providing content or services based on country or region
Security or fraud detection leveraging IP insights
Enhancing chatbot or virtual agent flows with user context
Logging and analytics improvements by including IP data
Dynamic adaptation of workflows based on user location
Automated compliance checks for region-specific regulations

README

IP Geolocation MCP Server

This is a simple Model Context Protocol server that uses the ipinfo.io API to get detailed information about an IP address. This can be used to determine where the user is located (approximately) and what network they are used.

Example conversation using mcp-server-ipinfo

Installation

You'll need to create a token to use the IPInfo API. If you don't already have one, you can sign up for a free account at https://ipinfo.io/signup.

While each client has its own way of specifying, you'll generally use the following values:

Field Value
Command uvx
Arguments mcp-server-ipinfo
Environment IPINFO_API_TOKEN = <YOUR TOKEN>

Development Version

If you'd like to use the latest and greatest, the server can be pulled straight from GitHub. Just add an additional --from argument:

Field Value
Command uvx
Arguments --from, git+https://github.com/briandconnelly/mcp-server-ipinfo, mcp-server-ipinfo
Environment IPINFO_API_TOKEN = <YOUR TOKEN>

Components

Tools

  • get_ip_details: This tool is used to get detailed information about an IP address.
    • Input: ip: The IP address to get information about.
    • Output: IPDetails: A Pydantic model containing detailed information about the IP, including location, organization, and country details.

Resources

No custom resources are included

Prompts

No custom prompts are included

License

MIT License - See LICENSE file for details.

Disclaimer

This project is not affiliated with IPInfo.

Star History

Star History Chart

Repository Owner

Repository Details

Language Python
Default Branch main
Size 360 KB
Contributors 2
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
100%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • IP2Location.io MCP server

    IP2Location.io MCP server

    Geolocation lookup server for IP addresses via Model Context Protocol.

    Implements a Model Context Protocol (MCP) server that provides comprehensive geolocation and network details for IPv4 and IPv6 addresses using the IP2Location.io API. Designed for integration with tools like Claude Desktop, it offers asynchronous processing and supports both free and API-key authenticated usage. It returns extensive data such as geographic location, ISP, domain information, proxy detection, and security insights.

    • 12
    • MCP
    • ip2location/mcp-ip2location-io
  • IPLocate MCP Server

    IPLocate MCP Server

    Comprehensive IP address geolocation and network intelligence via MCP.

    Provides an MCP server interface to IPLocate.io, delivering detailed IP address intelligence including geolocation, network details, privacy detection, and abuse contact information. Easily integrates with popular MCP clients like Cursor and Claude Desktop for seamless IP lookups. Enables users to retrieve geographic, organizational, and security-related data associated with IPv4 and IPv6 addresses by connecting to the IPLocate.io API.

    • 11
    • MCP
    • iplocate/mcp-server-iplocate
  • IP Find MCP Server

    IP Find MCP Server

    A Model Context Protocol server for IP location lookups by AI assistants.

    IP Find MCP Server acts as a Model Context Protocol (MCP) server, allowing AI assistants to access geolocation data from the IP Find API. It connects the IP Find API with AI tools, enabling the retrieval of IP address location information in standardized contexts. Designed for integration with MCP clients such as the Claude Desktop App, it simplifies configuration and secure API key management. The server is certified by MCPHub.

    • 2
    • MCP
    • ipfind/ipfind-mcp-server
  • Aiwen MCP Server for IP Geolocation

    Aiwen MCP Server for IP Geolocation

    High-precision IP geolocation and risk analysis via MCP-compatible API server.

    Provides an MCP (Model Context Protocol) server interface for Aiwen Technology’s high-precision IP location services, offering a range of geolocation, network, risk, and identity APIs compatible with AI context standards. Supports detailed IP information retrieval, including geolocation to city, district, or street level, network characteristics, industry classification, risk profiling, and user authenticity analysis. Enables seamless AI model integration and context-aware processing by following the MCP protocol.

    • 4
    • MCP
    • ipfred/aiwen-mcp-server-geoip
  • GIS MCP Server

    GIS MCP Server

    Empower AI with advanced geospatial operations via Model Context Protocol.

    GIS MCP Server provides a Model Context Protocol (MCP) server implementation that enables Large Language Models to access and perform sophisticated GIS operations. It bridges AI assistants with Python geospatial libraries such as Shapely, GeoPandas, PyProj, Rasterio, and PySAL. The server supports a wide range of spatial analysis, coordinate transformations, raster and vector data processing, and geospatial intelligence tasks. By integrating with MCP-compatible clients, it enhances AI tools with precise and extensible spatial capabilities.

    • 70
    • MCP
    • mahdin75/gis-mcp
  • MCP-Geo

    MCP-Geo

    Geocoding and reverse geocoding MCP server for LLMs.

    MCP-Geo provides geocoding and reverse geocoding capabilities to AI models using the Model Context Protocol, powered by the GeoPY library. It offers various tools such as address lookup, reverse lookup from coordinates, distance calculations, and batch processing of locations, all accessible via standard MCP tool interfaces. Safety features like rate limiting and robust error handling ensure reliable and compliant usage of geocoding services. The server is compatible with environments like Claude Desktop and can be easily configured elsewhere.

    • 28
    • MCP
    • webcoderz/MCP-Geo
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results