インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、FRED をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
セントルイス連邦準備銀行のデータベース FRED の経済データ: 米国と各国の約 80 万の時系列(GDP、インフレ率、失業率、金利、為替レート)を検索し、変換を加えた値を読み、統計公表とその日程を確認し、改定履歴も参照できます。読み取り専用、API キーは無料です。
こう聞いてみよう
FRED のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → FRED をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
FRED + Cursor
セントルイス連邦準備銀行のデータベース FRED の経済データ: 米国と各国の約 80 万の時系列(GDP、インフレ率、失業率、金利、為替レート)を検索し、変換を加えた値を読み、統計公表とその日程を確認し、改定履歴も参照できます。読み取り専用、API キーは無料です。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
FRED_API_KEY
ステップ 1 — 認証情報を取得
設定は約 2 分で、無料です。無料の FRED アカウントが必要です。
- https://fredaccount.stlouisfed.org でサインインするか、無料アカウントを作成します。
- API Keys(https://fredaccount.stlouisfed.org/apikeys)を開き、キーを申請して用途を一文で説明します。キーは 32 文字の小文字の文字列で、すぐに発行されます。
- それを
FRED_API_KEYに貼り付けます。クエリパラメータapi_keyとして送られます。 - コネクタをインストールします。確認では
fred_get_categoryでルートカテゴリを読み取ります。続けてUNRATEとlimit1 を指定したfred_get_observationsで、米国の最新の失業率を試してください。
系列を探す: fred_search_series はタイトル、単位、注記、タグを検索します。order_by を popularity にすると主要な系列が先頭に来て、search_type を series_id にすると DGS* のようなワイルドカードで ID を照合します。よく知られた ID: GDP、GDPC1(実質 GDP)、UNRATE、PAYEMS(非農業部門雇用者数)、CPIAUCSL、CPILFESL(コア CPI)、PCEPI、FEDFUNDS、DGS10、T10Y2Y、MORTGAGE30US、SP500、VIXCLS、DCOILWTICO、DEXUSEU(1 ユーロあたりの米ドル)、M2SL。ルートカテゴリ 0 からカテゴリツリーをたどる、ある統計公表の系列を一覧にする、gdp;germany のようなタグを fred_list_tag_series で組み合わせる、といった探し方もできます。
読み取れるデータ: 系列の値(新しい順。既定では直近 1000 件、または observation_start と observation_end で指定した期間)、系列のメタデータ(単位、頻度、季節調整、注記、最終更新)とそのカテゴリ、統計公表、タグ、カテゴリとその系列、統計公表とその系列および公表日、今後の予定日を含むすべての統計公表のカレンダー、データソースとその統計公表、タグ、最近更新された系列、そして系列が公表または改定されたビンテージ日です。データは BEA、BLS、連邦準備制度理事会、国勢調査局、OECD、IMF、Eurostat など 100 を超えるソースから来ています。
変換: units で水準を変化幅、変化率、前年比変化率(pc1)、年率複利換算、自然対数に変換できます。frequency と aggregation_method(平均、合計、期末)で、日次の金利を月平均にするなど、より低い頻度に集計できます。系列本来の頻度より高くすることはできません。
改定: fred_list_vintage_dates は系列が公表または改定された日を一覧にします(ALFRED)。realtime_start と realtime_end を同じビンテージ日にして fred_get_observations を呼ぶと、その日に知られていたデータ、たとえばある四半期の GDP の速報値が表示されます。
データ形式: 値は系列の単位で表された文字列なので、AI は 2 つの系列を比べる前に単位と季節調整を確認します。値 "." はその日付に観測値がないこと(祝日など)を意味します。日付は YYYY-MM-DD で期間の開始日を示します(2026 年第 2 四半期なら 2026-04-01)。月次と四半期の系列は遅れて公表されるので、AI は今日の日付ではなく最新の観測値の日付を伝えます。fred_list_series_updates の時間枠は米国中部時間の YYYYMMDDHhmm です。AI は FRED と、系列の注記にある元のソースを出典として示します。一部の系列は元のソースの著作権で保護されており、注記にそう書かれています。
読み取り専用: すべてのツールは読み取りのみのため、確認が必要な操作はなく、インストール時にオフになっているツールもありません。
制限: キーあたり毎分 120 リクエストまでです。一覧は limit と offset でページングします。
よくあるエラー: FRED は問題を示す error_message 付きで 400 を返します。キーが間違っているか欠けている場合は "api_key is not registered"、不明な ID の場合は "The series does not exist"、または系列より高い頻度など無効なパラメータです。429 はレート制限に達したことを意味します。1 分待ってください。
このコネクタは、GeoFRED の地図と地域区分、FRED v2 の一括ダウンロード、系列グループには対応していません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Cursor にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Cursor は ~/.cursor/mcp.json から MCP サーバーを読み込みます。次のエントリを追加してください:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、Cursor を再起動します。
- Cursor → Settings → MCP を開き、
anythingmcpが一覧にあり接続済みであることを確認します。 - チャットを始めましょう。エージェントが
FREDのツールを呼び出せるようになりました。
利用可能なツール
| Tool | What it does |
|---|---|
fred_search_series | Search FRED economic data series by words or by series id: GDP, inflation, unemployment, interest rates, exchange rates, house prices and… |
fred_get_series | Get the metadata of one FRED series: title, frequency, units, seasonal adjustment, first and last observation date, last update, popularity… |
fred_get_observations | Get the data values of a FRED series (date and value), newest first by default |
fred_get_series_categories | List the FRED categories a series belongs to (id, name, parent_id), to find related series with fred_list_category_series |
fred_get_series_release | Get the statistical release a FRED series is published in (id, name, press release flag, link), e.g |
fred_get_series_tags | List the tags of a FRED series (name, group such as geo, freq, src, seas, notes, popularity, series count) |
fred_list_vintage_dates | List the vintage dates of a FRED series: the dates on which its data was published or revised (ALFRED) |
fred_list_series_updates | List FRED series updated recently, latest first: what changed today or within a time window |
fred_get_category | Get one FRED category (id, name, parent_id) |
fred_list_category_children | List the subcategories of a FRED category (id, name, parent_id), to browse the topic tree from the root (0) down to the series |
fred_list_category_series | List the series in a FRED category (id, title, frequency, units, seasonal adjustment, date range, popularity), optionally filtered by… |
fred_list_releases | List the statistical releases in FRED (id, name, press release flag, link), e.g |
fred_list_release_dates | Release calendar across all FRED releases: which release came out, or is scheduled, on which date |
fred_get_release | Get one FRED release (id, name, press release flag, link to the publisher's page) |
fred_get_release_dates | Publication dates of one FRED release, all history by default |
fred_list_release_series | List the series published in one FRED release (id, title, frequency, units, seasonal adjustment, date range, popularity), optionally… |
fred_list_sources | List the data sources in FRED (id, name, link), e.g |
fred_get_source | Get one FRED data source (id, name, link to the agency or publisher), e.g. 22 for the Bureau of Labor Statistics |
fred_list_source_releases | List the releases of one FRED data source (id, name, press release flag, link) |
fred_search_tags | Search or list FRED tags (name, group, notes, popularity, number of series) |
fred_list_tag_series | List the FRED series that have all the given tags, e.g. gdp;germany or cpi;monthly;sa, with id, title, frequency, units, seasonal… |
プロンプトの例
- 「FRED で米国の最新の失業率はいくつで、何月の値ですか?」
- 「米国 CPI インフレ率の前年比を直近 24 か月分見せてください。」
- 「過去 1 年の米国債 10 年物と 2 年物の利回りを月平均で比較してください。」
- 「次の雇用統計(Employment Situation)の公表予定日はいつですか?」
- 「2026 年第 1 四半期の米国実質 GDP の最初に公表された値はいくつで、その後どう改定されましたか?」
FAQ
Cursor の無料プランでカスタム MCP サーバーは使えますか? はい。MCP は Hobby、Pro、Business の各プランで利用できます。
次のステップ
このガイドは役に立ちましたか?