# MCP Ip2location Io

> MCP Ip2location Io is an open-source MCP server. IP Geolocation MCP server that query the geolocation information using IP2Location.io API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ip2location/mcp-ip2location-io
- **MCP Registry name:** io.github.ip2location/mcp-ip2location-io
- **Listing updated:** 2026-11-13

## About

IP Geolocation MCP server that query the geolocation information using IP2Location.io API.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-ip2location-io --env IP2LOCATION_API_KEY='<IP2LOCATION_API_KEY>' -- uvx mcp-ip2location-io
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-ip2location-io": {
      "command": "uvx",
      "args": [
        "mcp-ip2location-io"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-ip2location-io": {
      "command": "uvx",
      "args": [
        "mcp-ip2location-io"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-ip2location-io": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-ip2location-io"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-ip2location-io": {
      "command": "uvx",
      "args": [
        "mcp-ip2location-io"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-ip2location-io": {
      "command": "uvx",
      "args": [
        "mcp-ip2location-io"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<IP2LOCATION_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is MCP Ip2location Io free?

Yes. MCP Ip2location Io is open source, so you can use and self-host it for free.

### How do I add MCP Ip2location Io to Claude Code?

Run this command in your terminal: claude mcp add mcp-ip2location-io --env IP2LOCATION_API_KEY='<IP2LOCATION_API_KEY>' -- uvx mcp-ip2location-io

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-ip2location-io
