@ktmcp-cli/abstractapi
v1.0.0
Published
Production-ready CLI for Abstract API Geolocation - Kill The MCP
Maintainers
Readme
"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
AbstractAPI CLI
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.
Installation
npm install -g @ktmcp-cli/abstractapiConfiguration
abstractapi config set --api-key YOUR_API_KEYGet your API key at abstractapi.com.
Usage
Configuration
# Set API key
abstractapi config set --api-key YOUR_API_KEY
# Show configuration
abstractapi config list
# Get a specific config value
abstractapi config get apiKeyGeolocation
# 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 currentVPN Detection
# Detect if an IP is using a VPN or proxy
abstractapi vpn detect 8.8.8.8
# Check your own IP
abstractapi vpn detectTimezone
# 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 currentJSON Output
All 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'Examples
# 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'
doneLicense
MIT
Part of the KTMCP CLI project — replacing MCPs with simple, composable CLIs.
