PX-Web Statistics MCP
LV EN
PX-Web Statistics MCP

Latvia PX-Web General Statistics MCP Server

Access 1,000+ official Latvian statistical tables through AI assistants. Population, economy, wages, education, environment — data from 1920 to present.

Quick Connect

Add to your AI client — no API key required:

{
  "mcpServers": {
    "latvia-statistics": {
      "url": "https://mcp-px.stat.gov.lv/mcp"
    }
  }
}

Streamable HTTP Free No auth

Available Tools

ToolPurpose
getContextGet server documentation, workflow patterns, API structure
choose_langSet language (English or Latvian)
get_topicsBrowse statistical domains (Population, Economy, etc.)
get_topic_contentGet sub-categories within a domain
get_titlesList data tables in a category
get_tables_by_keywordSearch tables by keyword
filter_by_codeFilter tables by code pattern
get_query_valuesGet dimensions and filter values for a report
get_csp_dataRetrieve statistical data with filters
construct_csp_linkGenerate URL to view report on data.stat.gov.lv

Statistical Domains

CodeDomainTopics
POPPopulationDemographics, births, deaths, migration
EMPLabour marketEmployment, unemployment, wages
VEKEconomyGDP, production, consumption
TIRTrade & servicesRetail, services, tourism
ENTBusinessEnterprises, entrepreneurship
IZGEducation & cultureEducation, research, culture
VESSocial security & healthHealthcare, social protection
NOZIndustry sectorsAgriculture, manufacturing
ENVEnvironmentClimate, natural resources
IKTITDigital economy, telecom
FINWell-beingQuality of life, equality

Example Questions

  • What is Latvia’s population in 2025?
  • Show average wages by economic sector for 2024
  • Compare unemployment rates between men and women
  • What is Latvia’s GDP growth over the last 10 years?
  • How many students are in higher education?
  • Show consumer price index monthly changes
  • What environmental data is available about emissions?
  • Compare birth rates across regions

Data Source

All data from the Official Statistics Portal of Latvia (PX-Web). Published by the Central Statistical Bureau of Latvia. Free under CC BY 4.0.

Data is provided under CC BY 4.0 license.

mcp.stat.gov.lv · stat.gov.lv · data.stat.gov.lv