# Data handling for the IPstack MCP connector

This section explains how data is handled when you connect IPstack to an AI platform through the IPstack MCP Adapter. It supplements — and does not replace — APILayer's [Master SaaS Subscription Agreement](https://www.ideracorp.com/legal/APILayer#tabs-2) and [Privacy Policy](https://www.ideracorp.com/Legal/PrivacyPolicy), which continue to govern your use of APILayer's IPstack.

**Connecting to an AI platform**   The IPstack MCP Adapter lets you connect your IPstack account to supported third-party AI platforms — currently Anthropic's Claude and OpenAI's ChatGPT — at your request. Connecting is optional and initiated by you. Once connected, the AI platform can make IP lookups against IPstack on your behalf using your IPstack account.

**How connecting works (OAuth 2.1)**   Unlike direct use of the IPstack API, where you supply an API key, the connector uses an OAuth 2.1 authorization flow. You sign in with your existing IPstack account and approve the connection on a consent screen before any access is granted. No new credentials are created; the connection is authorized against the IPstack account you already have.

**Authentication and account information we process**   To authorize and maintain the connection, IPstack processes authentication and account-related information, including your account identifier, OAuth tokens, consent records, token identifiers, disconnection and revocation records, and the mapping between your identity and your IPstack account/tenant. This information is used to establish the connection, enforce what the connection is allowed to do, and let you revoke it. It is processed on IPstack's own infrastructure; the connector's authorization layer is operated by IPstack and does not rely on a third-party identity provider. The connection also processes the IP address each request originates from, together with the location derived from it (city, region, and coordinates), which is retained in the connector's audit log for up to 90 days. Depending on how you connect, this originating address may be that of the AI platform (for a hosted connection) or of the machine running your MCP client (for a locally-run connection).

**What data the connector handles for lookups**   When the connected AI platform performs an IP lookup, it sends the lookup request to IPstack through the Adapter and receives the standard IPstack response. The IP lookup data handled this way — the IP addresses submitted for lookup and the standard IPstack response data — is the same as IPstack's existing IPstack API. Connecting through an AI platform does not change what IPstack data is processed or how IPstack processes it.

**What the connector does not receive**   The Adapter is a gateway to the existing IPstack API. It does not receive or store your broader AI conversation content, your prompt history, or unrelated AI-generated output. The only information it receives from the AI platform is the tool-call parameters needed to perform your IP lookup.

**Disconnecting and revocation**   You can disconnect the connector at any time, from the AI platform or from your IPstack account. When you disconnect, IPstack revokes the connection through its standard OAuth disconnection and token-revocation process, and the AI platform's access ends.

**Your use of the AI platform**   Your use of Claude, ChatGPT, or any other third-party AI platform is governed by that platform's own terms, privacy policy, and data practices. IPstack or APILayer is not responsible for how the AI platform handles your data outside of the lookup requests and responses passed through the connector.
