Country Reference Table: ISO Codes, Capital, Area, Population, Currency, Languages (GeoNames)
geonamesdumps/country-info
Every country and territory GeoNames lists (about 250) in one table: ISO alpha-2, alpha-3 and numeric codes, FIPS code, name, capital, area in square km, population, continent, top-level domain, currency code and name, phone prefix, postal code format and regex, spoken languages, GeoNames id and neighbouring countries. Takes no input and returns the whole table (about 80 KB); filter it on the caller's side. GeoNames data (CC BY 4.0), reformatted into JSON and otherwise unmodified; served by Eden Engine; not an official GeoNames product.
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
Data from GeoNames (geonames.org), licensed under Creative Commons Attribution 4.0 (https://creativecommons.org/licenses/by/4.0/). The tab-separated text file is reformatted into JSON; the values are otherwise unmodified. Served by Eden Engine; not an official GeoNames 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.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "geonamesdumps/country-info" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "geonamesdumps/country-info" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "geonamesdumps/country-info", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "geonamesdumps/country-info", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot 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.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"countries",
"count"
],
"properties": {
"count": {
"type": "integer"
},
"countries": {
"type": "array",
"items": {
"type": "object",
"required": [
"iso",
"country"
],
"properties": {
"iso": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code."
},
"tld": {
"type": [
"string",
"null"
]
},
"fips": {
"type": [
"string",
"null"
],
"description": "FIPS 10-4 country code."
},
"iso3": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
],
"description": "International dialling prefix, as the file writes it."
},
"capital": {
"type": [
"string",
"null"
]
},
"country": {
"type": "string",
"description": "Country name."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AS, EU, NA, OC, SA, AN)."
},
"geonameid": {
"type": [
"number",
"null"
]
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "Locale codes ordered by number of speakers, for example es-AR."
},
"area_sq_km": {
"type": [
"number",
"null"
],
"description": "Area in square kilometres."
},
"neighbours": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO codes of bordering countries."
},
"population": {
"type": [
"number",
"null"
]
},
"iso_numeric": {
"type": [
"string",
"null"
]
},
"currency_code": {
"type": [
"string",
"null"
]
},
"currency_name": {
"type": [
"string",
"null"
]
},
"postal_code_regex": {
"type": [
"string",
"null"
]
},
"postal_code_format": {
"type": [
"string",
"null"
]
},
"equivalent_fips_code": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
}
},
"additionalProperties": false
}