Skip to main content
Glama

MCP Yahoo Finance

by maxscheijen

MCP ヤフーファイナンス

Yahoo!ファイナンスとのやり取りのためのモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、価格や企業情報などを取得するためのツールを提供します。

mcp-yahoo-finance現在開発初期段階にあります。サーバーの開発と改善に伴い、機能と利用可能なツールは変更・拡張される可能性があります。

インストール

uvを使用する場合、 mcp-yahoo-finance手動でインストールする必要はありません。uvx uvx使用してmcp-yahoo-financeを直接実行します。

単に MCP サーバーを使用したいだけの場合は、この方法を使用することをお勧めします。

pipの使用

pipを使用します。

pip install mcp-yahoo-finance

Gitの使用

リポジトリをマシンにクローンした後でパッケージをインストールすることもできます。

git clone git@github.com:maxscheijen/mcp-yahoo-finance.git cd mcp-yahoo-finance uv sync

構成

クロードデスクトップ

これをclaude_desktop_config.jsonに追加します:

{ "mcpServers": { "yahoo-finance": { "command": "uvx", "args": ["mcp-yahoo-finance"] } } }

docker を使用することもできます:

{ "mcpServers": { "yahoo-finance": { "command": "docker", "args": ["run", "-i", "--rm", "IMAGE"] } } }

VSコード

これを.vscode/mcp.jsonに追加します:

{ "servers": { "yahoo-finance": { "command": "uvx", "args": ["mcp-yahoo-finance"] } } }

質問の例

  1. 「アップルの株価はいくらですか?」
  2. 「AppleとGoogleの株価の差はどれくらいですか?」
  3. 「2024年1月1日から2025年1月1日の間にAppleの株価はどれくらい変化したでしょうか?」

建てる

ドッカー:

docker build -t [IMAGE] .

MCP Inspectorでテストする

npx @modelcontextprotocol/inspector uv run mcp-yahoo-finance
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Yahoo Finance と対話して、自然言語クエリを通じて株価、企業情報、過去の財務データを取得できるようにするモデル コンテキスト プロトコル サーバー。

  1. インストール
    1. pipの使用
    2. Gitの使用
  2. 構成
    1. クロードデスクトップ
    2. VSコード
  3. 質問の例
    1. 建てる
      1. MCP Inspectorでテストする

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.
          Last updated -
          4
          Python
          MIT License
        • -
          security
          -
          license
          -
          quality
          A Model Context Protocol server that enhances LLM capabilities by connecting to Wikipedia, internet search (Tavily), and financial data (Yahoo Finance) tools, enabling contextual responses to user queries.
          Last updated -
          Python
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server providing tools for querying A-share stock market data, including historical prices, financial reports, market indices, and macroeconomic indicators.
          Last updated -
          28
          178
          Python
          MIT License
        • -
          security
          -
          license
          -
          quality
          A Model Context Protocol server that provides tools for interacting with Yahoo Finance, allowing users to retrieve stock prices, company information, and perform financial data comparisons.
          Last updated -
          Python
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/maxscheijen/mcp-yahoo-finance'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server