TM

tedlikeskix/mcp-ip-geolocator

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2 stars 4 forks 质量 34 趋势 8

MCP服务器通过IP-API.com提供IP地理定位. 免费,不需要 API 密钥 .

概览

一个模式上下文协议(MCP)服务器,通过IP-API.com提供IP地理定位服务. 免费使用,不需要 API 密钥 。 - 获取任何IP地址的详细位置信息 - 包括ISP和AS编号在内的网络信息 - 时区数据 - 没有需要API密钥或注册 - Claude的清洁,格式化输出 一旦运行,连接到克劳德桌面的服务器. 示例使用情况: Claude将使用该工具获取并显示位置信息. 该工具返回结构化数据,包括: - 城市、地区和国家 - 纬度和经度 - 时区 - ISP和组织 - AS编号 IP-API.com的自由级包括: - 每分钟45个请求 - IPv4和IPv6支持 - 没有需要的 API 密钥 麻省理工学院许可 - 随意使用和修改!

概述(AI 翻译)

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

□ 特性

  • 获得任何IP地址的详细位置信息
  • 网络信息,包括ISP和AS编号
  • 时区数据
  • 不需要API钥匙或登记
  • 克劳德的清洁、格式化产出

□ 快开始

  1. 全球安装:

  2. 运行服务器:

□ 地方发展

  1. 清除储存库:

  2. 安装依赖性:

  3. 建设和运行:

□ 与克洛德一起使用

一旦运行,连接到克劳德桌面的服务器. 示例使用情况:

Claude将使用该工具获取并显示位置信息.

□ API 响应格式

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

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

□ 限制费率

IP-API.com的免费等级包括:

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

□ 许可证

麻省理工学院许可 - 随意使用和修改!

本页由 AI 翻译,技术细节请以原文为准。

README

MCP IP Geolocation Server

A Model Context Protocol (MCP) server that provides IP geolocation services via IP-API.com. Free to use, no API key required.

Features

  • Get detailed location information for any IP address
  • Network information including ISP and AS number
  • Timezone data
  • No API key or registration required
  • Clean, formatted output for Claude

Quick Start

  1. Install globally:
npm install -g mcp-ip-geolocator
  1. Run the server:
mcp-ip-geolocator

Local Development

  1. Clone the repository:
git clone https://github.com/tedlikeskix/mcp-ip-geolocator.git
cd mcp-ip-geolocator
  1. Install dependencies:
yarn install
  1. Build and run:
yarn build
yarn start

Usage with Claude

Once running, connect to the server in Claude Desktop. Example usage:

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

Claude will use the tool to fetch and display location information.

API Response Format

The tool returns structured data including:

  • City, region, and country
  • Latitude and longitude
  • Timezone
  • ISP and organization
  • AS number

Rate Limiting

IP-API.com’s free tier includes:

  • 45 requests per minute
  • IPv4 and IPv6 support
  • No API key needed

License

MIT License - feel free to use and modify!

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →