Geocoding

Connect CountryStateCity to any app

World countries, states, regions, provinces, cities & towns in JSON, SQL, XML, YAML, & CSV format

Connects with an API keycountrystatecity.in

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

Build solutions, not workarounds.

What do you want to automate with CountryStateCity?

Ask the assistant

You'll sign in before anything runs. What you typed comes with you.

Connect your AI client

Give your AI client this address.

https://mcp.apiant.ai

Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

Set it up in your client
Claude Code

Run this in the directory you want to work in.

claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai

Start Claude Code there, approve the server, and sign in in the browser page it opens.

Claude Code guide (opens in a new tab)
Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

Setup guide (opens in a new tab)
Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

Setup guide (opens in a new tab)
Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

Setup guide (opens in a new tab)
Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

Setup guide (opens in a new tab)
Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

Setup guide (opens in a new tab)

Pair it

Connect CountryStateCity with another app

What your agent can do with CountryStateCity

Triggers and actions 5 actions

  • Action
    Get country

    Get details for a single country by ISO2 code.

  • Action
    Get state

    Get details for a single state by country ISO2 + state ISO2.

  • Action
    Get timezone by country

    Get timezone(s) for a given country ISO2, with DST awareness.

  • Action
    List cities

    List cities filtered by country ISO2, and optionally by state ISO2.

  • Action
    List countries

    List all countries with ISO codes, phone codes, currencies, and other metadata.

Related apps

More in Geocoding

Reviews

What our customers say

Questions

CountryStateCity, answered

What can your agent do in CountryStateCity?

Any of CountryStateCity's 5 actions, including Get country, Get state, Get timezone by country and List cities. Your agent maps the data both ways and tests every scenario before it ships.

Which apps can CountryStateCity connect to?

Any app in the catalog; the list on this page pairs CountryStateCity with each of them. If the other app is missing, point your agent at its API documentation and it builds the connector.

What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.