REST Countries

REST Countries MCP Connector for Claude

A+

Access comprehensive global data including country names, capitals, currencies, and languages via the REST Countries API.

12 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your AI agent to the REST Countries database to retrieve instant, accurate information about any nation or territory in the world. This server provides a powerful interface to query geographic, economic, and political data through natural conversation.

What you can do

  • Comprehensive Search — Find countries by common or official names, capital cities, or international codes (ISO 3166-1).
  • Economic & Linguistic Data — Query countries based on the currencies they use or the languages spoken by their citizens.
  • Regional Filtering — Browse nations by continent (Region) or specific subregions to analyze geographic clusters.
  • Demographics & Identity — Search by demonyms (what citizens are called) or check independence status.
  • Localized Results — Search for countries using translated names in various languages.

How it works

  1. Subscribe to this server
  2. Since this is a public API, no specific token is required (enter 'public' if prompted)
  3. Start asking about world geography and country statistics in Claude, Cursor, or any MCP client

Who is this for?

  • Data Analysts — quickly gather country-level metadata for research and reporting
  • Developers — verify ISO codes, currency formats, and language mappings without leaving the IDE
  • Educators & Students — explore global facts and regional statistics through an interactive AI assistant
geographycountry-datademographicsinternational-codescurrency-datarest-api

12 tools expose this connector's capabilities to your AI agent.

get_all_countries

You MUST specify the fields you need (up to 10) to avoid 400 Bad Request. Retrieve information about all countries

search_by_capital

Search by capital city

search_by_code

Search by country code

search_by_codes

Search for multiple countries by their codes

search_by_currency

Search by currency code or name

search_by_demonym

Search by demonym

filter_by_independent

Filter by independence status

search_by_language

Search by language code or name

search_by_name

Search by country name

filter_by_region

g., Africa, Americas, Asia, Europe, Oceania). Filter countries by region

filter_by_subregion

g., Northern Europe, South America). Filter countries by subregion

search_by_translation

Search by translation name

See how to talk to your AI agent using REST Countries.

Search for the country named 'Brazil' and show its capital and population.

I found Brazil! Its capital is Brasília and it has a population of approximately 212 million people. Would you like to see its neighboring countries as well?

List all countries located in the 'South America' subregion.

I've filtered the data for South America. There are 12 independent countries and several territories in this subregion, including Argentina, Brazil, Chile, and Colombia. Do you need details on a specific one?

Which countries use the 'Japanese Yen' as their currency?

The Japanese Yen (JPY) is the official currency of Japan. It is one of the most traded currencies in the world. Would you like to see more economic data for Japan?

Use the `get_all_countries` tool. You must provide a comma-separated list in the `fields` parameter (e.g., 'name,capital,population') to specify exactly which information you want to receive.

Related Connectors