IPGeolocation.io
MCP server by IPGeolocation.io
Look up IP geolocation, security signals, ASN data, abuse contacts, time zones, astronomy and user-agent details.
Install IPGeolocation.io
Runs on your machine. Your client starts it with this command:
Needs Node.js on your computer. The setup steps below show where the command goes in each client.
IPGEOLOCATION_API_KEYsecret API key for ipgeolocation.io. Free and paid keys are supported.
Share this server
Opens this page, with the install command and setup steps.
mcp.tc/i/ipgeolocation-ioAbout
Connects an assistant to the IPGeolocation.io APIs. It covers IP geolocation, company and ASN ownership, network and BGP data, VPN, proxy and Tor detection, abuse contacts, currency data, time zones, astronomy and user-agent parsing. Bulk tools accept up to 250 inputs per request by default.
Runs locally over stdio with npx (Node.js 22 or later). It needs an IPGeolocation.io API key in IPGEOLOCATION_API_KEY; free and paid keys work, and available endpoints depend on the plan. Only get_my_ip works without a key.
What you can do
- Geolocate single or bulk IPv4 and IPv6 addresses
- Detect VPN, proxy, Tor and bot traffic with threat scores
- Look up ASN details, company ownership and BGP network data
- Find abuse contact details for an IP
- Get time zones, convert times and read astronomy data
- Parse user-agent strings into device, browser and OS
- Replay cached result pages without extra API credits
Tools 17
lookup_ipGeolocation for a public IPv4/IPv6 address; domain lookup needs a paid plan
bulk_lookup_ipBulk IP geolocation, up to 250 inputs per request by default
get_my_ipReturns the public egress IP of the machine running the server
lookup_companyCompany details and ASN ownership for an IP
lookup_currencyCurrency and country metadata for an IP address
lookup_networkBGP route prefix, connection type and anycast indicator
check_securityVPN, proxy, Tor, bot flags and threat scores for an IP
bulk_security_checkBulk security check, up to 250 inputs per request by default
get_timezoneTimezone lookup by IANA name, coordinates, IP or airport code
convert_timezoneConvert time between two locations
get_astronomySunrise, sunset, moonrise, moonset, twilight and moon phases
get_astronomy_time_seriesDaily astronomy data for a date range up to 90 days
Show 5 more tools
parse_user_agentParse a user-agent string into device, browser and OS details
bulk_parse_user_agentBulk parse up to 250 user-agent strings per request by default
lookup_asnASN details with optional peers, upstreams, downstreams, routes and WHOIS
get_abuse_contactAbuse contact email, phone and address for a public IP
get_cached_resultRead or replay a cached JSON page without an API call or credits
From the package’s own manifest, not a live connection, on 25 Oct 2026.
Example prompts
Where is 8.8.8.8 located?
Check whether 203.0.113.5 is a VPN or proxy
Who is the abuse contact for 1.1.1.1?
What time is sunrise in Berlin for the next week?
Set up
Every client starts IPGeolocation.io on your machine with the same command. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport stdio ipgeolocation-io --env "IPGEOLOCATION_API_KEY=<YOUR_IPGEOLOCATION_API_KEY>" -- npx -y ipgeolocation-io-mcp- Start Claude Code and type
/mcp. ipgeolocation-io should show as connected.
Add --scope user to make it available in every project. Replace the placeholders with your own values.
Claude Desktop
- Open Settings → Developer → Edit Config. It opens
claude_desktop_config.json. Add:
{
"mcpServers": {
"ipgeolocation-io": {
"command": "npx",
"args": [
"-y",
"ipgeolocation-io-mcp"
],
"env": {
"IPGEOLOCATION_API_KEY": "<YOUR_IPGEOLOCATION_API_KEY>"
}
}
}
}- Save the file and restart Claude Desktop. Replace the placeholders with your own values.
Needs Node.js on your computer. The file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.
Cursor
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"ipgeolocation-io": {
"command": "npx",
"args": [
"-y",
"ipgeolocation-io-mcp"
],
"env": {
"IPGEOLOCATION_API_KEY": "<YOUR_IPGEOLOCATION_API_KEY>"
}
}
}
}Needs Node.js on your computer. Replace the placeholders with your own values.
VS Code
Add it to .vscode/mcp.json. VS Code asks for the secret the first time and stores it securely:
{
"servers": {
"ipgeolocation-io": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ipgeolocation-io-mcp"
],
"env": {
"IPGEOLOCATION_API_KEY": "${input:ipgeolocation-api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "ipgeolocation-api-key",
"description": "IPGEOLOCATION_API_KEY",
"password": true
}
]
}Needs Node.js on your computer.
Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"ipgeolocation-io": {
"command": "npx",
"args": [
"-y",
"ipgeolocation-io-mcp"
],
"env": {
"IPGEOLOCATION_API_KEY": "<YOUR_IPGEOLOCATION_API_KEY>"
}
}
}
}- Refresh the MCP server list in Cascade. Replace the placeholders with your own values.
Devin Desktop is the new name for Windsurf.
Codex
codex mcp add ipgeolocation-io --env "IPGEOLOCATION_API_KEY=<YOUR_IPGEOLOCATION_API_KEY>" -- npx -y ipgeolocation-io-mcpOr edit ~/.codex/config.toml directly:
[mcp_servers.ipgeolocation-io]
command = "npx"
args = ["-y", "ipgeolocation-io-mcp"]
env = { IPGEOLOCATION_API_KEY = "<YOUR_IPGEOLOCATION_API_KEY>" }Needs Node.js on your computer. Replace the placeholders with your own values.
Gemini CLI
gemini mcp add -e "IPGEOLOCATION_API_KEY=<YOUR_IPGEOLOCATION_API_KEY>" ipgeolocation-io npx -- -y ipgeolocation-io-mcpThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients that start local servers accept this shape:
{
"mcpServers": {
"ipgeolocation-io": {
"command": "npx",
"args": [
"-y",
"ipgeolocation-io-mcp"
],
"env": {
"IPGEOLOCATION_API_KEY": "<YOUR_IPGEOLOCATION_API_KEY>"
}
}
}
}Zed puts servers under context_servers in its settings, with the same command, args and env fields.
Needs Node.js on your computer. Replace the placeholders with your own values.
Embed
Show IPGeolocation.io in a README or on your site. Each embed links to this page, uses the server’s own install command, and sets no cookies. How embeds work
The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.
README badge
[](https://mcp.tc/i/ipgeolocation-io)<a href="https://mcp.tc/i/ipgeolocation-io"><img src="https://mcp.tc/i/ipgeolocation-io/badge.svg" alt="IPGeolocation.io on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/ipgeolocation-io.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/ipgeolocation-io" title="IPGeolocation.io on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, install command, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/ipgeolocation-io.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the IPGeolocation.io card to your site.
Add the mcp.tc card for IPGeolocation.io, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.
Put this tag where the card should appear. The card renders right before it:
```html
<script src="https://mcp.tc/w/ipgeolocation-io.js" async></script>
```
To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.
```html
<div data-mcptc="ipgeolocation-io"><a href="https://mcp.tc/i/ipgeolocation-io">IPGeolocation.io on mcp.tc</a></div>
```
Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.
If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).
For a README or other Markdown docs, use the badge instead:
```markdown
[](https://mcp.tc/i/ipgeolocation-io)
```
Reference: https://mcp.tc/embedChange history
We read the tool list in this server’s bundle manifest on GitHub every 3 hours and record what changes. Last read 18 Nov 2026, 05:28 UTC.
FAQ
Can I paste mcp.tc/i/ipgeolocation-io into my MCP client?
No. IPGeolocation.io runs on your own computer, started by your client, so it has no web address to connect to. The quick link is the page to share; the install command is npx -y ipgeolocation-io-mcp.
Does IPGeolocation.io need an API key?
Yes. It reads IPGEOLOCATION_API_KEY from its environment, and IPGEOLOCATION_API_KEY is a secret. Put the value in your client’s config on your own machine, never in a shared file.
Is IPGeolocation.io a remote or a local server?
Local. Your client starts it as a process on your computer with npx -y ipgeolocation-io-mcp, which needs Node.js.
What can IPGeolocation.io do?
It has 17 tools, including lookup_ip, bulk_lookup_ip and get_my_ip. You can geolocate single or bulk IPv4 and IPv6 addresses, detect VPN, proxy, Tor and bot traffic with threat scores and look up ASN details, company ownership and BGP network data.
Which clients can use it?
Any client that starts local servers: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. claude.ai and ChatGPT only connect to remote servers.
Does mcp.tc track changes to IPGeolocation.io?
Yes. We follow the tool list in IPGeolocation.io’s bundle manifest, and its History tab shows each change we find, plus new versions and edits by its owner. Follow the listing to get an email when it changes.
Who wrote this page?
mcp.tc’s robot read IPGeolocation.io’s public metadata (its package and repository pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
mcp.tc isn’t affiliated with IPGeolocation.io. This page was built from IPGeolocation.io’s public metadata, last checked on 25 Oct 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.