概要
AI エージェント向けの Twelve Data 市場データ:リアルタイムの気配値と価格、過去の時系列、為替レートと通貨換算、シンボル検索、株式・FX・暗号資産の一覧、取引所と取引時間、RSI、MACD、SMA、EMA、ボリンジャーバンド。読み取り専用の 19 個のツール、API キー。
ガイド付きセットアップ
Twelve Data を Microsoft Copilot に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで Twelve Data を接続して、MCP URL を Microsoft Copilot に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
こう聞いてみよう
Twelve Data のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Twelve Data をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Twelve Data + Microsoft Copilot
AI エージェント向けの Twelve Data 市場データ:リアルタイムの気配値と価格、過去の時系列、為替レートと通貨換算、シンボル検索、株式・FX・暗号資産の一覧、取引所と取引時間、RSI、MACD、SMA、EMA、ボリンジャーバンド。読み取り専用の 19 個のツール、API キー。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
TWELVE_DATA_API_KEY
ステップ 1 — 認証情報を取得
- https://twelvedata.com で無料アカウントを作成し、ダッシュボードの API Keys を開きます。
- キーを
TWELVE_DATA_API_KEYにコピーします。Authorization: apikeyヘッダーで送信されるため、URL やログに現れることはありません。 twelve_data_search_symbolsで名前をシンボルに変換し(例:Siemens は XETR の SIE)、twelve_data_get_price、twelve_data_get_quote、twelve_data_get_time_seriesを呼び出します。通貨には EUR/USD のようなペアでtwelve_data_get_exchange_rateかtwelve_data_convert_currencyを使います。
無料の Basic プランでは毎分 8 クレジット、1 日 800 クレジットまで使え、ほとんどのツールはシンボルごとに 1 クレジットを消費します。超えると次の 1 分まで API は 429 を返します。無料プランは米国株、FX、暗号資産をカバーし、米国以外の多くの取引所やファンダメンタルズは有料プランが必要で、それ以外は 403 を返します。twelve_data_get_api_usage でプラン上限に対する使用量を確認できます。価格は文字列で返り、order が asc でない限り新しい順です。
ステップ 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 — Microsoft Copilot にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Microsoft Copilot は、Copilot Studio で作成したエージェントを通じて MCP サーバーを使います。AnythingMCP をツールとしてエージェントに追加し、そのエージェントを Microsoft 365 Copilot と Teams に公開します。Copilot Studio は Microsoft のクラウドから Streamable HTTP で接続し、AnythingMCP はこれに対応しています。
- Copilot Studio でエージェントを開き(または新規作成し)、Tools で Add a tool → New tool → Model Context Protocol を選びます。
- Server name(例:
AnythingMCP)、コネクタでできることを説明する Server description、Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力します。Copilot Studio はこの説明をもとに、いつサーバーを呼び出すかを判断します。 - 認証で API key を選び、Type を Header、ヘッダー名を
X-API-Keyにして Create を選びます。 - Add tool で Create a new connection を選び、AnythingMCP の MCP API キー(MCP Servers → 対象のサーバー → API keys)を貼り付けて Add to agent を選びます。
- エージェントの Test ウィンドウで試します。
Twelve Dataのツールが必要になる依頼をしてみましょう。 - Publish を選び、Channels → Microsoft 365 and Microsoft Teams で Make agent available in Microsoft Copilot を選択したまま Add channel を選びます。See agent in Teams で自分用にインストールされます。Microsoft 365 Copilot では @ を入力してエージェントを選びます。
ユーザーごとにサインインさせたい場合は、API キーの代わりに OAuth 2.0 → Dynamic discovery を選びます。各ユーザーは、エージェントが初めて呼び出すときに AnythingMCP にサインインします。
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Copilot Studio は Microsoft のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
twelve_data_get_api_usage | Show the requests made in the last minute and today, the plan's per-minute and daily limits, and the plan category |
twelve_data_get_quote | Real-time quote for one instrument: name, exchange, currency, open, high, low, close, volume, previous close, change and percent change… |
twelve_data_get_price | Latest traded price of one instrument as a single number |
twelve_data_get_time_series | Historical OHLCV bars for one instrument at an interval (1min to 1month): meta (symbol, currency, exchange, timezone) and values with… |
twelve_data_get_eod | Closing price of the last trading day (or of a given date) for one instrument, with exchange, currency and datetime. 1 credit per symbol |
twelve_data_get_exchange_rate | Real-time exchange rate of a forex or crypto pair, for example EUR/USD or BTC/ETH, with its timestamp |
twelve_data_convert_currency | Convert an amount from the base to the quote currency of a forex or crypto pair at the real-time (or a historical) rate |
twelve_data_search_symbols | Find instruments by ticker or name, ordered by relevance: symbol, instrument name, exchange, MIC, currency, country and type |
twelve_data_list_stocks | List stock symbols covered by Twelve Data, updated daily: symbol, name, currency, exchange, MIC, country, type |
twelve_data_list_forex_pairs | List the forex pairs available, updated daily: symbol (for example EUR/USD), currency group, base and quote currency |
twelve_data_list_cryptocurrencies | List the cryptocurrency pairs available, updated daily: symbol (for example BTC/USD), the exchanges that quote it, base and quote currency |
twelve_data_list_exchanges | List equity exchanges: name, MIC code, country, timezone and access plan |
twelve_data_get_earliest_timestamp | Return the earliest date and time for which data exists for an instrument at an interval |
twelve_data_get_market_state | Show whether stock exchanges are open now, with time to open, time to close and time since open |
twelve_data_get_rsi | Relative Strength Index (0 to 100) series for an instrument; above 70 is commonly read as overbought, below 30 as oversold |
twelve_data_get_macd | Moving Average Convergence Divergence series for an instrument: macd line, signal line and histogram per datetime, to spot trend changes. 1… |
twelve_data_get_sma | Simple Moving Average series for an instrument over time_period bars, for trend direction and support levels. 1 credit per symbol |
twelve_data_get_ema | Exponential Moving Average series for an instrument over time_period bars; reacts faster to recent prices than the SMA. 1 credit per symbol |
twelve_data_get_bbands | Bollinger Bands series for an instrument: upper band, middle band (moving average) and lower band per datetime, to judge volatility. 1… |
FAQ
どの Copilot が対象ですか? 職場で使う Microsoft 365 Copilot で、Copilot Studio のエージェントを通じて利用します。個人アカウント向けの Microsoft Copilot アプリでは、独自の MCP サーバーを追加できません。
何が必要ですか? エージェントを作成するために、Copilot Studio を利用できる職場アカウント(ライセンスまたは試用版)が必要です。Microsoft 365 Copilot や Teams でエージェントを使う人には、エージェントへのアクセス権が必要です。共有するか、管理者に組織向けに公開してもらってください。組織が Power Platform コネクタにデータ ポリシーを適用している場合は、MCP サーバーにも適用されます。
エージェントがツールを呼び出しません。 ヘッダー名が正確に X-API-Key であること、キーが URL と同じ MCP サーバーのものであることを確認し、Server description を具体的に書いてください。Copilot Studio はこの説明をもとにサーバーを呼び出すかどうかを判断します。変更のたびにエージェントを再公開し、開いているチャットでは "start over" と入力すると新しいバージョンになります。
次のステップ
このガイドは役に立ちましたか?