Overview
The IP Geolocation MCP Server is a simple server that utilizes the IPInfo API to provide detailed information about an IP address, including approximate user location and network details.
To use the server, create a token from the IPInfo API, and configure it in your claude_desktop_config.json file under the mcpServers section. You can then use the get_ip_details tool to retrieve information about any IP address.
- Retrieves detailed information about IP addresses. - Provides approximate geolocation of users. - Easy integration with Claude desktop through configuration.
- Determining user location for analytics.
- Identifying the organization behind an IP address.
- Enhancing security measures by tracking IP addresses.
Add to your AI client
Use these steps to connect IP Geolocation MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-ipinfo-briandconnelly": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-ipinfo-briandconnelly": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-ipinfo-briandconnelly": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-ipinfo-briandconnelly": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-ipinfo-briandconnelly": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-ipinfo-briandconnelly": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ipinfo-briandconnelly"
]
}
}
}FAQ
Is the IP Geolocation MCP Server free to use?
Yes! You can sign up for a free account at IPInfo to obtain your API token.
What kind of information can I get about an IP address?
You can get details such as location, organization, and country information.
Is this project affiliated with IPInfo?
No, this project is not affiliated with IPInfo.