# Freeipapi MCP

> Freeipapi MCP is an open-source MCP server. IP geolocation from freeipapi.com for any IPv4 address. No key required. It runs locally on your machine and is started by your AI client.

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

## About

IP geolocation from freeipapi.com for any IPv4 address. No key required.

## Install

### Claude Code (Terminal)

```sh
claude mcp add freeipapi-mcp -- npx -y freeipapi-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "freeipapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "freeipapi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "freeipapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "freeipapi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "freeipapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "freeipapi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "freeipapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "freeipapi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "freeipapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "freeipapi-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Freeipapi MCP free?

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

### How do I add Freeipapi MCP to Claude Code?

Run this command in your terminal: claude mcp add freeipapi-mcp -- npx -y freeipapi-mcp

---
Source: https://ai-powered.com/mcp/freeipapi-mcp
