countries
Pack: aviationstack · Endpoint: https://gateway.pipeworx.io/aviationstack/mcp
Country reference with capital city, currency, etc.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
search | string | no | |
country_iso2 | string | no | |
limit | number | no |
Example call
curl -X POST https://gateway.pipeworx.io/aviationstack/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"countries","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
data | array | Array of country objects |
pagination | object | Pagination metadata |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of country objects",
"items": {
"type": "object",
"properties": {
"country_name": {
"type": "string",
"description": "Country name"
},
"country_iso2": {
"type": "string",
"description": "ISO 3166-1 alpha-2 code"
},
"country_iso3": {
"type": "string",
"description": "ISO 3166-1 alpha-3 code"
},
"country_iso_numeric": {
"type": "number",
"description": "ISO 3166-1 numeric code"
},
"capital": {
"type": "string",
"description": "Capital city"
},
"continent": {
"type": "string",
"description": "Continent name"
},
"tld": {
"type": "string",
"description": "Top-level domain"
},
"currency_name": {
"type": "string",
"description": "Currency name"
},
"currency_code": {
"type": "string",
"description": "ISO 4217 currency code"
},
"gmt": {
"type": "string",
"description": "GMT offset"
},
"gmt_offset_seconds": {
"type": "number",
"description": "GMT offset in seconds"
},
"is_eu": {
"type": "boolean",
"description": "Is EU member state"
}
}
}
},
"pagination": {
"type": "object",
"description": "Pagination metadata",
"properties": {
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"count": {
"type": "number"
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aviationstack": {
"url": "https://gateway.pipeworx.io/aviationstack/mcp"
}
}
}
See Getting Started for client-specific install steps.