Be the first to get access to new connectors. Get early access →
ConnectorBay Early access
Discover
Country State City (BYOK) icon

Country State City (BYOK)

Look up countries, states, cities, postcodes and timezones from the Country State City geographic dataset with your own API key

Unify Dynamics LLC

Tools10read-only
Sign-inBYOKbring your own key
Key keptNeverused for one call only
PriceFreeoptional Pro limits
ProviderCountry State Cityunofficial, not affiliated
Works withMCP · RESTany agent

Try asking

Real questions, and the tools your agent calls to answer them.

Which countries have 'land' in their name?
Tools called
list_countries
What is the capital, currency and dial code of India?
Tools called
get_country
List the states of India
Tools called
list_states
Give me details of the state MH in India
Tools called
get_state
Which cities in Maharashtra start with 'pun'?
Tools called
list_cities_in_state
Find cities named Springfield in the United States
Tools called
list_cities_in_country

About

Country State City (BYOK) lets an AI assistant read your own Country State City data through the Country State City API with a key you supply (Country State City API key). Read-only: 10 tools (list_countries, get_country, list_states, get_state, list_cities_in_state, list_cities_in_country, get_postcode, get_country_timezone, get_state_timezone, get_data_version). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.countrystatecity.in. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Country State City. Country State City and its logos are trademarks of their owners and are used only to say which service the connector works with.

Sources: Live from the Country State City API (api.countrystatecity.in) with a BYOK key; documentation: https://docs.countrystatecity.in/. Endpoints checked against that documentation on 2026-10-16.

Privacy

The publisher, Unify Dynamics LLC, states that tool inputs are processed in memory and not retained.

Data not collectedNo account, no profile, no stored prompts or results.

What it can do

10 tools, grouped by job. Every one is read-only or compute-only.

OpenAPI
Read your data10 tools
  • List countriesList all countries with ISO codes, phone code, capital, currency, region and coordinates; optionally filter by a name search.
  • Get countryGet one country by ISO2 code: codes, capital, currency, native name, region, subregion, coordinates and its timezone list.
  • List statesList the states, provinces or regions of a country with their codes and coordinates; optionally filter by name.
  • Get stateGet one state or province by country and state code: name, code, coordinates and timezone.
  • List cities in stateList the cities of one state, optionally filtered by name or kind.
  • List cities in countryList all cities of a country (Starter plan or above), optionally filtered by name or kind.
  • Get postcodeCheck a postcode within a country and list every matching locality record (code, locality name, state code, type).
  • Get country timezoneGet the main IANA timezone of a country (its capital's zone), with UTC offsets and whether daylight saving applies right now.
  • Get state timezoneGet the IANA timezone of a state or province, with UTC offsets and current daylight saving status.
  • Get data versionShow which release of the geographic dataset the API serves, when it was imported and how many regions, countries, states and cities it holds.

Information

PublisherUnify Dynamics LLC
CategoryTravel & transport
LanguagesEnglish
Built forWorldwide
CompatibilityAny MCP client · any agent · REST
Version0.1.0
MCP endpointhttps://byok-countrystatecity.connectorbay.com/mcp
REST APIopenapi.json
SupportGet help · Status
CountryWorldwide
FunctionOther
LayerDeep connectors

Connect it to your agent

Three ways in, the same 10 tools.

MCP (Claude, Cursor, Windsurf, VS Code, any MCP client)https://byok-countrystatecity.connectorbay.com/mcp
RESTPOST https://byok-countrystatecity.connectorbay.com/v1/tools/<tool>
OpenAI function callinghttps://connectorbay.com/openai/byok-countrystatecity.json
OpenAI-compatible chathttps://connectorbay.com/v1/chat/completions · how it works
  • Add the MCP URL in your client's connector, MCP or integration settings (streamable HTTP, no OAuth).
  • Key: send your Country State City API key in the X-Upstream-Key header (get one at app.countrystatecity.in).
  • Ask a question; the agent picks the right tool and answers from the live data.

Country State City connector: questions and answers

What is the Country State City connector?

Country State City (BYOK) lets an AI assistant read your own Country State City data through the Country State City API with a key you supply… It is a hosted MCP server with 10 tools such as List countries, Get country, List states, Get state, List cities in state, List cities in country, published by Unify Dynamics LLC. It is independent and not affiliated with Country State City.

How do I connect Country State City to Claude, ChatGPT or Cursor?

Add the MCP endpoint https://byok-countrystatecity.connectorbay.com/mcp to your client's MCP, connector or integration settings (streamable HTTP, no OAuth). For REST, POST JSON to https://byok-countrystatecity.connectorbay.com/v1/tools/<tool>; the OpenAPI description is at /openapi.json. For OpenAI function calling, load https://connectorbay.com/openai/byok-countrystatecity.json.

Do I need a Country State City account or API key?

Yes: this is a bring-your-own-key connector. Create a Country State City API key at https://app.countrystatecity.in/ and send it in the X-Upstream-Key header. ConnectorBay uses it for that one call only and never stores, logs or caches it.

Is Country State City read-only?

Yes. Every tool reads or computes. Nothing is created, changed, sent, paid or deleted in your account.

Is the Country State City connector free?

Yes. It is free to use within the published rate limits; an optional Pro key raises them. There is no account to create.

More like this

More in Other

Booking Demand (BYOK)

Search Booking.com accommodations by city or coordinates, check availability and prices, read property details, reviews and location lists with your affiliate credentials

Live · MCP + REST9 tools

Bring (BYOK)

Look up Bring and Posten pickup points, parcel lockers, postal codes and mailbox delivery dates in the Nordic countries with your own Mybring API key

Live · MCP + REST8 tools

CarsXE (BYOK)

Decode VINs and US or international plates, and read vehicle specs, recalls, market value, year-make-model data and images with your own CarsXE key

Live · MCP + REST11 tools

Cartrack (BYOK)

Read your Cartrack fleet: vehicles, live status, trips, odometer, fuel fills, events, geofences, reminders and EV charge level with your own Fleet API credentials

Live · MCP + REST12 tools

Car Vector (BYOK)

Search vehicle specs and read federal recalls, owner complaints, service bulletins, investigations and trouble codes with your own CarVector key

Live · MCP + REST8 tools

Channex (BYOK)

Read your Channex channel manager properties, room types, rate plans, availability, rates, bookings and guest reviews with your own API key

Live · MCP + REST9 tools

Documentation

Back to top

Country State City (BYOK) — connector documentation

  • MCP endpoint: https://byok-countrystatecity.connectorbay.com/mcp
  • REST API: POST https://byok-countrystatecity.connectorbay.com/v1/tools/{tool_name}, described by the OpenAPI 3.1 spec at https://byok-countrystatecity.connectorbay.com/openapi.json
  • Transport: Streamable HTTP, stateless, MCP specification 2025-06-18 or later
  • Authentication: your own Country State City Country State City API key, sent in the X-Upstream-Key header of every request (never stored, logged or cached)
  • Health: https://byok-countrystatecity.connectorbay.com/health · Tool schemas: https://byok-countrystatecity.connectorbay.com/tools.json
  • Publisher: Unify Dynamics LLC · connectorbay.com/byok-countrystatecity · agent@connectorbay.com

What Country State City (BYOK) is for

Country State City (BYOK) lets an AI assistant read your own Country State City data through the Country State City API with a key you supply (Country State City API key). Read-only: 10 tools (list_countries, get_country, list_states, get_state, list_cities_in_state, list_cities_in_country, get_postcode, get_country_timezone, get_state_timezone, get_data_version). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.countrystatecity.in. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Country State City. Country State City and its logos are trademarks of their owners and are used only to say which service the connector works with.

Ask your assistant things like:

  • "Which countries have 'land' in their name?"
  • "What is the capital, currency and dial code of India?"
  • "List the states of India"
  • "Give me details of the state MH in India"
  • "Which cities in Maharashtra start with 'pun'?"
  • "Find cities named Springfield in the United States"

What it does

  • list_countries: List all countries with ISO codes, phone code, capital, currency, region and coordinates; optionally filter by a name search. Available on every plan.
  • get_country: Get one country by ISO2 code: codes, capital, currency, native name, region, subregion, coordinates and its timezone list.
  • list_states: List the states, provinces or regions of a country with their codes and coordinates; optionally filter by name.
  • get_state: Get one state or province by country and state code: name, code, coordinates and timezone.
  • list_cities_in_state: List the cities of one state, optionally filtered by name or kind. Basic plans return id, name and kind; higher plans add coordinates and timezone.
  • list_cities_in_country: List all cities of a country (Starter plan or above), optionally filtered by name or kind. Large countries return thousands of rows, so search by name.
  • get_postcode: Check a postcode within a country and list every matching locality record (code, locality name, state code, type). An empty match is a 404.
  • get_country_timezone: Get the main IANA timezone of a country (its capital's zone), with UTC offsets and whether daylight saving applies right now.
  • get_state_timezone: Get the IANA timezone of a state or province, with UTC offsets and current daylight saving status. Useful for countries with several zones.
  • get_data_version: Show which release of the geographic dataset the API serves, when it was imported and how many regions, countries, states and cities it holds.

BYOK key

You bring your own Country State City Country State City API key (https://app.countrystatecity.in/). Your assistant sends it in the X-Upstream-Key header with each request. ConnectorBay uses it for that one call only: it is never stored, logged or cached, never shown in an answer, and it is only sent to api.countrystatecity.in over https, with no redirects followed. Create a key with the fewest permissions the tools need (read-only if the provider offers it), and revoke it at the provider whenever you like.

Notices

Data by Countries States Cities Database (github.com/dr5hn/countries-states-cities-database), ODbL v1.0.

Data sources

Live from the Country State City API (api.countrystatecity.in) with a BYOK key; documentation: https://docs.countrystatecity.in/. Endpoints checked against that documentation on 2026-10-16.

What it is not

Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Country State City. Country State City and its logos are trademarks of their owners and are used only to say which service the connector works with. It is read-only: it never creates, changes, sends or deletes anything in your Country State City account.

Built for: Worldwide. Languages: English.

Privacy policy

Back to top

Country State City (BYOK) — Privacy Policy

Effective 24 October 2026. Unify Dynamics LLC ("we", "us"), Menlo Park, California.

What Country State City (BYOK) is. Country State City (BYOK) is a connector (an MCP server and REST API) that an AI assistant calls on your behalf to read your own Country State City data: Look up countries, states, cities, postcodes and timezones from the Country State City geographic dataset with your own API key. You bring your own Country State City Country State City API key; the assistant sends it to us with each request.

BYOK key. The key you supply is used to make the one Country State City call you asked for. Our application does not store it, write it to a log, put it in a cache, or share it. It is sent only to api.countrystatecity.in, over https, and is removed from any text we return to you or your assistant. We do not follow redirects with your key. If Country State City rejects it, we say so without repeating it.

What we receive. The arguments of each tool call, the BYOK key (for that call only), the technical headers needed to serve the request (an IP address or a client identifier supplied by the assistant) and standard server logs. What Country State City receives. The request we make on your behalf, including the key and the arguments, under Country State City's own terms and privacy policy. Country State City acts at your direction and is the only recipient of the data of your request besides our hosting provider.

What we return. The answer Country State City gives for your request, trimmed to the fields the tool documents. We do not keep it: it is returned to your assistant and not stored, cached or used to train anything.

What we do not do. We do not build a profile, sell or share personal information, or keep your Country State City data. Rate-limit counters (a client identifier and timestamps) are held in memory for at most 24 hours. Hosting access logs (IP addresses, request paths and status codes) are kept for up to 30 days for security and abuse prevention; our application adds no request headers or bodies to them.

Sub-processors. Country State City (the API you call with a BYOK key, at your direction). Hosting: Vercel (United States regions).

Your rights. Because we store no personal data beyond short-lived logs, requests to access, correct or delete data are usually satisfied automatically; you can still contact agent@connectorbay.com and we will respond within 30 days. Revoke your key at Country State City at any time to end all access.

Children. Country State City (BYOK) is a general-audience service operated by the adult using the assistant, under Country State City's own age rules.

Changes. We will post changes here with a new effective date.

Terms of service

Back to top

Country State City (BYOK) — Terms of Service

Effective 24 October 2026. These terms govern use of the Country State City (BYOK) connector ("the Service") operated by Unify Dynamics LLC ("we", "us").

  1. The Service. Country State City (BYOK) provides: Look up countries, states, cities, postcodes and timezones from the Country State City geographic dataset with your own API key. It is accessed through an AI assistant or directly over MCP or HTTP, and is read-only.
  2. Your own key, your own account. You must use your own Country State City credentials and only access data you are allowed to access. Country State City's terms apply to your use of Country State City; you are responsible for complying with them, including any rate limits and permitted uses. Do not share a key you do not own.
  3. Independent. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Country State City. Country State City and its logos are trademarks of their owners and are used only to say which service the connector works with.
  4. No advice, no guarantees. Output is the data Country State City returns, lightly trimmed; it may be incomplete, delayed or changed by Country State City. Check important facts at the source.
  5. Read-only. The Service does not create, change, send or delete anything in your Country State City account.
  6. Acceptable use. Automated use within the published rate limits is welcome. Do not use the Service to access data you are not entitled to, to circumvent Country State City's controls, or to attack any system.
  7. Availability. The Service is provided "as is" without warranty. We may change, limit or discontinue it at any time; Country State City may change or end its API at any time.
  8. Data. Our Privacy Policy describes what we process. In short: the BYOK key is used for the one call and not stored or logged.
  9. Pro keys. Optional ConnectorBay Pro API keys are issued at our discretion and are separate from your Country State City key.
  10. Liability. To the fullest extent permitted by law, Unify Dynamics LLC is not liable for any loss arising from use of or reliance on the Service, including any action Country State City takes on your account. Our total liability is limited to US $100.
  11. Governing law. California law; venue in San Mateo County, California.
  12. Contact. Unify Dynamics LLC · agent@connectorbay.com · https://connectorbay.com/byok-countrystatecity

Country State City (BYOK) support

Email agent@connectorbay.com. We answer within two business days.

When you report a problem, include the question you asked your agent, roughly when, and which agent you used (for example Claude, ChatGPT or Gemini). Never send us passwords, account numbers or ID numbers. Country State City (BYOK) never asks for them.

Get Country State City (BYOK)

Free · BYOK · Read-only

BYOK: bring your own keyThis connector uses your own Country State City Country State City API key. Create one at https://app.countrystatecity.in/, with the fewest permissions it needs (read-only if the provider offers it). Your assistant sends it in the X-Upstream-Key header with every request. It is used for that one call only: never stored, logged or cached, and only ever sent to Country State City. Revoke it at the provider whenever you like. Unofficial connector: not affiliated with Country State City.