# Country State City (npm · @pipeworx/mcp-country-state-city)

CountryStateCity MCP — wraps CountryStateCity API (api.countrystatecity.in/v1)

- Trust score: 84/100 (high trust)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- remote · `gateway.pipeworx.io`: 71/100, [markdown](https://verifymcp.io/servers/pipeworx-io-country-state-city/country-state-city-mcp.md), [page](https://verifymcp.io/servers/pipeworx-io-country-state-city/country-state-city-mcp)
- npm · `@pipeworx/mcp-country-state-city`: 84/100 (this document), [markdown](https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city.md), [page](https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city)

## Channel facts

- Registry: `npm`
- Package: `@pipeworx/mcp-country-state-city`
- Version: `0.2.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-country-state-city).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 4 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 74/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 299 tokens (~99/item across 3 items; 3 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 3 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 4 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Country State City MCP server?

Country State City runs locally as an npm package, launched with npx -y @pipeworx/mcp-country-state-city. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add pipeworx-io-country-state-city -- npx -y @pipeworx/mcp-country-state-city
```

### Cursor

```json
{
  "mcpServers": {
    "pipeworx-io-country-state-city": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-country-state-city"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "pipeworx-io-country-state-city": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-country-state-city"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add pipeworx-io-country-state-city -- npx -y @pipeworx/mcp-country-state-city
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pipeworx-io-country-state-city": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pipeworx/mcp-country-state-city"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add pipeworx-io-country-state-city --command npx --arg -y --arg @pipeworx/mcp-country-state-city
```

### Hermes

```yaml
mcp_servers:
  pipeworx-io-country-state-city:
    command: "npx"
    args: ["-y", "@pipeworx/mcp-country-state-city"]
```

### Netclaw

```json
{
  "McpServers": {
    "pipeworx-io-country-state-city": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@pipeworx/mcp-country-state-city"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add pipeworx-io-country-state-city -t stdio -c npx -a -y @pipeworx/mcp-country-state-city
```

### Other

```json
{
  "mcpServers": {
    "pipeworx-io-country-state-city": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-country-state-city"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-04 (score 84, +1)

No change was recorded against any check on this day. Stability & Change Management went from 17 to 20. That category is still filling its 30-day observation window: 5 days of observed history at the previous scan, 6 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-02 (score 83, +1)

No change was recorded against any check on this day. Stability & Change Management went from 10 to 13. That category is still filling its 30-day observation window: 3 days of observed history at the previous scan, 4 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-01 (score 82, +26)

- [security improvement] Known CVEs: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Dependency health: unverified → pass

### 2026-10-31 (score 56, −25)

- [security regression] Known CVEs: pass → unverified
- [security regression] Malware scan: pass → unverified
- [functional regression] Dependency health: pass → unverified
- [functional] Package version: 0.2.0 → 0.2.1

### 2026-10-29 (score 81)

First indexed and scored.

## MCP tools (3)

### `list_countries` (~55 tokens)

List all countries with ISO codes, capitals, phone codes, currencies, and regions. Returns ~250 countries. Useful for building dropdowns or validating country data.

Input parameters:

- `_apiKey` (string, required): CountryStateCity API key

### `get_states` (~83 tokens)

Get all states or provinces for a country by ISO2 code (e.g., "US", "IN", "BR"). Returns state names, codes, and types.

Input parameters:

- `_apiKey` (string, required): CountryStateCity API key
- `country_code` (string, required): ISO2 country code (e.g., "US", "CA", "GB", "DE")

### `get_cities` (~107 tokens)

Get cities for a country, optionally filtered by state. Pass country_code (e.g., "US") and optionally state_code (e.g., "CA") to narrow results.

Input parameters:

- `_apiKey` (string, required): CountryStateCity API key
- `country_code` (string, required): ISO2 country code (e.g., "US", "IN")
- `state_code` (string): State/province code to filter by (e.g., "CA", "NY", "TX")

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city#diagnostics

## Score history

- 2026-11-05: 84
- 2026-11-04: 84
- 2026-11-03: 83
- 2026-11-02: 83
- 2026-11-01: 82
- 2026-10-31: 56
- 2026-10-30: 81
- 2026-10-29: 81

## Common questions

### What is the Country State City MCP server?

Country State City is an MCP server listed in the public MCP registry as io.github.pipeworx-io/country-state-city. CountryStateCity MCP, wraps CountryStateCity API (api.countrystatecity.in/v1). This page covers its npm package (@pipeworx/mcp-country-state-city).

### Is the Country State City MCP server safe to use?

Country State City scores 84 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Country State City MCP server expose?

Country State City exposes 3 tools: list_countries, get_states, get_cities. Their descriptions and schemas cost roughly 245 tokens of context every time the server is loaded.

### Is the Country State City MCP server still maintained?

Country State City is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Country State City MCP server under?

Country State City declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Country State City MCP server?

VerifyMCP ran 16 checks on Country State City, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@pipeworx/mcp-country-state-city
- Socket report: https://socket.dev/npm/package/@pipeworx/mcp-country-state-city
- Repository: https://github.com/pipeworx-io/mcp-country-state-city
- Website: https://pipeworx.io/packs/country-state-city
- Changelog RSS feed: https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city.xml
- Changelog JSON feed: https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city.json
- HTML version of this page: https://verifymcp.io/servers/pipeworx-io-country-state-city/pipeworx-mcp-country-state-city
