MCP IP Geolocation Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP IP 地理定位服务器

一个模型上下文协议 (MCP) 服务器,通过 IP-API.com 提供 IP 地理定位服务。免费使用,无需 API 密钥。

特征

  • 获取任何 IP 地址的详细位置信息
  • 网络信息,包括 ISP 和 AS 编号
  • 时区数据
  • 无需 API 密钥或注册
  • 为 Claude 提供干净、格式化的输出

快速入门

  1. 全局安装:
npm install -g mcp-ip-geolocator
  1. 运行服务器:
mcp-ip-geolocator

本地开发

  1. 克隆存储库:
git clone https://github.com/tedlikeskix/mcp-ip-geolocator.git cd mcp-ip-geolocator
  1. 安装依赖项:
yarn install
  1. 构建并运行:
yarn build yarn start

与 Claude 一起使用

运行后,在 Claude Desktop 中连接到服务器。示例用法:

Claude, can you check the location of IP address 8.8.8.8?

克劳德将使用该工具来获取和显示位置信息。

API 响应格式

该工具返回的结构化数据包括:

  • 城市、地区和国家
  • 纬度和经度
  • 时区
  • ISP 和组织
  • AS 编号

速率限制

IP-API.com 的免费套餐包括:

  • 每分钟 45 个请求
  • IPv4 和 IPv6 支持
  • 无需 API 密钥

执照

MIT 许可证 - 请随意使用和修改!

-
security - not tested
F
license - not found
-
quality - not tested

使用 IP-API.com 提供 IP 地理定位服务,无需 API 密钥,使用户能够以干净、格式化的输出获取任何 IP 地址的详细位置和网络信息。

  1. Features
    1. Quick Start
      1. Local Development
        1. Usage with Claude
          1. API Response Format
            1. Rate Limiting
              1. License
                ID: s16mjqvk38