MCP.so
ログイン

Stock Price MCP Server

@ekadetov

Stock Price MCP Server について

A Simple MCP Server

基本情報

カテゴリ

金融とコマース

ランタイム

python

トランスポート

stdio

公開者

ekadetov

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Stock Price MCP Server?

A Model Context Protocol server that provides stock price information using the yfinance library, enabling tools to fetch prices, historical data, and compare stocks.

How to use Stock Price MCP Server?

Clone the repository, install dependencies with pip install -r requirements.txt, then run python stock_price_server.py. Use tools like get_stock_price(symbol) or resources at stock://{symbol}.

Key features of Stock Price MCP Server

  • Fetch current stock prices for any ticker
  • Retrieve historical stock data in CSV format
  • Compare prices between two stocks
  • Expose stock data via resource interface

Use cases of Stock Price MCP Server

  • Get latest price for a specific stock symbol
  • Compare two stocks for investment decisions
  • Retrieve historical data for analysis
  • Integrate stock data into AI assistants via MCP

FAQ from Stock Price MCP Server

What are the runtime dependencies?

Python 3.7+, mcp-server, yfinance, FastAPI, and Uvicorn.

How does it handle invalid ticker symbols?

Returns appropriate error messages instead of crashing.

Where does the stock data come from?

It uses the yfinance library to fetch data from Yahoo Finance.

How are market closures handled?

The server manages market closures and provides fallback price information.

コメント

「金融とコマース」の他のコンテンツ