A Swedish Monetary‑Policy Data MCP Server
@aerugo
A Swedish Monetary‑Policy Data MCP Server について
An MCP Server for Riksbank data (monetary policy, SWEA, SWESTR)
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"swemo-mcp": {
"command": "uv",
"args": [
"sync"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is A Swedish Monetary‑Policy Data MCP Server?
It is an unofficial Model‑Context‑Protocol server that wraps Sveriges Riksbank’s open API, turning raw REST endpoints into typed Python tools. Designed for LLM agents and human analysts, it provides on‑demand access to Swedish monetary‑policy data such as GDP, unemployment, CPI, and policy rates.
How to use A Swedish Monetary‑Policy Data MCP Server?
Prerequisites: Python ≥3.12 and Astral uv ≥0.2.0. Clone the repository and run uv sync. Then configure the server as an MCP client (e.g., Claude Desktop) via the provided JSON snippet. Alternatively, use the tools as a library by importing swemo_mcp.tools in your Python code. For Docker, build the image and run docker run -i --rm swemo-mcp:latest | mcp chat.
Key features of A Swedish Monetary‑Policy Data MCP Server
- Wraps raw REST APIs into typed Python MCP tools
- Exposes ≈30 economic series (GDP, CPI, unemployment, etc.)
- Supports pinning a policy round for vintage‑specific forecasts
- Merges historical realised observations with the newest forecast
- Async implementation with automatic exponential back‑off on rate limits
- FastMCP server runs via stdio, SSE, or HTTP
Use cases of A Swedish Monetary‑Policy Data MCP Server
- Historical analysis: retrieve final realised values for past inflation or GDP
- Forecast queries: get the Riksbank’s projections for upcoming quarters
- Integration with Claude Desktop or other MCP clients for on‑demand data
- Embedding typed, async functions into Jupyter notebooks or dashboards
FAQ from A Swedish Monetary‑Policy Data MCP Server
What is a policy round?
A policy round is a new set of forecasts published by the Riksbank four to five times per year, labelled YYYY:I (e.g., 2025:2).
How can I get historical realised (actual) data?
Use policy_round="latest" when calling a tool. This returns all available historical observations plus the newest forecast vintage.
How do I pin a specific forecast vintage?
Pass the policy round identifier (e.g., "2024:3") as a parameter. The tool then returns only the forecasts from that round along with observations available up through it.
What are the system prerequisites?
Python 3.12 or later and Astral’s uv tool version 0.2.0 or higher. The server uses typing.TypeAlias and PEP 604 unions.
Is this server officially affiliated with Sveriges Riksbank?
No. This is an unofficial project; Sveriges Riksbank has not been involved in its development. The underlying API may change, and data is provided “as is” subject to the Riksbank’s terms of use.
「データと分析」の他のコンテンツ
MCP Deep Web Research Server (v0.3.0)
qpd-vEnhanced MCP server for deep web research
Bright Data MCP
brightdataA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
Federal Reserve Economic Data MCP Server
stefanoamorelliOpen-source FRED MCP Server (Federal Reserve Economic Data)
Deep Research
u14appUse any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
PubMed MCP Server
JackKuo666🔍 Enable AI assistants to search, access, and analyze PubMed articles through a simple MCP interface.
コメント