---
title: "CountryStateCity integrations and MCP server - APIANT.ai"
description: "Connect CountryStateCity to any other app, or use it from your AI client over MCP. World countries, states, regions, provinces, cities & towns in JSON, SQL..."
canonical: "https://apiant.ai/connections/countrystatecity"
---

# CountryStateCity integrations

Connect CountryStateCity to any other app, or use it from your AI client over MCP. World countries, states, regions, provinces, cities & towns in JSON, SQL, XML, YAML, & CSV format

Connects with an API key [countrystatecity.in](https://countrystatecity.in/)

**5** actions

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

## What do you want to automate with CountryStateCity?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. 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)](https://apiant.ai/docs/mcp/claude-code)

### 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)](https://apiant.ai/docs/mcp)

### 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)](https://apiant.ai/docs/mcp)

### Zed

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

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### 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)](https://apiant.ai/docs/mcp)

### Grok

Open grok.com/connectors, choose New Connector, then Custom, and paste the address. Grok signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### 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)](https://apiant.ai/docs/mcp)

Popular

## CountryStateCity with the apps people pair it with most

- [ **HubSpot to CountryStateCity** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-countrystatecity)
- [ **Salesforce to CountryStateCity** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-countrystatecity)
- [ **Slack to CountryStateCity** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-countrystatecity)
- [ **Google Sheets to CountryStateCity** Google Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.](https://apiant.ai/connect/google-sheets-to-countrystatecity)
- [ **Gmail to CountryStateCity** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-countrystatecity)
- [ **Google Calendar to CountryStateCity** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-countrystatecity)
- [ **Google Drive to CountryStateCity** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/google-drive-to-countrystatecity)
- [ **Mailchimp to CountryStateCity** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/mailchimp-to-countrystatecity)

Pair it

## Connect CountryStateCity with another app

- [ **HubSpot to CountryStateCity**](https://apiant.ai/connect/hubspot-to-countrystatecity)
- [ **Salesforce to CountryStateCity**](https://apiant.ai/connect/salesforce-to-countrystatecity)
- [ **Slack to CountryStateCity**](https://apiant.ai/connect/slack-to-countrystatecity)
- [ **Google Sheets to CountryStateCity**](https://apiant.ai/connect/google-sheets-to-countrystatecity)
- [ **Gmail to CountryStateCity**](https://apiant.ai/connect/gmail-to-countrystatecity)
- [ **Google Calendar to CountryStateCity**](https://apiant.ai/connect/google-calendar-to-countrystatecity)
- [ **Google Drive to CountryStateCity**](https://apiant.ai/connect/google-drive-to-countrystatecity)
- [ **Mailchimp to CountryStateCity**](https://apiant.ai/connect/mailchimp-to-countrystatecity)
- [ **Stripe to CountryStateCity**](https://apiant.ai/connect/stripe-to-countrystatecity)
- [ **Shopify to CountryStateCity**](https://apiant.ai/connect/shopify-to-countrystatecity)
- [ **QuickBooks Online to CountryStateCity**](https://apiant.ai/connect/quickbooks-online-to-countrystatecity)
- [ **Pipedrive to CountryStateCity**](https://apiant.ai/connect/pipedrive-to-countrystatecity)
- [ **ActiveCampaign to CountryStateCity**](https://apiant.ai/connect/activecampaign-to-countrystatecity)
- [ **Notion to CountryStateCity**](https://apiant.ai/connect/notion-to-countrystatecity)
- [ **Airtable to CountryStateCity**](https://apiant.ai/connect/airtable-to-countrystatecity)
- [ **Trello to CountryStateCity**](https://apiant.ai/connect/trello-to-countrystatecity)
- [ **Asana to CountryStateCity**](https://apiant.ai/connect/asana-to-countrystatecity)
- [ **JIRA to CountryStateCity**](https://apiant.ai/connect/jira-to-countrystatecity)
- [ **ClickUp to CountryStateCity**](https://apiant.ai/connect/clickup-to-countrystatecity)
- [ **Zoom to CountryStateCity**](https://apiant.ai/connect/zoom-to-countrystatecity)
- [ **Discord to CountryStateCity**](https://apiant.ai/connect/discord-to-countrystatecity)
- [ **Twilio to CountryStateCity**](https://apiant.ai/connect/twilio-to-countrystatecity)
- [ **SendGrid to CountryStateCity**](https://apiant.ai/connect/sendgrid-to-countrystatecity)
- [ **Outlook to CountryStateCity**](https://apiant.ai/connect/outlook-to-countrystatecity)
- [ **Intercom to CountryStateCity**](https://apiant.ai/connect/intercom-to-countrystatecity)
- [ **Freshdesk to CountryStateCity**](https://apiant.ai/connect/freshdesk-to-countrystatecity)
- [ **Klaviyo to CountryStateCity**](https://apiant.ai/connect/klaviyo-to-countrystatecity)
- [ **Brevo to CountryStateCity**](https://apiant.ai/connect/brevo-to-countrystatecity)
- [ **Typeform to CountryStateCity**](https://apiant.ai/connect/typeform-to-countrystatecity)
- [ **JotForm to CountryStateCity**](https://apiant.ai/connect/jotform-to-countrystatecity)
- [ **Calendly to CountryStateCity**](https://apiant.ai/connect/calendly-to-countrystatecity)
- [ **PandaDoc to CountryStateCity**](https://apiant.ai/connect/pandadoc-to-countrystatecity)
- [ **Webflow to CountryStateCity**](https://apiant.ai/connect/webflow-to-countrystatecity)
- [ **Wix to CountryStateCity**](https://apiant.ai/connect/wix-to-countrystatecity)
- [ **Instagram to CountryStateCity**](https://apiant.ai/connect/instagram-to-countrystatecity)
- [ **OpenAI to CountryStateCity**](https://apiant.ai/connect/openai-to-countrystatecity)
- [ **OneDrive to CountryStateCity**](https://apiant.ai/connect/onedrive-to-countrystatecity)
- [ **Google Docs to CountryStateCity**](https://apiant.ai/connect/google-docs-to-countrystatecity)
- [ **Ontraport to CountryStateCity**](https://apiant.ai/connect/ontraport-to-countrystatecity)
- [ **Freshworks CRM to CountryStateCity**](https://apiant.ai/connect/freshworks-crm-to-countrystatecity)
- [ **GoHighLevel to CountryStateCity**](https://apiant.ai/connect/gohighlevel-to-countrystatecity)
- [ **Capsule CRM to CountryStateCity**](https://apiant.ai/connect/capsule-crm-to-countrystatecity)
- [ **Copper to CountryStateCity**](https://apiant.ai/connect/copper-to-countrystatecity)
- [ **Streak to CountryStateCity**](https://apiant.ai/connect/streak-to-countrystatecity)
- [ **NetHunt CRM to CountryStateCity**](https://apiant.ai/connect/nethunt-crm-to-countrystatecity)
- [ **MINDBODY to CountryStateCity**](https://apiant.ai/connect/mindbody-to-countrystatecity)
- [ **PostgreSQL to CountryStateCity**](https://apiant.ai/connect/postgresql-to-countrystatecity)
- [ **MySQL to CountryStateCity**](https://apiant.ai/connect/mysql-to-countrystatecity)
- [ **Vercel to CountryStateCity**](https://apiant.ai/connect/vercel-to-countrystatecity)
- [ **PagerDuty to CountryStateCity**](https://apiant.ai/connect/pagerduty-to-countrystatecity)
- [ **Gravity Forms to CountryStateCity**](https://apiant.ai/connect/gravity-forms-to-countrystatecity)
- [ **HubSpot Enterprise to CountryStateCity**](https://apiant.ai/connect/hubspot-enterprise-to-countrystatecity)
- [ **Google Forms to CountryStateCity**](https://apiant.ai/connect/google-forms-to-countrystatecity)
- [ **Facebook Lead Ads to CountryStateCity**](https://apiant.ai/connect/facebook-lead-ads-to-countrystatecity)
- [ **monday.com to CountryStateCity**](https://apiant.ai/connect/monday-com-to-countrystatecity)
- [ **Google Ads to CountryStateCity**](https://apiant.ai/connect/google-ads-to-countrystatecity)
- [ **Google Tasks to CountryStateCity**](https://apiant.ai/connect/google-tasks-to-countrystatecity)
- [ **Telegram to CountryStateCity**](https://apiant.ai/connect/telegram-to-countrystatecity)
- [ **MailerLite to CountryStateCity**](https://apiant.ai/connect/mailerlite-to-countrystatecity)
- [ **Google Contacts to CountryStateCity**](https://apiant.ai/connect/google-contacts-to-countrystatecity)

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

- [ **administrative-divisons-db** administrative-divisons-db is an open dataset served over HTTP that lists the administrative subdivisions of...](https://apiant.ai/connections/administrative-divisons-db)
- [ **adresse.data.gouv.fr** adresse.data.gouv.fr is the French government's official national address database and geocoding service.](https://apiant.ai/connections/adresse-data-gouv-fr)
- [ **ApogeoAPI** Bundled API for countries, states, cities, IP geolocation, and live exchange rates](https://apiant.ai/connections/apogeoapi)
- [ **BdAPIs** BdAPIs serves the administrative geography of Bangladesh.](https://apiant.ai/connections/bdapis)
- [ **bng2latlong** bng2latlong, from GetTheData, converts British National Grid coordinates into global latitude and longitude.](https://apiant.ai/connections/bng2latlong)
- [ **Cartes.io to CountryStateCity** Cartes.io is an open-source mapping service for creating shared maps and dropping markers on them for...](https://apiant.ai/connect/cartes-io-to-countrystatecity)
- [ **Country** Country.is is a minimal IP geolocation lookup service that resolves an IP address to its country.](https://apiant.ai/connections/country)
- [ **Ducks Unlimited** Ducks Unlimited publishes its conservation and chapter geodata through an ArcGIS open-data portal.](https://apiant.ai/connections/ducks-unlimited)

[More in Geocoding](https://apiant.ai/apps/geocoding)

Reviews

## What our customers say

Questions

## CountryStateCity, answered

###

### Is there a CountryStateCity MCP server?

APIANT's MCP server at https://mcp.apiant.ai works with CountryStateCity. Add that address to any AI client that takes a remote MCP server and sign in once in your browser. Your client can then run CountryStateCity actions on demand, or have APIANT build, test and run automations that use CountryStateCity. Nothing to install.

###

### 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.

###

### Can I use CountryStateCity directly from Claude, ChatGPT or Cursor?

Yes. Connect your AI client to APIANT once and it works with CountryStateCity two ways. Ask it to do something in CountryStateCity once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running on its own. A one-off action uses your plan's tasks the same way an automation step does.

###

### Do I need to write code against the CountryStateCity API?

No. APIANT connects to the CountryStateCity API for you, with your CountryStateCity API key. Describe what you want in plain language and your agent builds it on the CountryStateCity triggers and actions in the catalog. If you need an endpoint that is not there yet, your agent reads the CountryStateCity API documentation and adds it.

###

### 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.
