WC

wesbos/currency-conversion-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

37 stars 5 forks 品質 44 トレンド 12

通貨変換 MCP サーバー

概要

リアルタイムの通貨変換と為替レートデータをFrankfurter APIで提供できるMCPサーバー。 URL ベースは https://currency-mcp.wesbos.com です。 従来の HTTP+SSE の HTTP と /sse のストリーム可能な HTTP と /sse の 2 つのエンドポイントがあります。 今、多くのクライアントは、ストリーミング可能な http のサポートを提供していないので、プロキシで使用できます。 1つの通貨から別の通貨に換算します。 - から(文字列): 通貨コード(3文字、例、 "USD"、 "EUR") - へ(文字列): ターゲット通貨コード(3文字、例、 "USD"、 "EUR") - 量(数字): 変換する量(陽性番号) - ベース(文字列、オプション): ベース通貨コード(デフォルトはEUR) - 記号(文字列、オプション): 結果を制限するためのコンマ区切り通貨コード すべての利用可能な通貨をフルネームでリストします.

概要(AI 翻訳)

リアルタイムの通貨変換と為替レートデータをFrankfurter APIで提供できるMCPサーバー。

使用

URL ベースは https://currency-mcp.wesbos.com です。

HTTP + SSE の HTTP と [/sse] を合理化するための 2 つのエンドポイントがあります。

今、多くのクライアントは、ストリーミング可能な http のサポートを提供していないので、プロキシで使用できます。

利用可能なツール

##[convert_currency

1つの通貨から別の通貨に換算します。

パラメーター:

  • [from (文字列): 通貨コード(3文字、例、 “USD”, “EUR”)
  • [to (文字列): 対象となる通貨コード(3文字、例えば「USD」、 “EUR”)
  • [amount(番号):変換する量(陽性番号)

例: 100 USDをEURに変換する

##[get_latest_rates

最新の為替レートを取得します。

パラメーター:

  • [base] (文字列、オプション): ベース通貨コード(デフォルトはEUR)
  • [symbols] (文字列、オプション): 結果を制限するためのコンマ区切り通貨コード

例: 特定の通貨のUSDレートを取得する

##[get_currencies

すべての利用可能な通貨をフルネームでリストします。

パラメーター: なし

##[[T11]

特定の日付の履歴為替レートを取得します。

パラメーター:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

MCP Currency Converter Server

An MCP server that provides real-time currency conversion and exchange rate data using the Frankfurter API.

Using

URL base is https://currency-mcp.wesbos.com

There are two endpoints - /mcp for streamable HTTP and /sse for legacy HTTP+SSE.

Right now many clients do not offer support for streamable http, so you can use it with a proxy:

{
  "mcpServers": {
    "currency-conversion": {
      "command": "npx",
      "args": ["mcp-remote", "https://currency-mcp.wesbos.com/sse"]
    }
  },
}

Available Tools

convert_currency

Convert an amount from one currency to another.

Parameters:

  • from (string): Source currency code (3 letters, e.g., “USD”, “EUR”)
  • to (string): Target currency code (3 letters, e.g., “USD”, “EUR”)
  • amount (number): Amount to convert (positive number)

Example: Convert 100 USD to EUR

{
  "from": "USD",
  "to": "EUR",
  "amount": 100
}

get_latest_rates

Fetch the latest exchange rates.

Parameters:

  • base (string, optional): Base currency code (defaults to EUR)
  • symbols (string, optional): Comma-separated currency codes to limit results

Example: Get USD rates for specific currencies

{
  "base": "USD",
  "symbols": "EUR,GBP,JPY"
}

get_currencies

List all available currencies with their full names.

Parameters: None

get_historical_rates

Get historical exchange rates for a specific date.

Parameters:

  • date (string): Date in YYYY-MM-DD format
  • base (string, optional): Base currency code (defaults to EUR)
  • symbols (string, optional): Comma-separated currency codes to limit results

Example: Get historical EUR rates for January 1, 2024

{
  "date": "2024-01-01",
  "base": "EUR",
  "symbols": "USD,GBP"
}

Data Source

Exchange rate data is provided by the Frankfurter API

GitHub で README 全文を見る

インストール

npx mcp-remote https://currency-mcp.wesbos.com/sse
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "currency-conversion": { "command": "npx", "args": ["mcp-remote", "https://currency-mcp.wesbos.com/sse"] } }, }