
financial-datasets/mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Financial Datasets stock market APIとやり取りするためのMCPサーバーです。
概要
これはモデルコンテキストプロトコル(MCP)サーバーで、金融データセットから株式市場データへのアクセスを提供します。 これにより、Claudeや他のAIアシスタントは、MCPインターフェースを通じて損益計算書、貸借対照表、キャッシュフロー計算書、株価、市場ニュースを直接取得できます。 このMCPサーバーは以下のツールを提供します:- : 企業の損益計算書を取得します。- : 企業の貸借対照表を取得します。- : 企業のキャッシュフロー計算書を取得します。- : 企業の現在または最新の価格を取得します。- : 企業の過去の株価を取得します。- : 企業のニュースを取得します。- : 利用可能なすべての暗号資産ティッカーを取得します。- : 暗号通貨の過去の価格を取得します。- : 暗号通貨の過去の価格を取得します。- : 暗号通貨の現在または最新の価格を取得します。 - Python 3.10以降 - uvパッケージマネージャー 2. UVがインストールされていない場合は、取り付けてください: 1. まだインストールしていなければClaude Desktopをインストールしてください 2. Claude Desktopの設定ファイルを作成または編集する: 3.
概要(AI 翻訳)
はじめに
これはモデルコンテキストプロトコル(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パッケージマネージャー
就任
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Financial Datasets MCP Server
Introduction
This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.
It allows Claude and other AI assistants to retrieve income statements, balance sheets, cash flow statements, stock prices, and market news directly through the MCP interface.
Available Tools
This MCP server provides the following tools:
- get_income_statements: Get income statements for a company.
- get_balance_sheets: Get balance sheets for a company.
- get_cash_flow_statements: Get cash flow statements for a company.
- get_current_stock_price: Get the current / latest price of a company.
- get_historical_stock_prices: Gets historical stock prices for a company.
- get_company_news: Get news for a company.
- get_available_crypto_tickers: Gets all available crypto tickers.
- get_crypto_prices: Gets historical prices for a crypto currency.
- get_historical_crypto_prices: Gets historical prices for a crypto currency.
- get_current_crypto_price: Get the current / latest price of a crypto currency.
Setup
Prerequisites
- Python 3.10 or higher
- uv package manager
Installation
-
Clone this repository:
git clone https://github.com/financial-datasets/mcp-server cd mcp-server -
If you don’t have uv installed, install it:
# macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows curl -LsSf https://astral.sh/uv/install.ps1 | powershell -
Install dependencies:
# 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 -
Set up environment variables:
# 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 -
Run the server:
uv run server.py
Connecting to Claude Desktop
-
Install Claude Desktop if you haven’t already
-
Create or edit the Claude Desktop configuration file:
# macOS mkdir -p ~/Library/Application\ Support/Claude/ nano ~/Library/Application\ Support/Claude/claude_desktop_config.json -
Add the following configuration:
{ "mcpServers": { "financial-datasets": { "command": "/path/to/uv", "args": [ "--directory", "/absolute/path/to/financial-datasets-mcp", "run", "server.py" ] } } }Replace
/path/to/uvwith the result ofwhich uvand/absolute/path/to/financial-datasets-mcpwith the absolute path to this project. -
Restart Claude Desktop
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"financial-datasets": {
"command": "/path/to/uv",
"args": [
"--directory",
"/absolute/path/to/financial-datasets-mcp",
"run",
"server.py"
]
}
}
}