Ipinfo.io for AI agents

IPinfo.io provides IP address geolocation and related network data through a straightforward API, giving developers a quick way to look up a visitor's location, host, and organization. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Developer toolsAPI keyMCP + RESTipinfo.io
AUDIT LOG · IPINFO.IOPOLICY: acme-support
09:41:07 · claude · u_8f2read
ipinfo_io.get_ip_info
Get IP Information✓ allowed · 212ms
09:41:08 · claude · u_8f2read
ipinfo_io.get_ip_by_ip
Get IP by IP✓ allowed · 164ms
09:41:09 · claude · u_8f2write
ipinfo_io.map_ips
Map IP Addresses✓ approved · approved by user
EVERY IPINFO.IO CALL, ON THE RECORD
01 · USE CASES

What agents do in Ipinfo.io.

01

Look up an IP's location

Look up the city and country for an IP address logged during a support ticket.

02

Check the organization behind an IP

Look up the hosting organization for an IP to flag unusual login activity.

03

Batch lookup IP addresses

Batch lookup a list of IPs from an access log to summarize where traffic originates.

02 · ACTIONS

27 Ipinfo.io actions, graded by risk.

Every Ipinfo.io action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

24

Look things up. Allowed by default.

  • ipinfo_io.get_ip_info
    Get IP Information
  • ipinfo_io.get_ip_by_ip
    Get IP by IP
  • ipinfo_io.get_geo_by_ip
    Get Geo by IP
  • ipinfo_io.get_org_by_ip
    Get Organization by IP
  • ipinfo_io.get_city_by_ip
    Get City by IP
  • ipinfo_io.get_current_ip
    Get Current IP
  • ipinfo_io.get_token_info
    Get Token Information
  • ipinfo_io.get_current_loc
    Get Current Location
  • ipinfo_io.get_carrier_info
    Get IP Carrier Info
  • ipinfo_io.get_company_info
    Get Company Info for an IP
  • ipinfo_io.get_postal_by_ip
    Get Postal Code by IP
  • ipinfo_io.get_region_by_ip
    Get Region by IP
  • ipinfo_io.get_abuse_contact
    Get Abuse Contact
  • ipinfo_io.get_country_by_ip
    Get Country by IP
  • ipinfo_io.get_ip_info_by_ip
    Get Comprehensive IP Information
  • ipinfo_io.get_current_region
    Get Current Region
+ 8 MORE

write

3

Create and change things. Allow, or ask the user first.

  • ipinfo_io.map_ips
    Map IP Addresses
  • ipinfo_io.batch_lookup
    Batch IP Lookup
  • ipinfo_io.batch_lite_lookup
    Batch Lite Lookup

destructive

0

Delete, cancel or archive. Ask first, or deny outright.

  • No destructive actions.
03 · HOW IT WORKS

Ipinfo.io in three steps.

  1. 01Your users connect Ipinfo.ioThey add their Ipinfo.io api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, and writes like “map IP Addresses” can wait for the user to approve.
  3. 03Any agent can actYour agent calls Ipinfo.io through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('ipinfo_io', {
  read: 'allow',
  write: 'ask',        // map_ips
  destructive: 'deny',  
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Ipinfo.io connects.

Users add their Ipinfo.io api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Ipinfo.io connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Ipinfo.io from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Ipinfo.io and Arc0, answered.

Q01

Can I use Ipinfo.io with Claude, ChatGPT or Cursor?

Yes. Connect Ipinfo.io to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Ipinfo.io actions you allow.

Q02

How do users connect Ipinfo.io?

Users add their Ipinfo.io api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Ipinfo.io actions can my agent take?

27 in total: 24 read, 3 write and 0 destructive, such as “map IP Addresses”. Your policies decide which of them each agent may call.

Q04

Can I make my agent read-only in Ipinfo.io?

Yes. Allow read actions and deny writes in the Ipinfo.io policy. Your agent can still look things up, and any write it attempts is blocked and logged.

Q05

Can my own backend call Ipinfo.io too?

Yes. The same Ipinfo.io connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Ipinfo.io into your agent.

Your users connect Ipinfo.io once, under your brand. Your agent gets 27 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan