Twelve Data MCP Serverのロゴ

Twelve Data MCP Server

組織
twelvedata

Twelve Data MCP (Model Context Protocol) Server provides seamless, real-time access to financial market data via WebSocket, enabling reliable streaming of price quotes, market metrics, and events directly into your applications.

公開者twelvedata
リポジトリmcp
言語Python
フォーク
25
スター
77
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Twelve Data MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには77件のスターと25件のフォークがあります。

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:

  1. Open your assistant's Connectors (or Integrations / MCP servers) settings.
  2. Add a new connector with the URL https://mcp.twelvedata.com/mcp.
  3. When prompted, click Connect / Log in — a Twelve Data login page opens in your browser.
  4. 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.


Option 2 — Run it locally with your API key

Prefer to run the server on your own machine (e.g. for Claude Desktop over stdio)? You only need your Twelve Data API key — no OAuth setup.

1. Get your API key

Log in at twelvedata.com → your dashboard → API Keys. Copy your key.

2. Install

Requires Python 3.10+ (3.12 recommended; on macOS brew install python@3.12 or make python-install).

bash
make install

3. Add your API key

Create a .env file in the project root with your key:

bash
TWELVE_DATA_API_KEY=your_api_key_here

4. Connect to Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "twelvedata": {
      "command": "/path/to/twelve-data-mcp/.venv/bin/python",
      "args": ["/path/to/twelve-data-mcp/src/server.py"]
    }
  }
}

Use the .venv/bin/python path (not the system Python — macOS ships 3.9, and this server needs 3.10+). Restart Claude Desktop after editing the config.

That's all — the server reads your API key from .env and every request uses it. No login step needed.


What you can ask

  • Prices — stocks, ETFs, forex, crypto, commodities (real-time & historical)
  • Technical indicators — RSI, MACD, SMA, BBANDS, ATR, and 60+ more
  • Fundamentals — financial statements, earnings, dividends, splits, company profiles, market cap, key stats, IPO calendar
  • Funds — ETF & mutual fund profiles, performance, holdings, risk
  • News — company news & press releases
  • Market intelligence — movers, exchange rates, analyst ratings, price targets
  • Regulatory — SEC/EDGAR filings, insider transactions, institutional holdings

Symbol formats: stocks AAPL, crypto BTC/USD, forex EUR/USD.


Partners

Running your own public instance or setting up a dedicated OAuth login? That's a partner arrangement — reach out to us at twelvedata.com and we'll provide the setup guide and OAuth credentials.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "twelvedata-mcp": {
      "command": "",
      "args": []
    }
  }
}

Twelve Data MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Twelve Data MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Twelve Data MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Twelve Data MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "twelvedata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-twelve-data"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてTwelve Data MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Twelve Data MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Twelve Data MCP Serverを使ってこのタスクを手伝ってもらえますか?
Twelve Data MCP Server
はい、読みました。
Twelve Data MCP Serverで調べた結果をお伝えします。

よくある質問

Twelve Data MCP Server MCPサーバーは何に使いますか?

Twelve Data MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでTwelve Data MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでTwelve Data MCP Serverを利用できます。

TypingMindでTwelve Data MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Twelve Data MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Twelve Data MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Twelve Data MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでTwelve Data MCP Server MCPのどのようなツールを利用できますか?

Twelve Data MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Twelve Data MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Twelve Data MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇