Koskamo

Country Generator MCP

This MCP server provides access to the Country Generator platform, allowing AI agents to retrieve detailed geographic data for any country, including capitals, population, area, languages, currencies, and neighboring countries, as well as facilitating geography-based interactions.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Country Generator MCP logo, by Country GeneratorVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Country Generator
MCP endpoint (Streamable HTTP)
https://countrygenerator.com/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

7 of 7 have a description · 7 of 7 declare behavior hints · 7 of 7 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to countrygenerator.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Retrieve country details like capital and population
  • Identify neighboring countries for a given nation
  • Access geographic data for research projects
  • Support classroom geography activities

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
Country Generator 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
7 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
1 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Geography quizzes and country facts from countrygenerator.com, in English, German, Spanish, French, Portuguese, Japanese and Italian. For a quiz: call create_quiz, ask the user one question at a time, and send each answer to check_answer with the question's ticket. Never guess or reveal the answer before check_answer: the ticket hides it on purpose. Show an image_url when your client can display images. Share a play_url once, at the end of a quiz or when the user asks where to play. Do not add it to every message.

Tools

7 advertised

create_quiz — Create a geography quiz
Advertised by the server during the last successful anonymous check.
Advertised read-only

Create geography quiz questions: guess the country from its flag or outline, pick the capital, pick the most populated country, or name a neighbour. Ask the user one question at a time, then pass the user's answer and the question's ticket to check_answer. Do not guess the answer yourself, and do not reveal it before check_answer.

create_quiz input schema
{
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "enum": [
        "flag",
        "capital",
        "shape",
        "population",
        "borders"
      ],
      "type": "string",
      "description": "flag: name the country from its flag. capital: pick the capital. shape: name the country from its outline. population: pick the most populated of four. borders: name a neighbouring country."
    },
    "count": {
      "type": "integer",
      "default": 10,
      "maximum": 20,
      "minimum": 1,
      "description": "How many questions to create."
    },
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "region": {
      "enum": [
        "Africa",
        "Americas",
        "Asia",
        "Europe",
        "Oceania"
      ],
      "type": "string",
      "description": "Limit to one continent."
    },
    "difficulty": {
      "enum": [
        "easy",
        "medium",
        "hard"
      ],
      "type": "string",
      "default": "medium",
      "description": "easy: well-known countries. hard: lesser-known countries, wrong options from the same area, look-alike flags."
    }
  }
}
create_quiz output schema
{
  "type": "object",
  "required": [
    "type",
    "difficulty",
    "lives",
    "how_to_play",
    "questions",
    "play_url"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The quiz type that was asked for."
    },
    "lives": {
      "type": "integer",
      "description": "Wrong answers that end the run."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    },
    "questions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "number",
          "prompt",
          "options",
          "ticket"
        ],
        "properties": {
          "number": {
            "type": "integer"
          },
          "prompt": {
            "type": "string"
          },
          "ticket": {
            "type": "string",
            "description": "Send this to check_answer. It hides the answer."
          },
          "options": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "letter",
                "text"
              ],
              "properties": {
                "text": {
                  "type": "string"
                },
                "letter": {
                  "type": "string"
                }
              }
            },
            "description": "Empty for a borders question, which is free text."
          },
          "image_url": {
            "type": "string",
            "description": "The flag or outline to show, on flag and shape questions."
          }
        }
      },
      "description": "The questions, in order."
    },
    "difficulty": {
      "type": "string",
      "description": "The difficulty that was used."
    },
    "how_to_play": {
      "type": "string",
      "description": "How to run the quiz with the user."
    }
  }
}
create_quiz annotations
{
  "title": "Create a geography quiz",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
check_answer — Check a quiz answer
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check the user's answer to one create_quiz question. Pass the question's ticket, the user's answer exactly as given (a letter, a name or a code), and the score_ticket from the previous check_answer, if there was one. Returns whether it was correct, the right answer, facts to share in the user's language, and the new score.

check_answer input schema
{
  "type": "object",
  "required": [
    "ticket",
    "answer"
  ],
  "properties": {
    "answer": {
      "type": "string",
      "description": "The user's answer as given: an option letter, a name, or a code."
    },
    "ticket": {
      "type": "string",
      "description": "The ticket of the question being answered."
    },
    "score_ticket": {
      "type": "string",
      "description": "The score_ticket from the previous check_answer. Leave out for the first question."
    }
  }
}
check_answer output schema
{
  "type": "object",
  "required": [
    "correct",
    "correct_answer",
    "about",
    "score",
    "game_over",
    "score_ticket"
  ],
  "properties": {
    "about": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "capital": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "subregion": {
          "type": "string"
        },
        "neighbours": {
          "type": "integer"
        },
        "populations": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "country",
              "population"
            ],
            "properties": {
              "country": {
                "type": "string"
              },
              "population": {
                "type": "integer"
              }
            }
          }
        }
      },
      "description": "Facts to share. A population question has populations and source; the others have country facts."
    },
    "score": {
      "type": "object",
      "required": [
        "correct",
        "answered",
        "lives_left"
      ],
      "properties": {
        "correct": {
          "type": "integer"
        },
        "answered": {
          "type": "integer"
        },
        "lives_left": {
          "type": "integer"
        }
      },
      "description": "The running score."
    },
    "correct": {
      "type": "boolean",
      "description": "Whether the answer was right."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    },
    "game_over": {
      "type": "boolean",
      "description": "True after the last life is lost."
    },
    "score_ticket": {
      "type": "string",
      "description": "Send this with the next check_answer."
    },
    "correct_answer": {
      "type": "string",
      "description": "The right answer in the quiz language."
    }
  }
}
check_answer annotations
{
  "title": "Check a quiz answer",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
random_country — Random country
Advertised by the server during the last successful anonymous check.
Advertised read-only

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

random_country input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "region": {
      "enum": [
        "Africa",
        "Americas",
        "Asia",
        "Europe",
        "Oceania"
      ],
      "type": "string",
      "description": "Limit to one continent."
    }
  }
}
random_country output schema
{
  "type": "object",
  "required": [
    "country",
    "play_url"
  ],
  "properties": {
    "country": {
      "type": "object",
      "required": [
        "name",
        "code",
        "flag_url",
        "capital",
        "region",
        "subregion",
        "population",
        "population_source",
        "area_km2",
        "languages",
        "currencies",
        "calling_code",
        "driving_side",
        "landlocked",
        "borders"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Two-letter ISO code."
        },
        "name": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "borders": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Names of the neighbouring countries."
        },
        "capital": {
          "type": [
            "string",
            "null"
          ]
        },
        "area_km2": {
          "type": [
            "number",
            "null"
          ]
        },
        "flag_url": {
          "type": "string"
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "subregion": {
          "type": "string"
        },
        "currencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "ISO currency codes."
        },
        "landlocked": {
          "type": "boolean"
        },
        "population": {
          "type": [
            "integer",
            "null"
          ]
        },
        "calling_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "driving_side": {
          "type": [
            "string",
            "null"
          ]
        },
        "population_source": {
          "type": [
            "string",
            "null"
          ],
          "description": "Null when the figure is an earlier estimate."
        }
      },
      "description": "Facts about one country."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    }
  }
}
random_country annotations
{
  "title": "Random country",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
get_country — Country facts
Advertised by the server during the last successful anonymous check.
Advertised read-only

Facts about one country: capital, region, population (World Bank 2024), area, languages, currencies, driving side and neighbours. Accepts a name in English, German, Spanish, French, Portuguese, Japanese or Italian, or an ISO code.

get_country input schema
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "country": {
      "type": "string",
      "description": "Country name in any supported language, or an ISO code such as DE or DEU."
    }
  }
}
get_country output schema
{
  "type": "object",
  "required": [
    "country",
    "play_url"
  ],
  "properties": {
    "country": {
      "type": "object",
      "required": [
        "name",
        "code",
        "flag_url",
        "capital",
        "region",
        "subregion",
        "population",
        "population_source",
        "area_km2",
        "languages",
        "currencies",
        "calling_code",
        "driving_side",
        "landlocked",
        "borders"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Two-letter ISO code."
        },
        "name": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "borders": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Names of the neighbouring countries."
        },
        "capital": {
          "type": [
            "string",
            "null"
          ]
        },
        "area_km2": {
          "type": [
            "number",
            "null"
          ]
        },
        "flag_url": {
          "type": "string"
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "subregion": {
          "type": "string"
        },
        "currencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "ISO currency codes."
        },
        "landlocked": {
          "type": "boolean"
        },
        "population": {
          "type": [
            "integer",
            "null"
          ]
        },
        "calling_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "driving_side": {
          "type": [
            "string",
            "null"
          ]
        },
        "population_source": {
          "type": [
            "string",
            "null"
          ],
          "description": "Null when the figure is an earlier estimate."
        }
      },
      "description": "Facts about one country."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    }
  }
}
get_country annotations
{
  "title": "Country facts",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
search_countries — Search countries
Advertised by the server during the last successful anonymous check.
Advertised read-only

List countries by part of a name or capital, by continent, or landlocked only. Returns names, codes and capitals; call get_country for the full facts.

search_countries input schema
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 20,
      "minimum": 1,
      "description": "The most countries to return."
    },
    "query": {
      "type": "string",
      "description": "Part of a country or capital name."
    },
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "region": {
      "enum": [
        "Africa",
        "Americas",
        "Asia",
        "Europe",
        "Oceania"
      ],
      "type": "string",
      "description": "Limit to one continent."
    },
    "landlocked": {
      "type": "boolean",
      "description": "Only countries without a coastline."
    }
  }
}
search_countries output schema
{
  "type": "object",
  "required": [
    "total",
    "countries"
  ],
  "properties": {
    "total": {
      "type": "integer",
      "description": "All matches, also those past the limit."
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "code",
          "capital",
          "region"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "capital": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "description": "The matches, by name, up to the limit."
    }
  }
}
search_countries annotations
{
  "title": "Search countries",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
compare_population — Compare populations
Advertised by the server during the last successful anonymous check.
Advertised read-only

Rank 2 to 4 countries by population, largest first, with World Bank 2024 figures.

compare_population input schema
{
  "type": "object",
  "required": [
    "countries"
  ],
  "properties": {
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 2,
      "description": "2 to 4 country names or ISO codes."
    }
  }
}
compare_population output schema
{
  "type": "object",
  "required": [
    "ranking",
    "source",
    "play_url"
  ],
  "properties": {
    "source": {
      "type": "string",
      "description": "Where the figures come from."
    },
    "ranking": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rank",
          "name",
          "code",
          "population"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rank": {
            "type": "integer"
          },
          "population": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      },
      "description": "The countries, largest population first."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    }
  }
}
compare_population annotations
{
  "title": "Compare populations",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
get_borders — Neighbouring countries
Advertised by the server during the last successful anonymous check.
Advertised read-only

The countries that share a land border with a country. An island nation returns an empty list.

get_borders input schema
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "locale": {
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "pt",
        "ja",
        "it"
      ],
      "type": "string",
      "default": "en",
      "description": "Language for names, capitals and links."
    },
    "country": {
      "type": "string",
      "description": "Country name in any supported language, or an ISO code."
    }
  }
}
get_borders output schema
{
  "type": "object",
  "required": [
    "country",
    "code",
    "neighbours",
    "play_url"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Its two-letter ISO code."
    },
    "country": {
      "type": "string",
      "description": "The country that was asked for."
    },
    "play_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "A page on the site to play. Share it once."
    },
    "neighbours": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "description": "Empty for an island nation."
    }
  }
}
get_borders annotations
{
  "title": "Neighbouring countries",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

1 advertised

quiz_me — Quiz me

Advertised by the server during the last successful anonymous check.

Start a geography quiz: flags, capitals, country outlines, populations or neighbours.

topic
flag, capital, shape, population or borders
region
Africa, Americas, Asia, Europe or Oceania
count
Number of questions, 1 to 20

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (53 of 53 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 4 of 4 checks answered
  15. 2026-11-28: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
3002 ms
95th percentile latency
3879 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1716 ms · 7 tool(s), 0 resource(s), 0 resource template(s), 1 prompt(s)
  • · probe · passed · 3937 ms · 7 tool(s), 0 resource(s), 0 resource template(s), 1 prompt(s)
  • · probe · passed · 3353 ms · metadata changed · 7 tool(s), 0 resource(s), 0 resource template(s), 1 prompt(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http country-generator-mcp https://countrygenerator.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add country-generator-mcp --url https://countrygenerator.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable country-generator-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "country-generator-mcp": {
      "url": "https://countrygenerator.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "country-generator-mcp": {
      "type": "streamableHttp",
      "url": "https://countrygenerator.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start country-generator-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "country-generator-mcp": {
      "type": "http",
      "url": "https://countrygenerator.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http country-generator-mcp https://countrygenerator.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://countrygenerator.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "country-generator-mcp": {
      "serverUrl": "https://countrygenerator.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Country Generator MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Country Generator MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing