UN World Population Demographics

Global population data from 1950-2023

list_locations search_locations filter_locations +8 more

This was created with Wire. Upload your own documents, spreadsheets, or data. Wire generates the same kind of tools, customized to your content.

Get Started

About This Dataset

Access comprehensive demographic data from the United Nations World Population Prospects. This dataset includes fertility rates, life expectancy, mortality rates, migration statistics, and population growth metrics for 298 countries and geographic regions spanning over 70 years of historical data.

The data is organized by UN geographic hierarchy, including continents, sub-regions, and development classifications. Each demographic record includes key indicators like Total Fertility Rate (TFR), life expectancy by gender, birth and death rates, migration rates, population growth, infant mortality, and sex ratio at birth.

Connect to This Server

Choose your preferred tool to get started:

Add this to your Claude Desktop configuration file:

claude_desktop_config.json
{
  "un-demographics": {
    "command": "npx",
    "args": [
      "-y",
      "mcp-remote",
      "https://wire-public.mcp.usewire.io/container/UQfmLvKhhRJaSqY3/mcp"
    ]
  }
}

Setup Steps

  1. Open Claude Desktop settings (Cmd+, on Mac, Ctrl+, on Windows)
  2. Navigate to the "Developer" section
  3. Click "Edit Config" to open your configuration file
  4. Add the JSON above to your mcpServers section
  5. Save and restart Claude Desktop

What You Can Do

What you can accomplish depends on your AI agent's capabilities.

Ask Questions

  • ? What's the fertility rate trend for the US from 1950-2023?
  • ? Which countries in Africa have the highest life expectancy?
  • ? How do population growth rates compare across Asian regions?
  • ? What was the infant mortality rate in Japan in 1990?

Get Things Done

  • Create a chart comparing fertility rates across G7 countries
  • Analyze demographic shifts in Europe over the last 50 years
  • Build a table of the top 10 countries by life expectancy improvement
  • Generate a summary of migration trends in South America

Available Tools

list_locations Browse

Browse all geographic locations in the UN hierarchy with pagination and sorting

search_locations Search

Search locations by name, region, area, or type

filter_locations Filter

Filter by region code, area code, location type, or hierarchy level

get_location Get

Get detailed information for a specific location by ID

list_countries Browse

Browse all countries with pagination and sorting options

search_countries Search

Search countries by name or country code

filter_countries Filter

Filter countries by code or order range

get_country Get

Get country details including codes and ordering metadata

list_demographic_metrics Browse

Browse demographic metrics with sorting by year, country, or rates

filter_demographic_metrics Filter

Filter by country code, year range, or statistical thresholds (e.g., fertility rate > 3)

get_demographic_metric Get

Get specific year and country demographic data including all indicators

Data Source

This data is sourced from the publicly available United Nations World Population Prospects 2024 .

Files Used

  • countries.csv — Country codes and metadata
  • e01dt.csv — Life expectancy data
  • mig1dt.csv — Migration statistics
  • misc1dt.csv — Miscellaneous demographic indicators
  • sexRatio1dt.csv — Sex ratio at birth
  • tfr1dt.csv — Total fertility rate
  • UNlocations.txt — UN geographic hierarchy

Last updated: December 2024

Disclaimer: Wire is not affiliated with, endorsed by, or officially connected to United Nations or the United Nations. This tool provides access to publicly available data for informational purposes only. Wire makes no representations or warranties regarding the accuracy, completeness, or reliability of the data. Users should verify information independently and consult official sources for authoritative data.

Create Your Own

Want to access your data like this? Upload your documents, spreadsheets, or any data. Wire generates the same tools, customized to your content. Private, secure, and ready in minutes.

Get Started