IP Geolocation Server for the Model Context Protocol (MCP). Provides a tool that queries the ipinfo.io API and returns structured location/network data for a supplied IP address.
https://github.com/briandconnelly/mcp-server-ipinfoStop copying and pasting IP addresses into web browsers. This MCP server gives your AI assistant direct access to ipinfo.io's geolocation API, turning raw IP addresses into structured location and network data in seconds.
When you're debugging network issues, analyzing logs, or investigating security incidents, you need IP context fast. Instead of context-switching between your AI conversation and browser tabs, you get instant geolocation data right in your workflow.
Before: "Let me look up this IP address... *opens browser* *navigates to ipinfo.io* *copies result back*"
After: "What can you tell me about IP 203.0.113.42?" → Immediate structured response with location, ISP, and network details.
Security Analysis: Correlate suspicious IPs with geographic locations and hosting providers during incident response. Get immediate context on whether that login attempt is coming from your user's typical location or halfway around the world.
Network Troubleshooting: When parsing logs with your AI assistant, instantly resolve IP addresses to identify patterns - are performance issues concentrated in specific regions or ISPs?
Geographic Analysis: Building location-aware applications? Get precise coordinates and regional data for IP-based user positioning without leaving your development conversation.
Fraud Detection Workflows: Combine IP geolocation with other data points to identify anomalous behavior patterns across different geographic regions.
The server provides a single, focused tool: get_ip_details
. Feed it any IPv4 or IPv6 address and receive:
All responses use Pydantic models for consistent, typed data that integrates seamlessly with your existing workflows.
"ipinfo": {
"command": "uvx",
"args": ["mcp-server-ipinfo", "mcp-server-ipinfo"],
"env": {
"IPINFO_API_TOKEN": "your_token_here"
}
}
This isn't just another API wrapper. It's designed specifically for AI-assisted workflows where you need IP context as part of larger analysis tasks. The structured output means your AI can immediately correlate location data with other information, identify patterns, and provide actionable insights without you having to manually piece together geographic context.
Perfect for developers who regularly work with logs, security teams analyzing network traffic, or anyone who needs to turn IP addresses into geographic intelligence as part of their daily workflow.
Repository: github.com/briandconnelly/mcp-server-ipinfo