📝 mcp-ip-geo
chenmingyong0423/mcp-ip-geo · 13 stars · Go · MIT
MCP server An MCP Server that provides IP geolocation lookup (country, region, city, etc.) via ip-api.com.
Install
The repo has no one-line install. Follow its README.
Files
📝 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:
{
"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
git clone https://github.com/chenmingyong0423/mcp-ip-geo.git cd mcp-ip-geo
Step 2: Build the Docker image
docker build -t mcp-ip-geo-server .
Step 3: Run the container
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://<server-address>:8000/mcp, where <server-address> can be:
- Local development environment: Use
localhostor127.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.0address 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:
{
"mcpServers": {
"mcp-ip-geo": {
"url": "http://<server-address>:8000/mcp"
}
}
}
Replace <server-address> 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/
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 13
- License
- MIT
- Language
- Go
- Last push
- 2025-05-26
- Forks
- 8
- Topics
- geolocation, go, ip, mcp, mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k