How to Use the CountryStateCity MCP in Cursor
Generate accurate database seed files with real ISO codes inside Cursor using live geographic tools.
Works with every AI agent you already use
…and any MCP-compatible client
Connect CountryStateCity MCP to Cursor
Create your Vinkius account to connect CountryStateCity to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Seed databases with real ISO codes in Cursor
The `list_countries` tool lets your editor fetch valid country profiles while you write backend migrations. Your agent calls this MCP Server to replace hardcoded placeholders with accurate, real-world regional standards. When you need deeper specifications, `get_country` pulls the exact ISO metadata directly into your active file. This keeps your schema definitions clean and correct from the start.
Extract state and province boundaries instantly
The `list_states` tool retrieves every state or province for a target country directly inside your Cursor composer. Your agent writes the frontend dropdown components using actual regional names instead of dummy arrays. Pair this with `get_state` to pull specific regional keys. It takes the guesswork out of building address validation forms in your code.
Populate city lists without manual scraping
The `list_cities_by_state` tool gives your Cursor agent immediate access to municipal data. If you need a broader dataset, `list_cities_by_country` pulls every city in a nation, which requires a Supporter+ tier. Your agent uses these tools to write integration tests with actual municipal names. You get working code that runs against real geographic structures on the first try.
Set up CountryStateCity MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the CountryStateCity MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent CountryStateCity transactions." If the MCP tools are loaded correctly, Cursor will call the CountryStateCity tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"countrystatecity-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by CountryStateCity. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about CountryStateCity MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the CountryStateCity MCP today
We host it, we monitor it, we maintain it. You just paste one token.