MCP Servers | AI Access to Latvian Statistical Data
Free, open Model Context Protocol (MCP) servers published by the Central Statistical Bureau of Latvia (CSP). Give any AI assistant direct access to official Latvian statistical data.
Available Servers
Three specialized MCP servers cover different statistical domains. Each server can be connected to Claude, ChatGPT, VS Code, Cursor, or any MCP-compatible client.
PX-Web General Statistics
Population, economy, labour market, education, environment, and more. Access 1,000+ statistical tables via the PX-Web API covering data from 1920 to present.
Foreign Trade Statistics
Latvian imports and exports by partner country, HS/CN commodity code, and time period. Annual and monthly data with values in euros, weight in kilograms.
Human Capital Analytics
Job vacancy data from 4 Latvian portals: employer analytics, ISCO/ESCO occupation and skills classification, salary analysis, geographic distribution.
What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external data sources and tools. Instead of copy-pasting data into a chat, MCP lets the AI query live databases, APIs, and services directly.
These servers use the Streamable HTTP transport, which means they work with any MCP client including Claude Desktop, claude.ai, ChatGPT, VS Code extensions, and Cursor.
Quick Start
Add any server to your AI client in seconds. No API key required.
Claude Desktop / claude.ai
{
"mcpServers": {
"latvia-statistics": {
"url": "https://mcp-px.stat.gov.lv/mcp"
},
"latvia-foreign-trade": {
"url": "https://mcp-ft.stat.gov.lv/mcp"
},
"latvia-human-capital": {
"url": "https://mcp-hc.stat.gov.lv/mcp"
}
}
}See the full connection guide for VS Code, Cursor, ChatGPT, and other clients.
Example Questions You Can Ask
Population & Demographics
“What is Latvia’s population in 2025?”
“Show birth and death rates for the last 10 years”
“Compare population by region”
Trade & Economy
“What are Latvia’s top 10 export partners?”
“Show monthly imports of machinery from Germany”
“Calculate the trade balance for 2024”
Labour Market
“What are the most in-demand occupations right now?”
“Average salary for software developers in Riga?”
“Which NACE sectors have the most job openings?”
About
These MCP servers are published and maintained by the Central Statistical Bureau of Latvia (Centrālā statistikas pārvalde, CSP) — the principal government authority responsible for official statistics in Latvia.
Data is sourced from official statistical databases and is provided free of charge under the CC BY 4.0 license. The servers are hosted on government infrastructure in Latvia.