金融データセットMCPサーバー
導入
これは、金融データセットから株式市場データへのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバーです。
これにより、Claude や他の AI アシスタントは、MCP インターフェースを介して損益計算書、貸借対照表、キャッシュフロー計算書、株価、市場ニュースを直接取得できるようになります。
利用可能なツール
この MCP サーバーは次のツールを提供します。
get_income_statements : 会社の損益計算書を取得します。
get_balance_sheets : 会社の貸借対照表を取得します。
get_cash_flow_statements : 企業のキャッシュフロー計算書を取得します。
get_current_stock_price : 企業の現在の/最新の価格を取得します。
get_historical_stock_prices : 企業の過去の株価を取得します。
get_company_news : 企業のニュースを取得します。
get_available_crypto_tickers : 利用可能なすべての暗号通貨ティッカーを取得します。
get_crypto_prices : 暗号通貨の過去の価格を取得します。
get_historical_crypto_prices : 暗号通貨の過去の価格を取得します。
get_current_crypto_price : 暗号通貨の現在の/最新の価格を取得します。
設定
前提条件
Python 3.10以上
UVパッケージマネージャー
インストール
このリポジトリをクローンします:
git clone https://github.com/financial-datasets/mcp-server cd mcp-serveruv がインストールされていない場合はインストールしてください。
# macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows curl -LsSf https://astral.sh/uv/install.ps1 | powershell依存関係をインストールします:
# Create virtual env and activate it uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install dependencies uv add "mcp[cli]" httpx # On Windows: uv add mcp[cli] httpx環境変数を設定します。
# Create .env file for your API keys cp .env.example .env # Set API key in .env FINANCIAL_DATASETS_API_KEY=your-financial-datasets-api-keyサーバーを実行します。
uv run server.py
Claudeデスクトップに接続しています
Claude Desktopをまだインストールしていない場合はインストールしてください
Claude Desktop 構成ファイルを作成または編集します。
# macOS mkdir -p ~/Library/Application\ Support/Claude/ nano ~/Library/Application\ Support/Claude/claude_desktop_config.json次の構成を追加します。
{ "mcpServers": { "financial-datasets": { "command": "/path/to/uv", "args": [ "--directory", "/absolute/path/to/financial-datasets-mcp", "run", "server.py" ] } } }/path/to/uv``which uv
の結果に置き換え、/absolute/path/to/financial-datasets-mcp
をこのプロジェクトへの絶対パスに置き換えます。Claudeデスクトップを再起動します
Claude Desktopのツールメニュー(ハンマーアイコン)に利用可能な財務ツールが表示されるはずです。
クロードに次のような質問をしてみてください。
「Apple の最近の損益計算書はどうですか?」
「テスラ株の現在の価格を教えてください」
「2024年1月1日から2024年12月31日までのMSFTの過去の価格を取得します」
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
モデル コンテキスト プロトコル インターフェースを通じて、AI アシスタントに財務諸表、株価、市場ニュースなどの株式市場データへのアクセスを提供する MCP サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.Last updated -72MIT License
- -securityAlicense-qualityAn MCP server that integrates with the AlphaVantage financial data API, providing access to stock market data, technical indicators, and fundamental financial information.Last updated -MIT License
- -securityFlicense-qualityProvides real-time access to global stock market data including current prices, historical charts, and company financial information through a Model Context Protocol (MCP) server for AI assistants.Last updated -
- AsecurityFlicenseAqualityMCP server that exposes Alpaca Market Data & Broker API as tools, enabling access to financial data like stock bars, assets, market days, and news through the Message Control Protocol.Last updated -402