CM

catherinedparnell/mcp-finnhub

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

9 stars 10 forks 品質 29 トレンド 7

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

  • 推奨トレンドエンドポイントから特定の在庫の推奨トレンドを取得する

設定

  1. uv syncを実行して、依存関係をインストールします。 インストールするには [uv] ここに指示に従ってください。 source .venv/bin/activate を実行します。

  2. Finnhub API キーの資格情報を持つ[.envファイルを設定します。

3。 [fastmcp install server.pyを実行して、サーバーをインストールします。

  1. 設定ファイルを開きます。
  • macOSの場合: [~/Library/Application Support/Claude/claude_desktop_config.json
  • Windowsの場合: [%APPDATA%/Claude/claude_desktop_config.json
  1. [uvのコマンドエントリを探し、[uv]の実行可能パスに置換します。 サーバ起動時に[uvの正しいバージョンが使用されることを保証します。

  2. 変更を加えるためにClaudeデスクトップを再起動して下さい。

開発

MCP サーバーを起動するには、[fastmcp dev server.py] を実行します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

Finnhub MCP Server

An MCP server to interface with Finnhub API.

Tools

Configuration

  1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.

  2. Setup the .env file with the Finnhub API Key credentials.

FINNUB_API_KEY=
  1. Run fastmcp install server.py to install the server.

  2. Open the configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. Locate the command entry for uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server.

  4. 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.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →