Skip to content
Eden Engine

Our World in Data Chart Values (Latest or Chosen-Year Value for a Country)

owid/chart-values

Returns the start and end values of one Our World in Data chart for one country or region: the entity, the time span, the column definition (name and unit) and the first and last data points, for example population-density for FRA (France) in 2000 gives 108.6 people per km2. Pass country as an ISO 3 code (FRA) or an OWID entity name (World, Europe); leave it out for the chart's default entity. Pass time to read one year. A country with no data in the chart returns only the source citation. Only the end points are returned, not a full series. Our World in Data content is CC BY 4.0; the source field names the underlying data providers. A renamed slug answers a redirect that is refused, and an unknown slug answers NOT_FOUND. Our World in Data data as served by Eden Engine, not an official OWID product.

activeper callv2

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 $5.00.

Data source

Our World in Data

Data from Our World in Data (ourworldindata.org), licensed CC BY 4.0; the original data source named in each chart's citation also applies, and third-party data may carry its own licence. Served by Eden Engine; not an official Our World in Data product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

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

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "owid/chart-values" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "owid/chart-values" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "owid/chart-values", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "owid/chart-values", 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 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,119}$",
      "description": "The chart slug from its address, the last part of ourworldindata.org/grapher/<slug>, such as life-expectancy or population-density. A slug OWID has renamed answers a redirect, which is refused, and an unknown slug answers NOT_FOUND."
    },
    "time": {
      "type": "integer",
      "maximum": 2200,
      "minimum": 1,
      "description": "A year to read. Leave out for the whole available span (first and last values)."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z0-9 .'_-]{2,60}$",
      "description": "A country or region as an ISO 3 code (FRA, DEU) or an OWID name (World, Europe). Leave out for the chart default entity."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "The data source citation."
    },
    "columns": {
      "type": "object",
      "description": "The indicator definition(s): name, unit, time interval."
    },
    "endTime": {
      "type": "integer",
      "description": "Last year with data, or the requested year."
    },
    "endValues": {
      "type": "object",
      "description": "Last data point(s), keyed by dimension."
    },
    "startTime": {
      "type": "integer",
      "description": "First year with data, absent when time is given."
    },
    "entityName": {
      "type": "string",
      "description": "The country or region the values are for."
    },
    "startValues": {
      "type": "object",
      "description": "First data point(s), keyed by dimension."
    }
  },
  "additionalProperties": true
}