Skip to content
Eden Engine

World Cities: Autocomplete by Prefix

geomelonautocomplete/autocomplete-place

Returns up to 10 cities in the chosen country whose name starts with the prefix, largest first, with the name in the chosen language and an English name when it differs. Each city carries its id, name, population and flag emoji. A prefix with no match, or a country and language pair the service does not hold, is refused as a validation error rather than returned as an empty list. City data from the Geomelon city autocomplete API. Passed through unmodified and served by Eden Engine; not an official Geomelon product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Geomelon

City data from the Geomelon city autocomplete API. Passed through unmodified and served by Eden Engine; not an official Geomelon product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "geomelonautocomplete/autocomplete-place" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "geomelonautocomplete/autocomplete-place" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "geomelonautocomplete/autocomplete-place", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "geomelonautocomplete/autocomplete-place", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 25, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "country",
    "lang",
    "prefix"
  ],
  "properties": {
    "lang": {
      "enum": [
        "af",
        "ar",
        "az",
        "bg",
        "bn",
        "ca",
        "cs",
        "da",
        "de",
        "el",
        "en",
        "es",
        "et",
        "eu",
        "fa",
        "fi",
        "fr",
        "gl",
        "he",
        "hi",
        "hr",
        "hu",
        "hy",
        "id",
        "it",
        "ja",
        "ka",
        "kk",
        "ko",
        "lt",
        "lv",
        "mn",
        "ms",
        "nb",
        "nl",
        "pl",
        "pt",
        "ro",
        "ru",
        "sk",
        "sl",
        "sq",
        "sr",
        "sv",
        "th",
        "tr",
        "uk",
        "uz",
        "vi",
        "zh"
      ],
      "type": "string",
      "description": "Language of the search index and of the returned names (en, fr, de, ja, ...). A country and language pair the service does not hold is answered as no match; en is held for almost every country."
    },
    "prefix": {
      "type": "string",
      "pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} .'-]{0,59}$",
      "description": "The first letters of the city name, 1 to 60 characters: letters, digits, spaces and . ' - only, starting with a letter or digit. Dots and apostrophes are ignored by the service (st. finds St. Louis)."
    },
    "country": {
      "enum": [
        "af",
        "al",
        "dz",
        "ad",
        "ao",
        "ag",
        "ar",
        "am",
        "aw",
        "au",
        "at",
        "az",
        "bh",
        "bd",
        "bb",
        "by",
        "be",
        "bz",
        "bj",
        "bt",
        "bo",
        "ba",
        "bw",
        "br",
        "bn",
        "bg",
        "bf",
        "bi",
        "kh",
        "cm",
        "ca",
        "cv",
        "cf",
        "td",
        "cl",
        "cn",
        "co",
        "km",
        "ck",
        "cr",
        "hr",
        "cu",
        "cw",
        "cy",
        "cz",
        "cd",
        "dk",
        "dj",
        "dm",
        "do",
        "ec",
        "eg",
        "sv",
        "gq",
        "er",
        "ee",
        "sz",
        "et",
        "fj",
        "fi",
        "fr",
        "ga",
        "ge",
        "de",
        "gh",
        "gr",
        "gd",
        "gt",
        "gn",
        "gw",
        "gy",
        "ht",
        "hn",
        "hu",
        "is",
        "in",
        "id",
        "ir",
        "iq",
        "ie",
        "il",
        "it",
        "ci",
        "jm",
        "jp",
        "jo",
        "kz",
        "ke",
        "ki",
        "xk",
        "kw",
        "kg",
        "la",
        "lv",
        "lb",
        "ls",
        "lr",
        "ly",
        "li",
        "lt",
        "lu",
        "mg",
        "mw",
        "my",
        "mv",
        "ml",
        "mt",
        "mh",
        "mr",
        "mu",
        "mx",
        "fm",
        "md",
        "mc",
        "mn",
        "me",
        "ma",
        "mz",
        "mm",
        "na",
        "nr",
        "np",
        "nl",
        "nz",
        "ni",
        "ne",
        "ng",
        "nu",
        "kp",
        "mk",
        "no",
        "om",
        "pk",
        "pw",
        "ps",
        "pa",
        "pg",
        "py",
        "pe",
        "ph",
        "pl",
        "pt",
        "pr",
        "qa",
        "cg",
        "ro",
        "ru",
        "rw",
        "kn",
        "lc",
        "vc",
        "ws",
        "sm",
        "sa",
        "sn",
        "rs",
        "sc",
        "sl",
        "sg",
        "sx",
        "sk",
        "si",
        "sb",
        "so",
        "za",
        "kr",
        "ss",
        "es",
        "lk",
        "sd",
        "sr",
        "se",
        "ch",
        "sy",
        "st",
        "tw",
        "tj",
        "tz",
        "th",
        "bs",
        "gm",
        "tl",
        "tg",
        "to",
        "tt",
        "tn",
        "tr",
        "tm",
        "tv",
        "ug",
        "ua",
        "ae",
        "gb",
        "us",
        "uy",
        "uz",
        "vu",
        "va",
        "ve",
        "vn",
        "ye",
        "zm",
        "zw"
      ],
      "type": "string",
      "description": "Country, lowercase two-letter code as the service uses it (us, fr, de, jp, ...). 203 countries."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "population",
          "emoji"
        ],
        "properties": {
          "en": {
            "type": "string",
            "description": "English name, present when the search language is not English and a translation exists."
          },
          "id": {
            "type": "string",
            "description": "City id (UUID)."
          },
          "name": {
            "type": "string",
            "description": "City name in the search language."
          },
          "emoji": {
            "type": "string",
            "description": "Flag emoji of the country."
          },
          "population": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Population; null when the source has none."
          }
        },
        "additionalProperties": true
      },
      "description": "Up to 10 cities, largest first. Always at least one: a prefix with no city is refused as a validation error."
    }
  },
  "additionalProperties": false
}