countries_by_currency

Pack: countries · Endpoint: https://gateway.pipeworx.io/countries/mcp

Find countries using a currency (e.g., “EUR” for Euro, “USD” for US Dollar). Returns name, capital, region, and currency details.

Parameters

NameTypeRequiredDescription
currencystringyesCurrency code or name (e.g. “eur”, “usd”, “dollar”)

Example call

Arguments

{
  "currency": "EUR"
}

curl

curl -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_currency","arguments":{"currency":"EUR"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('countries_by_currency', {
  "currency": "EUR"
});

More examples

{
  "currency": "USD"
}

Response shape

Always returns: currency, count, countries

FieldTypeDescription
currencystringCurrency code or name queried
countintegerTotal number of countries using the currency
countriesarrayCountries using the currency sorted by name
Full JSON Schema
{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "Currency code or name queried"
    },
    "count": {
      "type": "integer",
      "description": "Total number of countries using the currency"
    },
    "countries": {
      "type": "array",
      "description": "Countries using the currency sorted by name",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Common country name"
          },
          "capital": {
            "type": "string",
            "description": "Capital city or N/A if not available"
          },
          "region": {
            "type": "string",
            "description": "Geographic region"
          }
        },
        "required": [
          "name",
          "capital",
          "region"
        ]
      }
    }
  },
  "required": [
    "currency",
    "count",
    "countries"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "countries": {
      "url": "https://gateway.pipeworx.io/countries/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026