Skip to main content
Glama

MCP Yahoo Finance

by maxscheijen
MIT License
12

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 -
          20
          Python
          MIT License
        • A
          security
          A
          license
          A
          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 -
          11
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server built with FastMCP that provides financial data tools for AI agents, enabling them to access and analyze stock market information from Yahoo Finance through natural language queries.
          Last updated -
          2
          Python
        • -
          security
          A
          license
          -
          quality
          Provides real-time financial data from Yahoo Finance to Large Language Models through the Model Context Protocol, enabling AI models to access stock prices, historical data, and company information.
          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