
twelvedata/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Twelve Data MCP (モデルコンテキストプロトコル) Server は、WebSocket を介して金融市場データへのシームレスなリアルタイムアクセスを提供し、価格見積、市場メトリック、イベントの信頼性の高いストリーミングを可能にします.
概要
Claude、ChatGPT、およびその他のAIアシスタントをTwelve Data Financial APIに接続します。リアルタイムで履歴的な価格、60以上のテクニカル指標、基本、収益、配当、ETF、企業ニュース、市場動向など。 データアカウントが必要です。 12data.comにサインアップしてください。 使う方法は2つありますが、インストール方法はありません。 ホストサーバーにAIアシスタントを接続します。 です。 インストールなし、コピーして貼り付ける API キーはありません。 接続すると、ブラウザウィンドウが開き、Twelve Dataアカウントにログインすると、個人APIキーが自動的にリンクされ、アカウントに紐付けられます。 カスタムコネクタ/ MCP サーバーをサポート: 1. アシスタント(または/)設定を開きます。 2. URL[https://mcp.twelvedata.com/mcp.で新しいコネクタを追加します。 3。 プロンプトが表示されたら、クリックして、Twelve Dataのログインページがブラウザで開きます。 4. 承認し、完了します。 「AAPLのRSIとは何か?」や「TSLAの最新の収益を表示する」など、.
概要(AI 翻訳)
Claude、ChatGPT、およびその他のAIアシスタントをTwelve Data Financial APIに接続します。リアルタイムで履歴的な価格、60以上のテクニカル指標、基本、収益、配当、ETF、企業ニュース、市場動向など。
データアカウントが必要です。 12data.comにサインアップしてください。
2つの使い方があります。 クラウドサーバ(Option 1))を使用する必要があります。インストールには何もありません。
お問い合わせ
##Option 1 — クラウドサーバー(推奨)を使用する
ホストサーバーにAIアシスタントを接続します。
です。 インストールなし、コピーして貼り付ける API キーはありません。 接続すると、ブラウザウィンドウが開き、Twelve Dataアカウントにログインすると、個人APIキーが自動的にリンクされ、アカウントに紐付けられます。
それを追加する方法
Claude (Desktop/Web) および ChatGPT はカスタム コネクタ/MCP サーバーをサポートしています:
1。 アシスタントのConnectors(またはIntegrations / MCPサーバー)設定を開きます。
2. URL[https://mcp.twelvedata.com/mcpで新しいコネクタを追加します。
3。 プロンプトが表示された場合、Connect / Log in - ブラウザで12個のデータログインページが開きます。
4. 承認し、完了します。 ※「AAPLのRSIとは?*」や「TSLAの最新の収益を見せる」など
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Twelve Data MCP Server
Connect Claude, ChatGPT, and other AI assistants to the Twelve Data financial API — real-time and historical prices, 60+ technical indicators, fundamentals, earnings, dividends, ETFs, company news, market movers, and more.
You need a Twelve Data account. Sign up at twelvedata.com.
There are two ways to use it. Most people should use the cloud server (Option 1) — there is nothing to install.
Option 1 — Use our cloud server (recommended)
Connect your AI assistant to our hosted server:
https://mcp.twelvedata.com/mcp
That’s it. No installation, no API key to copy and paste. When you connect, a browser window opens and you log in with your Twelve Data account — your personal API key is linked automatically and stays tied to your account.
How to add it
Claude (Desktop / Web) and ChatGPT support custom connectors / MCP servers:
- Open your assistant’s Connectors (or Integrations / MCP servers) settings.
- Add a new connector with the URL
https://mcp.twelvedata.com/mcp. - When prompted, click Connect / Log in — a Twelve Data login page opens in your browser.
- Authorize, and you’re done. Ask things like “What’s the RSI for AAPL?” or “Show me TSLA’s latest earnings.”
The exact menu names differ between apps and versions, but the flow is always the same: add the URL, then log in via the browser popup.
The MCP host does not issue tokens. The connector URL is https://mcp.twelvedata.com/mcp. The client must follow that URL’s protected-resource metadata to the authorization server named there. Do not point a connector at the host root (it answers 404), or at this host’s /register or /.well-known/oauth-authorization-server.
Perplexity (custom remote connector)
Perplexity Pro, Max, and Enterprise users can add the hosted server as a custom remote connector. That is a per-account setup, not a listing in Perplexity’s public curated directory.
- In Perplexity, open Account settings → Connectors → + Custom connector and select Remote. On Enterprise, an admin may need to allow custom connectors first.
- Set Name to
Twelve Dataand MCP Server URL tohttps://mcp.twelvedata.com/mcp. - Choose OAuth for authentication and Streamable HTTP for transport. Leave the Client ID and Client Secret blank so Perplexity can use dynamic client registration on the authorization server named in the server’s protected-resource metadata.
- Accept Perplexity’s custom connector acknowledgement and click Add. Then click the Twelve Data connector card to start authentication, sign in to your Twelve Data account, and authorize access.
- Once the connector is enabled, try these prompts:
- “Use Twelve Data to find the AAPL symbol.”
- “Use Twelve Data to get the latest quote for AAPL, including price and volume.”
- “Use Twelve Data to show the last five daily closing prices for AAPL.”
インストール
docker run --rm --env-file .env -p 127.0.0.1:8000:8000 twelvedata-mcp設定
{
"mcpServers": {
"twelvedata": {
"command": "/path/to/mcp/.venv/bin/python",
"args": ["/path/to/mcp/src/server.py"]
}
}
}