PX-Web Statistics MCP
LV EN

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, filter values, and subtable info for a report
get_csp_dataRetrieve statistical data with filters and subtable selection
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 Freshness

This server mirrors data.stat.gov.lv in real-time. Data is updated as published by the Central Statistical Bureau of Latvia.

Frequently Asked Questions

How do I connect to this server?

Add {"mcpServers":{"latvia-statistics":{"url":"https://mcp-px.stat.gov.lv/mcp"}}} to your MCP client config (Claude Desktop, Cursor, etc.). No API key required.

Is it free to use?

Yes. The server is free and open, with no authentication required. Data is published under CC BY 4.0 license.

What are the rate limits?

There is a limit of 100 requests per 15-minute window per IP address. Sessions expire after 30 minutes of inactivity.

What data is available?

Over 1,000 statistical tables covering population, economy, wages, education, health, environment, ICT, and more. Data from 1920 to present.

How fresh is the data?

Data mirrors the Official Statistics Portal (data.stat.gov.lv) and is updated as soon as the CSP publishes new figures — typically monthly or quarterly depending on the indicator.

Data is provided under CC BY 4.0 license.

stat.gov.lv · data.stat.gov.lv · llms.txt · sitemap.xml