"Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."
— Peter Steinberger, Founder of OpenClaw Watch on YouTube (~2:39:00) | Lex Fridman Podcast #491
Production-ready CLI for the AbstractAPI Geolocation API. Look up IP addresses, detect VPNs, and get timezone information directly from your terminal.
Disclaimer: This is an unofficial CLI tool and is not affiliated with, endorsed by, or supported by Abstract API.
npm install -g @ktmcp-cli/abstractapiabstractapi config set --api-key YOUR_API_KEYGet your API key at abstractapi.com.
# Set API key
abstractapi config set --api-key YOUR_API_KEY
# Show configuration
abstractapi config list
# Get a specific config value
abstractapi config get apiKey# Look up an IP address
abstractapi geolocate lookup 8.8.8.8
abstractapi geolocate lookup 1.1.1.1
# Look up your own current IP
abstractapi geolocate current# Detect if an IP is using a VPN or proxy
abstractapi vpn detect 8.8.8.8
# Check your own IP
abstractapi vpn detect# Get timezone for an IP
abstractapi timezone get --ip 8.8.8.8
# Get timezone by location name
abstractapi timezone get --location "London"
abstractapi timezone get --location "New York"
# Get timezone for your current IP
abstractapi timezone currentAll commands support --json for machine-readable output:
# Look up IP as JSON
abstractapi geolocate lookup 8.8.8.8 --json
# Pipe to jq
abstractapi geolocate lookup 1.1.1.1 --json | jq '{city, country, timezone}'
# Get your timezone as JSON
abstractapi timezone current --json | jq '.timezone'# Find where a suspicious IP is located
abstractapi geolocate lookup 192.168.1.1
# Check if your VPN is working
abstractapi vpn detect
# Find timezone for a remote meeting participant
abstractapi timezone get --ip 123.456.789.0
# Script: Get country code for multiple IPs
for ip in 8.8.8.8 1.1.1.1 9.9.9.9; do
echo -n "$ip: "
abstractapi geolocate lookup $ip --json | jq -r '.country_code'
doneMIT
Part of the KTMCP CLI project — replacing MCPs with simple, composable CLIs.
If you find this CLI useful, we'd greatly appreciate your support! Share your experience on:
- Twitter/X
- Hacker News
Incentive: Users who can demonstrate that their support/advocacy helped advance KTMCP will have their feature requests and issues prioritized.
Just be mindful - these are real accounts and real communities. Authentic mentions and genuine recommendations go a long way!
If you find this CLI useful, we'd appreciate support across Reddit, Twitter, Hacker News, or Moltbook. Please be mindful - these are real community accounts. Contributors who can demonstrate their support helped advance KTMCP will have their PRs and feature requests prioritized.