スキル一覧に戻る
ipinfo
tiagom101 作
Data & Analytics—まだ評価がありません
あなたの評価
概要
Perform IP geolocation lookups using ipinfo.io API.
説明
このスキルでできること
Looks up geographic data for any IP address using the ipinfo.io API. Returns city, region, country, postal code, timezone, coordinates, and ASN/org info. Works without an API key for up to 50,000 requests per month.
Requires no signup or API key for basic use, unlike most geolocation APIs that gate access behind registration.
使いどころ
- Geolocating IPs from web server access logs
- Enriching a CSV of IP addresses with country and city fields
- Detecting a visitor's timezone from their IP address
- Filtering log entries to requests from a specific country
- Calculating geographic distance between two IPs using coordinates
ワークフロー例
入力
User asks: What city, country, and timezone is 8.8.8.8 located in?
エージェント
- 1
Call https://ipinfo.io/8.8.8.8 via curl
- 2
Parse the JSON response
- 3
Extract city, country, and timezone fields
- 4
Return the formatted result
出力
8.8.8.8 is in Mountain View, US (timezone: America/Los_Angeles)
要件
- IPINFO_TOKEN environment variable (optional, required only for rate limits beyond the 50k/month free tier — obtain from ipinfo.io)
インストール
clawhub install tiagom101/ipinfoCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。