IPstack MCP Server
The IPstack MCP Server brings IPstack's IP geolocation and intelligence data to any MCP-compatible AI assistant, such as Claude and ChatGPT.
What it can do
- Ipstack Lookup: Get geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for a single IP add
- Ipstack Check: Return geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for the IP addres
- Ipstack Bulk Lookup: Get geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for multiple I
What data it sees
Do you need an account
No: the server works without sign-in
The IPstack MCP Server brings IPstack's IP geolocation and intelligence data to any MCP-compatible AI assistant, such as Claude and ChatGPT. IPstack is a widely used IP-to-location service covering IPv4 and IPv6 addresses, returning country, region, city, coordinates, timezone, and — depending on your plan — connection, network, and security details.
Instead of leaving the conversation to call an API by hand, users can ask their assistant a question in plain language and get a structured IPstack result back. The server is a hosted gateway to the existing IPstack API: it connects with your own IPstack account, and the underlying lookup data is the same as IPstack's direct API. It exposes three tools — single-address lookup, requester lookup, and bulk lookup — each mapping to an IPstack endpoint.
How to connect
How to connect IPstack MCP Server to Claude
The server address to paste into Claude settings:
https://ipstack-mcp--apilayer.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect IPstack MCP Server to ChatGPT
The server address to paste into ChatGPT settings:
https://ipstack-mcp--apilayer.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect IPstack MCP Server to Cursor
The server address to paste into Cursor settings:
https://ipstack-mcp--apilayer.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (3)
Raw names from tools/list. Only developers need these.
| ipstack_lookup | Get geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for a single IP address. |
| ipstack_check | Return geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for the IP address this request appears to originate from. Takes no parameters. That address belongs to whichever client or platform made the MCP call, and is not necessarily the end user's own device or network. To look up a specific IP address, use ipstack_lookup. |
| ipstack_bulk_lookup | Get geolocation and security details (country, region, city, timezone, latitude, longitude, ISP, currency, connection type, IP routing type, proxy/tor/threat flags) for multiple IPv4 or IPv6 addresses in one request. Useful for analyzing lists of IPs, grouping by country/region, or flagging suspicious origins. Requires a plan that supports bulk lookups. |