Skip to main content
Glama
MCP IP Geolocation Server

MCP IP Geolocation Server

by tedlikeskix

MCP IP 地理定位服务器

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

特征

  • 获取任何 IP 地址的详细位置信息

  • 网络信息,包括 ISP 和 AS 编号

  • 时区数据

  • 无需 API 密钥或注册

  • 为 Claude 提供干净、格式化的输出

Related MCP server: mcp-ipinfo

快速入门

  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 许可证 - 请随意使用和修改!

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides IP address geolocation and lookup via ip-api.com, no authentication required for basic usage.
      59 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides IP geolocation data via ipinfo.io, enabling querying IP addresses for location, ISP, and other details through natural language.
      133 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables looking up approximate location of public or specific IP addresses, returning country, city, ISP, and coordinates via ip-api.com.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides IP geolocation lookups via ip-api.com, including single and batch queries up to 100 IPs.
      MIT