MCP.so
ログイン

A Swedish Monetary‑Policy Data MCP Server

@aerugo

基本情報

カテゴリ

データと分析

ライセンス

Apache-2.0 license

トランスポート

stdio

作者

aerugo

A Swedish Monetary‑Policy Data MCP Server について

An MCP Server for Riksbank data (monetary policy, SWEA, SWESTR)

#swemo-mcp#monetary-policy#data-server

A Swedish Monetary‑Policy Data MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "swemo-mcp": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

A Swedish Monetary‑Policy Data MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

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`).

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.

3

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.

4

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.

5

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.

コメント

「データと分析」の他のコンテンツ