← countrygenerator.com

INDIVIDUAL MCP TOOL

random_country

Pick a random country, optionally from one continent, with its capital, flag, region, population and languages.

countrygenerator.comnone authenticationAvailability not checked

LIVE ENDPOINT

https://countrygenerator.com/mcp

No auth detected

Connect to this endpoint to inspect the live schema for random_country and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

countrygenerator.com

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.country-generator]
url = "https://countrygenerator.com/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "country-generator": {
      "type": "http",
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: country-generator
Remote MCP URL: https://countrygenerator.com/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "country-generator": {
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "country-generator": {
      "type": "http",
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "country-generator",
  "transport": "streamable-http",
  "url": "https://countrygenerator.com/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • create_quiz — Create geography quiz questions: guess the country from its flag or outline, pick the capital, pick the most populated country, or name a neighbour.
  • check_answer — Check the user's answer to one create_quiz question.
  • get_country — Facts about one country: capital, region, population (World Bank 2024), area, languages, currencies, driving side and neighbours.
  • search_countries — List countries by part of a name or capital, by continent, or landlocked only.
  • compare_population — Rank 2 to 4 countries by population, largest first, with World Bank 2024 figures.
  • get_borders — The countries that share a land border with a country.