stat-gov-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stat-gov-mcpUnemployment rate in Poland in 2024?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stat-gov-mcp
Local MCP server for the Polish Central Statistical Office (GUS) Bank Danych Lokalnych (BDL) — the definitive public source for Polish socioeconomic statistics: population, prices, business demographics, unemployment, GDP, at country / voivodeship / powiat / gmina resolution.
Part of the honest-mcp family of small, auditable, local-first MCP servers.
Why
BDL contains tens of thousands of time series about Poland. Its web UI (bdl.stat.gov.pl) is powerful but slow to navigate when you know exactly what you want. The public REST API is the fast path but has enough concepts (subjects → variables → units → data) to make manual use annoying. This server lets your AI find the right variable and unit and pull the data — one conversation, done.
Same trust model as the rest of the family: data flows only between your machine and GUS.
Related MCP server: Tilastokeskus StatFin MCP Server
Features
Five tools:
search_subjects— browse or search the subject tree (e.g., "CENY", "LUDNOŚĆ")search_variables— find data series in a subjectsearch_units— find territorial units (voivodeship, powiat, gmina) by name and/or levelget_unit_details— full record for a unit IDget_data— pull actual values for a variable across chosen units and year range
Data source
Endpoint: bdl.stat.gov.pl/api/v1 — GUS BDL public REST API
No API key required for the free tier (5 req/sec, ~5000 req/day)
Higher-volume tier available with free registration; not needed for typical interactive use
Requirements
Python 3.10+
Setup
git clone https://github.com/bartosz-kuc/stat-gov-mcp.git
cd stat-gov-mcp
python3 -m venv venv
./venv/bin/pip install -r requirements.txtRegister with Claude Code:
claude mcp add stat-gov /absolute/path/to/venv/bin/python /absolute/path/to/server.pyClaude Desktop claude_desktop_config.json:
{
"mcpServers": {
"stat-gov": {
"command": "/absolute/path/to/venv/bin/python",
"args": ["/absolute/path/to/server.py"]
}
}
}Example usage
"How has the average monthly wage changed in Mazowieckie over the last 10 years?"
Three-step: search_variables(name="przeciętne wynagrodzenie") → note variable ID → search_units(name="mazowieckie", level=2) → note unit ID → get_data(variable_id=..., unit_ids=[...], year_from=2015).
"Which voivodeships had the highest unemployment in 2024?"
search_variables(name="stopa bezrobocia") → get_data(variable_id=..., year_from=2024, year_to=2024) — default returns all voivodeships.
Data flow
Your AI client
↕ MCP stdio
This server (Python, on your machine)
↕ HTTPS
bdl.stat.gov.pl (GUS)No cloud middle. No telemetry.
Author
Bartosz Kuć — Warsaw-based developer, JDG owner running skanfirmy.pl.
GitHub: https://github.com/bartosz-kuc
Email: firma@bartosza.pl
Consulting
Available for consulting on Polish tax and business integrations (KSeF, GUS/NFZ/GIOŚ APIs, mBank data), MCP server design, and AI-assisted tooling for JDGs and small teams. See skanfirmy.pl/uslugi for productized packages (audit 3k PLN, setup 8-15k PLN, retainer 2-4k PLN/mo), or reach out via email.
License
MIT — see LICENSE.
Related
Part of the honest-mcp family — see the family index.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bartosz-kuc/stat-gov-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server