IP Geolocation MCP Server
A Model Context Protocol server that retrieves detailed geographic information about IP addresses using the ipinfo.io API, helping determine user location and network details.
briandconnelly
Tools
get_ip_details
Get information about an IP address. Use this tool to: - Determine the user's geographic location to coarse granularity - Get information about the user's internet service provider - Get information about a specific IP address Args: ip (str | None): The IP address to look up. If None, returns information about the requesting client's IP address. ctx (Context): The MCP request context. Returns: IPDetails: Object containing information about the IP address, including geographic location, network operator, and more. Note: This tool requires an IPInfo API Token specified via the IPINFO_API_TOKEN environment variable for full functionality.
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.
<a href="https://glama.ai/mcp/servers/pll7u5ak1h"> <img width="380" height="200" src="https://glama.ai/mcp/servers/pll7u5ak1h/badge" alt="IP Geolocation Server MCP server" /> </a>

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.
To use with Claude desktop, add the following to the mcpServers section of your claude_desktop_config.json file:
"ipinfo": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/briandconnelly/mcp-server-ipinfo.git",
"mcp-server-ipinfo"
],
"env": {
"IPINFO_API_TOKEN": "<YOUR TOKEN HERE>"
}
}
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.
- Input:
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.
Recommended Servers
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
VirusTotal MCP Server
A MCP server for querying the VirusTotal API. This server provides tools for scanning URLs, analyzing file hashes, and retrieving IP address reports.
mcp-shodan
MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
YouTube Transcript MCP Server
This server retrieves transcripts for given YouTube video URLs, enabling integration with Goose CLI or Goose Desktop for transcript extraction and processing.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
Brev
Run, build, train, and deploy ML models on the cloud.
Azure MCP Server
Enables natural language interaction with Azure services through Claude Desktop, supporting resource management, subscription handling, and tenant selection with secure authentication.
ScrapeGraph MCP Server
A production-ready Model Context Protocol server that enables language models to leverage AI-powered web scraping capabilities, offering tools for transforming webpages to markdown, extracting structured data, and executing AI-powered web searches.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
GreptimeDB MCP Server
A Model Context Protocol server implementation that enables AI assistants to securely interact with GreptimeDB, allowing them to explore database schema, read data, and execute SQL queries through a controlled interface.