MCP server
Country State City
CountryStateCity MCP — wraps CountryStateCity API (api.countrystatecity.in/v1)
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 0.2.2
- Listing updated
- 4 days ago
About Country State City
Country State City is an open-source MCP server. It can run locally on your machine or as a hosted remote server.
Install
Run in a terminal
claude mcp add --transport http country-state-city https://gateway.pipeworx.io/country-state-city/mcpAdd to Settings → Connectors → Add custom connector
https://gateway.pipeworx.io/country-state-city/mcpInstall in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"country-state-city": {
"url": "https://gateway.pipeworx.io/country-state-city/mcp"
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"country-state-city": {
"type": "http",
"url": "https://gateway.pipeworx.io/country-state-city/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"country-state-city": {
"serverUrl": "https://gateway.pipeworx.io/country-state-city/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"country-state-city": {
"type": "http",
"url": "https://gateway.pipeworx.io/country-state-city/mcp"
}
}
}Configuration
PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.
Pricing
Open source
Prices change. Check pipeworx.io before you buy.
Country State City FAQ
Is Country State City free?
Yes. Country State City is open source, so you can use and self-host it for free.
How do I add Country State City to Claude Code?
Run this command in your terminal: claude mcp add --transport http country-state-city https://gateway.pipeworx.io/country-state-city/mcp