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
| Tool | Purpose |
|---|---|
getContext | Get server documentation, workflow patterns, API structure |
choose_lang | Set language (English or Latvian) |
get_topics | Browse statistical domains (Population, Economy, etc.) |
get_topic_content | Get sub-categories within a domain |
get_titles | List data tables in a category |
get_tables_by_keyword | Search tables by keyword |
filter_by_code | Filter tables by code pattern |
get_query_values | Get dimensions, filter values, and subtable info for a report |
get_csp_data | Retrieve statistical data with filters and subtable selection |
construct_csp_link | Generate URL to view report on data.stat.gov.lv |
Statistical Domains
| Code | Domain | Topics |
|---|---|---|
| POP | Population | Demographics, births, deaths, migration |
| EMP | Labour market | Employment, unemployment, wages |
| VEK | Economy | GDP, production, consumption |
| TIR | Trade & services | Retail, services, tourism |
| ENT | Business | Enterprises, entrepreneurship |
| IZG | Education & culture | Education, research, culture |
| VES | Social security & health | Healthcare, social protection |
| NOZ | Industry sectors | Agriculture, manufacturing |
| ENV | Environment | Climate, natural resources |
| IKT | IT | Digital economy, telecom |
| FIN | Well-being | Quality 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.