myipgo-cli MCP server
Commit Oct 28, 2026Provides public IP detection, geolocation lookups, DNS record queries, and IPv4 subnet calculations.
Also known as aipp-key/myipgo-cli
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Oct 28, 2026
- License
- MIT
What is myipgo-cli MCP?
myipgo-cli provides public IP detection, geolocation lookups, DNS record queries, and IPv4 subnet calculations.
Summary generated from the project's README
About myipgo-cli MCP server
Network administrators and developers can perform essential connectivity diagnostics through this tool. It provides a way to identify public IPv4 or IPv6 addresses, retrieve geolocation data, and inspect network details like ASN and ISP information. The server functions as a command line interface that can be run locally via npx or installed globally using npm.
Users can execute specific network tasks such as resolving DNS records including A, MX, and TXT types, performing reverse DNS PTR lookups, and calculating IPv4 CIDR subnets. The toolkit is designed for automation, offering plain text output for shell scripts or JSON formatting for use with tools like jq. It relies on native fetch and requires Node.js 18 or higher to operate without external dependencies.
What you can do with it
- 1Identify current network locationFind your public IP address, version, and approximate geographic location.
- 2Query domain recordsRetrieve specific DNS records such as MX or A records for a given domain name.
- 3Calculate network rangesDetermine the network, broadcast, and usable host ranges for a specific CIDR subnet.
Written from the project's README. Every use case is checked against a quote from it.
Configuration
MY_IP
Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachableaipp-key/myipgo-cli is public and reachablegithub.com/aipp-key/myipgo-cli ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-10-28github.com/aipp-key/myipgo-cli ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubmyipgo-cli
Fast, zero-dependency command line interface and network toolkit powered by MyIPGo.
Instantly check your public IPv4/IPv6 address, run IP geolocation lookups, resolve DNS records, perform reverse DNS (PTR) lookups, and calculate IPv4 CIDR subnets directly from your terminal.
✨ Features
- ⚡ Zero External Dependencies: Uses native
fetch(Node.js 18+). No heavy package trees to download. - 🚀 Instant Execution: Run via
npx myipgowithout installation. - 🌍 Public IP & Edge Geolocation: Reports IP version, network ASN, country, and approximate location.
- 🔍 DNS & Reverse DNS: Fast DNS record queries (A, AAAA, CNAME, MX, TXT) and PTR lookups.
- 🧮 Subnet Calculator: RFC-compliant CIDR calculator (including RFC 3021
/31point-to-point subnets). - 🤖 CI/CD & Scripting Friendly:
--plainfor bare output and--jsonfor parsing withjq. - 🔗 Full API & MCP Support: Complements the official MyIPGo JSON API and Model Context Protocol (MCP).
📦 Quick Start
Without Installation (Recommended)
# Get your public IP address and network details
npx myipgo
# Get only your raw IP (useful for curl-like scripts)
npx myipgo --plain
# Query an external IP address
npx myipgo lookup 1.1.1.1
# Query DNS records
npx myipgo dns example.com MX
# Reverse DNS lookup
npx myipgo reverse 8.8.8.8
# Calculate IPv4 Subnet
npx myipgo subnet 192.168.1.0/24
Global Installation
npm install -g myipgo
# Then run anywhere:
myipgo
myipgo lookup 8.8.4.4
🛠️ Commands & Usage
1. Show Your Public IP (me)
myipgo
# or
myipgo me
Example Output:
MyIPGo — Public IP & Edge Info
─────────────────────────────────────────────
IP Address: 203.0.113.42
Version: IPv4
Location: Amsterdam, Netherlands
Country: NL
Network: Cloudflare, Inc.
ASN: AS13335
─────────────────────────────────────────────
Docs: https://myipgo.com/en/developers/
2. IP Lookup (lookup <ip>)
Query country, continent, ISP / Autonomous System (ASN), and organization for any IPv4 or IPv6 address:
myipgo lookup 1.1.1.1
3. DNS Lookup (dns <name> [type])
Query standard DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA):
myipgo dns github.com A
myipgo dns google.com MX
4. Reverse DNS (reverse <ip>)
Resolve an IP address back to its associated PTR hostname:
myipgo reverse 1.1.1.1
# PTR: one.one.one.one.
5. Subnet Calculator (subnet <cidr>)
Calculate network, broadcast, usable host ranges, and subnet masks:
myipgo subnet 10.0.0.0/22
🤖 Automation & Scripting
Plain IP Output
MY_IP=$(npx myipgo --plain)
echo "Current IP: $MY_IP"
Piping JSON into jq
npx myipgo lookup 1.1.1.1 --json | jq '.country'
# "Australia"
🌐 Related Documentation & Developer Tools
- 📖 Official API Reference: https://myipgo.com/en/developers/
- 🤖 Model Context Protocol (MCP): https://myipgo.com/en/agents/
- 🌐 Web Tools:
📄 License
MIT © MyIPGo
myipgo-cli MCP questions
What information can I get from an IP lookup?
You can query the country, continent, ISP, Autonomous System (ASN), and organization for any IPv4 or IPv6 address.
Can I use this tool for DNS queries?
Yes, it supports querying standard DNS records including A, AAAA, CNAME, MX, NS, TXT, and SOA.
Does it support subnet calculations?
Yes, it includes an RFC-compliant CIDR calculator that can determine network, broadcast, usable host ranges, and subnet masks.