CountryStateCity Connector for AI agents.
6 live capabilities
Get accurate global geographic data and ISO codes for your apps.
Waiting for input…
Why people use CountryStateCity
CountryStateCity for Accurate Geographic Data Validation
With this Connector, you just ask. Your agent pulls the data directly from a verified source, putting the right codes and coordinates in your project instantly.
What Vinkius changes
You get accurate geographic data for your app without the manual research.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Populating a multi-region signup form
A developer needs a list of countries for a signup form.
- Real-world use case 02
Validating shipping zones for a state
A logistics lead needs to see all cities in New York.
- Real-world use case 03
Cleaning up messy address data
An analyst has a list of California and needs to know it's a state in the US.
Complete set · 6capabilities
The complete CountryStateCity capability set.
These are the exact actions your AI can choose when you ask it to work with CountryStateCity.
01—03
3 capabilities in this set.
Part of 6 available through CountryStateCity.
- 01 Capability
Get state
Get detailed information for a specific state or province. This provides the necessary context for regional data points.
- 02 Capability
List cities by state
Pull a complete list of cities for a given state. It's great for populating local search results or delivery zones.
- 03 Capability
List countries
Get a full list of all countries with their ISO codes, phone codes, and emojis. This helps you build accurate country selection menus.
04—06
3 capabilities in this set.
Part of 6 available through CountryStateCity.
- 04 Capability
List states
Retrieve every state or province within a specific country. Use this to map out regional divisions for any nation.
- 05 Capability
List cities by country
List every city in a country. This capability is perfect for high-level geographic mapping on the Supporter+ tier.
- 06 Capability
Get country
Fetch specific details like coordinates and currency for a single country. Use it to get precise location metadata for your database.
Set up in minutes
One URL. Then ask CountryStateCity to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use CountryStateCity from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it CountryStateCity, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable CountryStateCity for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the CountryStateCity URL.
- Step 03
Save and start
Save the connection and enable CountryStateCity in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"countrystatecity": {
"url": "https://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using CountryStateCity
Open Agent mode in chat and ask: "Using CountryStateCity, help me...". 6 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"countrystatecity": {
"url": "https://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using CountryStateCity
Ask Copilot: "Using CountryStateCity, help me...". 6 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"countrystatecity": {
"url": "https://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using CountryStateCity
Open Cascade and ask: "Using CountryStateCity, help me...". 6 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"countrystatecity": {
"url": "https://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using CountryStateCity
Ask Cline: "Using CountryStateCity, help me...". 6 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add countrystatecity --transport http "https://edge.vinkius.com/vk_preview_84Tzke4E2WhwikYMpRcFHGTsTtK4ZRJ3G2gMigKE/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using CountryStateCity
Ask Claude: "Using CountryStateCity, show me...". 6 tools are ready
Where the request belongs
Work CountryStateCity can move forward.
This is for the developer who's tired of manually mapping ISO codes or the logistics manager trying to validate shipping zones without a headache.
Backend Developer
Building a multi-region app and needing to populate dropdowns with real country and state data.
Data Analyst
Cleaning up a messy CSV of addresses and needing to verify which city belongs to which province.
E-commerce Manager
Setting up shipping zones and needing to map out every city in a specific country for delivery.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsZippopotam.us
Free geocoding and postal code lookup. retrieve city, state, and coordinates for any zip code or find postal codes by city.
Smarty
Equip your AI with enterprise-grade location intelligence to validate, autocomplete, and extract US or International addresses instantly.
OpenCage
Geocode addresses and reverse-geocode coordinates via OpenCage. convert locations to lat/lng and back with country, language, and privacy filters from any AI agent.
Geocodio
Empower geocoding via Geocodio. perform batch geocoding and reverse geocoding for US/Canada, and retrieve Census and legislative data directly from any AI agent.
ZIP Codes API
Manage ZIP code data. audit locations, distances, and regions via AI.
REST Countries
Manage your global research. audit country records, currencies, and languages via AI.
Bring your own AI
Change the model, client or framework. Keep CountryStateCity connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about CountryStateCity.
The practical details behind the request, access and result.
Does CountryStateCity MCP provide ISO codes?
Yes, it provides ISO2 and ISO3 codes for countries. This helps you build accurate database entries without manual research.
Can I use CountryStateCity MCP to get coordinates?
Yes, it provides latitude and longitude. You can use this to plot locations on a map or store them in your database.
Does CountryStateCity MCP work for all countries?
Yes, it is a global database. It covers countries, states, and cities worldwide for your projects.
Can CountryStateCity MCP list cities by state?
Yes, it has a specific capability for that. This makes it easy to build regional navigation or shipping lists.
Is CountryStateCity MCP good for shipping apps?
Yes, it helps map regions. You can verify which cities belong to which states to define your delivery zones.
How do I get city data with CountryStateCity MCP?
You can use the city listing capabilities to pull data for a specific state or country. This ensures your app has the correct regional details.
How can I list all cities within a specific state or province?
Use the list_cities_by_state capability by providing the Country ISO2 code (e.g., 'US') and the State ISO2 code (e.g., 'NY'). The agent will return a list of all cities registered in that region.
Can I get detailed metadata like emojis and phone codes for a country?
Yes! The get_country capability allows you to fetch full details for a specific country using its ISO2 code. You can also use list_countries with the fields parameter to include 'emoji' or 'phonecode' in the results.
Is there a limit when listing all cities in a country?
The list_cities_by_country capability requires a Supporter+ tier API key from CountryStateCity. For standard users, it is recommended to use list_cities_by_state to query cities in smaller administrative batches.
One connection away
Give your agent a direct line to CountryStateCity.
Connect CountryStateCity once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available