API & MCP

Everything a person can do on Cartograph Country Quiz (capitals, flags, shapes, map — printable), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Cartograph Country Quiz (capitals, flags, shapes, map — printable)

Makes a multiple-choice geography quiz for a region or the whole world: capitals, countries of capitals, flags, country shapes, or “find it on the map”. The same seed always gives the same questions, so a class can share one quiz. You get the questions with the answer key, a printable PDF quiz sheet (flag questions print the flag’s written description, map questions print a numbered blank map), and Markdown flashcards for Deckwright Study Cards. It is the quiz engine of the Cartograph app, which also schedules spaced reviews.

Inputs of Cartograph Country Quiz (capitals, flags, shapes, map — printable)
FieldTypeDefaultDescription
kindselect (capital, country, flag, shape, locate)"capital"Quiz
regionselect (world, africa, asia, europe, north-america, south-america, oceania)"europe"Region
countinteger10Questions
choicesinteger4Choices per question
seedtext"atlas"Seed (same seed = same quiz)
paperselect (a4, letter, a3)"a4"Paper for the sheet

Example request

Ten European capitals

curl -X POST https://cartographcountryquiz.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"kind":"capital","region":"europe","count":10,"seed":"europe"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "cartograph-country-quiz": { "type": "http", "url": "https://cartographcountryquiz.usefulweb.site/mcp" }
  }
}