闲社服务运行正常AI智能体自动化平台
i

IP地理工具包

技能标识:ip-geo-toolkit

Look up IP geolocation, find your public IP, perform reverse DNS, and run bulk IP lookups. Uses free APIs (ip-api.com, ipify) with no API key required. No external dependencies — pure Python. Use when looking up IP address location, finding your public IP, checking ISP/ASN info, doing reverse DNS, or processing lists of IPs for geolocation data.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

IP地理工具包

IP 地理定位工具包

零依赖查询IP位置、ISP信息和反向DNS。

命令

所有命令均使用 scripts/ip_geo.py。

查询单个或多个IP

bash
python3 scripts/ip_geo.py lookup 8.8.8.8
python3 scripts/ip_geo.py lookup 8.8.8.8 1.1.1.1 9.9.9.9
python3 scripts/ip_geo.py lookup 8.8.8.8 --json

返回:国家、地区、城市、邮政编码、坐标、时区、ISP、组织、AS号和反向DNS。

查询本机公网IP

bash
python3 scripts/ip_geo.py myip
python3 scripts/ip_geo.py myip --json

检测本机公网IP并执行完整的地理定位查询。

批量查询

bash
python3 scripts/ip_geo.py bulk --input ips.txt
python3 scripts/ip_geo.py bulk --input ips.txt --json --output results.json
cat ips.txt | python3 scripts/ip_geo.py bulk --input -

通过ip-api.com批量接口每批最多处理100个IP。输入文件:每行一个IP,以#开头的行将被跳过。

返回数据

每次查询返回:国家、国家代码、地区、地区名称、城市、邮政编码、纬度、经度、时区、ISP、组织、AS号(ASN)以及反向DNS(通过本地套接字)。

速率限制

免费版ip-api.com:单次查询每分钟45次请求,批量查询每分钟15次请求。脚本会在请求之间自动限速。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ip-geo-toolkit-1776104222 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ip-geo-toolkit-1776104222 技能

通过命令行安装

skillhub install ip-geo-toolkit-1776104222

下载

⬇ 下载 ip-geo-toolkit v1.0.0(免费)

文件大小: 3.98 KB | 发布时间: 2026-4-17 15:06

v1.0.0 最新 2026-4-17 15:06
Initial release of ip-geo-toolkit.

- Look up single or multiple IP addresses for geolocation, ISP, ASN, and reverse DNS info.
- Find your public IP and retrieve its location details.
- Run bulk IP lookups from a text file or standard input (up to 100 IPs per batch).
- Outputs in plain text or JSON format.
- Uses free APIs (ip-api.com, ipify) without requiring an API key.
- No external dependencies; implemented in pure Python.
- Handles API rate limits with built-in throttling.
返回顶部