Comprehensive data for every country in the world. Look up population, capital, languages, currencies, flag emoji, and geographic details. Search by name, ISO code, region, spoken language, or currency.
ToolDescriptionsearch_countriesSearch countries by name (partial matches work)get_country_by_codeLookup by ISO 3166-1 alpha-2 (e.g., "US") or alpha-3 (e.g., "USA") codecountries_by_regionList all countries in a region: africa, americas, asia, europe, oceaniacountries_by_languageCountries where a given language is spoken (e.g., "spanish")countries_by_currencyCountries using a given currency (e.g., "eur", "usd")
bash
curl -s -X POST https://gateway.pipeworx.io/countries/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"countries_by_language","arguments":{"language":"arabic"}}}'
Returns each country's name, capital, region, population, and flag emoji.
json
{
"mcpServers": {
"pipeworx-countries": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/countries/mcp"]
}
}
}