# Mcp Ip Geo

> An MCP Server that provides IP geolocation lookup (country, region, city, etc.) via ip-api.com.

- **Type:** MCP server
- **Install:** `agentstack add mcp-chenmingyong0423-mcp-ip-geo`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [chenmingyong0423](https://agentstack.voostack.com/s/chenmingyong0423)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [chenmingyong0423](https://github.com/chenmingyong0423)
- **Source:** https://github.com/chenmingyong0423/mcp-ip-geo

## Install

```sh
agentstack add mcp-chenmingyong0423-mcp-ip-geo
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

📝 mcp-ip-geo

  English | 简体中文

---

`mcp-ip-geo` is an `MCP` (`Model Context Protocol`) server that provides IP geolocation lookup services (country, region, city, etc.) using the ip-api.com service.

# 🔌 MCP Integration

You can integrate the `mcp-ip-geo` service in two ways:

## Method 1: Using the go run command (Stdio)

Add the following to your `MCP` configuration to run the latest version directly from GitHub:

```json
{
  "mcpServers": {
    "mcp-ip-geo": {
      "command": "go",
      "args": [
        "run",
        "github.com/chenmingyong0423/mcp-ip-geo/cmd/mcp-ip-geo@latest"
      ]
    }
  }
}
```

## Method 2: Using Docker (Streamable HTTP)

### 🐳 Docker Deployment

#### Step 1: Clone the repository

```bash
git clone https://github.com/chenmingyong0423/mcp-ip-geo.git
cd mcp-ip-geo
```

#### Step 2: Build the Docker image

```bash
docker build -t mcp-ip-geo-server .
```

#### Step 3: Run the container

```bash
docker run -d --name mcp-ip-geo-server -p 8000:8000 mcp-ip-geo-server
```

Once running successfully, the service will listen on `0.0.0.0:8000` within the container (listening on all network interfaces), and can be accessed via `http://:8000/mcp`, where `` can be:
- Local development environment: Use `localhost` or `127.0.0.1`
- LAN environment: Use the server's internal IP address (e.g., `192.168.x.x`)
- Public network environment: Use the server's public IP address or domain name

> Note: The service is configured to listen on the `0.0.0.0` address inside the container, which is standard practice for containerized applications, ensuring the service can be accessed from outside the container.

#### Step 4: Configure MCP

Add the following to your `MCP` configuration:

```json
{
  "mcpServers": {
    "mcp-ip-geo": {
      "url": "http://:8000/mcp"
    }
  }
}
```

Replace `` with the actual server IP address or domain name of your deployment environment.

# ⚠️ License Notice

> Note: This project uses the free version of ip-api.com, which is **for non-commercial use only**. If you intend to use this project for commercial purposes, please comply with their terms of service or purchase the paid version: https://ip-api.com/

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [chenmingyong0423](https://github.com/chenmingyong0423)
- **Source:** [chenmingyong0423/mcp-ip-geo](https://github.com/chenmingyong0423/mcp-ip-geo)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-chenmingyong0423-mcp-ip-geo
- Seller: https://agentstack.voostack.com/s/chenmingyong0423
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
