# ipstack

> APILayer's geo-IP API: send an IP address, get location, ISP and ASN, time zone, currency and, on the top plan, proxy and Tor flags.

Source: https://osinttools.io/tools/ipstack/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** IP address
- **Category:** Infrastructure and domains
- **Pricing:** Freemium (Free plan with 100 requests a month and location data only; paid plans raise the quota and add modules, with bulk and security on the top plan)
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** yes
- **Platforms:** API · MCP server
- **MCP endpoint:** https://mcp.apilayer.com/mcp
- **MCP server:** from the team that runs the service; hosted
- **Website:** https://ipstack.com/
- **Docs:** https://docs.apilayer.com/ipstack/docs/api-documentation
- **Listed:** Nov 29
- **Last verified by an editor:** Nov 29, 2026

## What it does

ipstack is an IP geolocation API from APILayer. A lookup returns data in five modules: location (city, region, country, latitude and longitude), connection (ISP, connection type and ASN), time zone, currency and security (proxy, Tor and threat level). It handles IPv4 and IPv6 and answers in JSON or XML.

Investigators use it to place an address and name its ISP. Requests go to api.ipstack.com with the address in the path and the access key as a query parameter; a separate endpoint looks up the caller's own address, and the bulk endpoint takes up to 50 addresses. The free plan allows 100 requests a month and leaves out the time zone, connection, currency and security modules, and the pricing page lists bulk lookups and the security module on the top plan only.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.

## Features

- Standard lookup of one IPv4 or IPv6 address
- Location, connection, time zone and currency modules
- Security module with proxy, Tor and threat-level fields
- Bulk lookup of up to 50 addresses
- Requester lookup of the caller's own address
- JSON or XML output
- MCP server integration guide in the docs

## Pros

- Simple GET requests with the key in the query string
- JSON and XML output
- The bulk endpoint takes up to 50 addresses in one call

## Cons

- The free plan is 100 requests a month, without commercial use
- ISP and ASN, time zone and currency need a paid plan
- Security flags and bulk lookups are on the highest listed plan only

## When to use it

- Use it when you only need the country, region and city of a handful of addresses each month.
- Use it when you already hold an APILayer subscription and want geo-IP data from the same account.

## Set up ipstack

- Hosted by the maker: nothing to install.
- Needs an API key from the service.
- Its tools only read; it cannot change anything in your account.
- The maker's service sees every request your assistant sends.

Values you supply (replace each <NAME> in the snippets):

- `Authorization`: header (hosted). Bearer <MCP Access Token> (starts apl_mcp_live_), created in the ipstack dashboard

**Claude Code** (hosted). Run in a terminal.

```shell
claude mcp add --transport http --header 'Authorization: <Authorization>' ipstack https://mcp.apilayer.com/mcp
```

**Cursor** (hosted). ~/.cursor/mcp.json, or .cursor/mcp.json in a project.

```json
{
  "mcpServers": {
    "ipstack": {
      "url": "https://mcp.apilayer.com/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}
```

**VS Code** (hosted). .vscode/mcp.json in a workspace. VS Code asks for the key the first time and stores it.

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "authorization",
      "description": "Authorization: Bearer <MCP Access Token> (starts apl_mcp_live_), created in the ipstack dashboard",
      "password": true
    }
  ],
  "servers": {
    "ipstack": {
      "type": "http",
      "url": "https://mcp.apilayer.com/mcp",
      "headers": {
        "Authorization": "${input:authorization}"
      }
    }
  }
}
```

**Codex** (hosted). ~/.codex/config.toml.

```toml
[mcp_servers.ipstack]
url = "https://mcp.apilayer.com/mcp"
http_headers = { Authorization = "<Authorization>" }
```

**Windsurf** (hosted). ~/.codeium/windsurf/mcp_config.json.

```json
{
  "mcpServers": {
    "ipstack": {
      "serverUrl": "https://mcp.apilayer.com/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}
```

## What it can do (tools from its docs)

- `ipstack_lookup`: Geolocation and security data for one IP address: country, city, coordinates, time zone.
- `ipstack_check`: Geolocation and security data for the caller's own IP address.
- `ipstack_bulk_lookup`: Geolocation and security data for a comma-separated list of IP addresses, up to 50 in one call.

## Try asking

- "What country and city is 8.8.8.8 in?"
- "Look up the location and time zone of 8.8.8.8 and 192.0.2.1 in one call."
- "Which region does 8.8.8.8 belong to?"

## Alternatives

- [BGP Ranking](https://osinttools.io/tools/bgp-ranking/): CIRCL service that scores autonomous systems by how much malicious activity they host relative to their size. (Free · IP address · passive)
- [BrowserLeaks](https://osinttools.io/tools/browserleaks/): Suite of tests showing what your browser leaks: IP and WebRTC leaks, canvas, WebGL, font and TLS fingerprints. (Free · IP address · passive)
- [CIDR Report](https://osinttools.io/tools/cidr-report/): Daily report on the global BGP routing table: table growth, AS summaries, possible bogons and aggregation. (Free · IP address · passive)
- [Censys extension](https://osinttools.io/tools/censys-extension/): Censys's Chrome extension for looking up an IP's ports, services, location and WHOIS, and searching highlighted text in Censys. (Freemium · IP address · passive)
- [DB-IP](https://osinttools.io/tools/db-ip/): IP geolocation and ISP database with a lookup site, an API and free monthly Lite downloads under CC BY. (Freemium · IP address · passive)
- [ExoneraTor](https://osinttools.io/tools/exonerator/): Tor Project service that tells you whether an IP address was a Tor relay on a given date. (Free · IP address · passive)

All alternatives to ipstack in one table: https://osinttools.io/tools/ipstack/alternatives/

## More MCP servers

- [ZoomEye MCP Server](https://osinttools.io/tools/zoomeye-mcp/): ZoomEye's own MCP server for searching its internet-asset index of hosts and websites with ZoomEye dorks. (Free · IP address, Domain · passive · 85 GitHub stars)
- [CrawlGraph](https://osinttools.io/tools/crawlgraph/): Backlink lookups from the Common Crawl web graph, with an MCP server for referring domains, link changes and competitor gaps. (Freemium · Domain · passive · 8 GitHub stars)
- [IPGeolocation.io MCP Server](https://osinttools.io/tools/ipgeolocation-io-mcp/): Official IPGeolocation.io MCP server for IP location, ASN, company, VPN/proxy/Tor flags and abuse contacts, local or hosted. (Freemium · IP address, Domain · passive · 6 GitHub stars)

## Change history

- 2026-11-29: Now listed with MCP server setup.
- 2026-11-29: API reference published: 1 endpoints. (api reference: /apis/ipstack/)
- 2026-11-29: Listed in the directory.

Feed of changes to ipstack: https://osinttools.io/tools/changes/feed.xml?tool=ipstack

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
