statsbudget-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., "@statsbudget-mcpShow me the budget overview for 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.
statsbudget-mcp
MCP server for the Swedish national budget (statsbudgeten). Provides structured, queryable access to budget allocations, tax revenue, and fiscal data.
Data Sources
Source | What | Format | Coverage |
SCB PxWeb API | Tax revenue by type, tax quota/GDP | JSON (POST) | 1950-2025 |
Statskontoret Oppna Data | Budget outcome per expenditure area | CSV | 2006-2025 |
Riksdagen Oppna Data | Votes, documents, propositions | JSON | All sessions |
Related MCP server: Kolada MCP Server
MCP Tools
get_budget_overview(year)- total income/expenditure, all 27 areasget_expenditure_area(area_id, year)- drill-down into appropriationscompare_budgets(year_a, year_b)- delta between yearsget_revenue(year)- tax revenue by type (labour, capital, consumption)get_revenue_timeseries(from_year, to_year)- time seriesget_laffer_data(tax_type?)- tax rate vs revenue as % of GDPget_votes_on_budget(year, area_id?)- voting resultssearch_budget_decisions(query)- free-text search
Installation
# From PyPI (once published)
uvx statsbudget-mcp
# Development
git clone https://github.com/bjornwalther/statsbudget-mcp.git
cd statsbudget-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"Development
# Run tests (unit only)
pytest tests/ -m "not integration"
# Run all tests including SCB API integration
pytest tests/
# Lint
ruff check src/ tests/Architecture
src/statsbudget_mcp/
|-- __init__.py
|-- server.py # FastMCP server + tool definitions
|-- scb_client.py # SCB PxWeb API client
|-- statskontoret.py # Statskontoret CSV client (budget outcomes)
|-- riksdagen.py # Riksdagen API client (votes, documents)
|-- cache.py # SQLite local cacheLicense
MIT
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.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to 5,000+ Key Performance Indicators across 264 operating areas for all Swedish municipalities and regions, enabling statistical analysis, comparisons, and trend tracking of Swedish public sector data.213312MIT
- Alicense-qualityCmaintenanceProvides access to Sweden's comprehensive municipal and regional statistics database with semantic search capabilities. Enables natural language queries against thousands of Key Performance Indicators covering various aspects of Swedish public sector data.16Apache 2.0
- Alicense-qualityCmaintenanceAn MCP server that provides tools for querying Swedish monetary-policy data from Sveriges Riksbank, including GDP, unemployment, CPI, and policy rates, enabling LLMs and clients to fetch economic indicators and forecasts.2Apache 2.0
- Flicense-qualityCmaintenanceEnables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdag) and Government Offices through 32 specialized MCP tools.28
Related MCP Connectors
Riksdagen (Swedish Parliament) open data MCP.
MCP server for Statistics Sweden (SCB) - 1200+ tables with population, economy, environment data
MCP server for US Treasury Fiscal Data — debt, interest rates, exchange rates, and spending.
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/bjornwalther/statsbudget-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server