
catherinedparnell/mcp-finnhub
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Finnhub API でインターフェイスする MCP サーバー.
概要
Finnhub API でインターフェイスする MCP サーバー。 - Finnhub市場のニュースエンドポイントから最新の市場ニュースをリスト - 引用エンドポイントから特定の株式の市場データを取得する - 基本的な財務エンドポイントから特定の株式の基本的な財務を取得する - get recommendation trends - 推奨トレンドエンドポイントから特定の在庫の推奨トレンドを取得する 1。 uv syncを実行して、依存関係をインストールします。 uvをインストールするには、ここに指示に従ってください. それからソース.venv/bin/activateをします。 2. .env ファイルを Finnhub API Key 認証情報で設定します。 3. サーバをインストールするには、fastmcp install server.py を実行します.
概要(AI 翻訳)
Finnhub API でインターフェイスする MCP サーバー。
ツール
-
[
list_news] -
Finnhub市場のニュースエンドポイントから最新の市場ニュースをリスト
-
[
get_market_data -
引用エンドポイントから特定の株式の市場データを取得する
-
[
get_basic_financials -
基本的な財務エンドポイントから特定の株式の基本的な財務を取得する
-
[
get_recommendation_trends -
推奨トレンドエンドポイントから特定の在庫の推奨トレンドを取得する
設定
-
uv syncを実行して、依存関係をインストールします。 インストールするには [uv] ここに指示に従ってください。source .venv/bin/activateを実行します。 -
Finnhub API キーの資格情報を持つ[
.envファイルを設定します。
3。 [fastmcp install server.pyを実行して、サーバーをインストールします。
- 設定ファイルを開きます。
- macOSの場合: [
~/Library/Application Support/Claude/claude_desktop_config.json - Windowsの場合: [
%APPDATA%/Claude/claude_desktop_config.json
-
[
uvのコマンドエントリを探し、[uv]の実行可能パスに置換します。 サーバ起動時に[uvの正しいバージョンが使用されることを保証します。 -
変更を加えるためにClaudeデスクトップを再起動して下さい。
開発
MCP サーバーを起動するには、[fastmcp dev server.py] を実行します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Finnhub MCP Server
An MCP server to interface with Finnhub API.
Tools
-
list_news- List latest market news from Finnhub market news endpoint
-
get_market_data- Get market data for a particular stock from quote endpoint
-
get_basic_financials- Get basic financials for a particular stock from basic financials endpoint
-
get_recommendation_trends- Get recommendation trends for a particular stock from recommendation trend endpoint
Configuration
-
Run
uv syncto install the dependencies. To installuvfollow the instructions here. Then dosource .venv/bin/activate. -
Setup the
.envfile with the Finnhub API Key credentials.
FINNUB_API_KEY=
-
Run
fastmcp install server.pyto install the server. -
Open the configuration file located at:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
- On macOS:
-
Locate the command entry for
uvand replace it with the absolute path to theuvexecutable. This ensures that the correct version ofuvis used when starting the server. -
Restart Claude Desktop to apply the changes.
Development
Run fastmcp dev server.py to start the MCP server. MCP inspector is helpful for investigating and debugging locally.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →