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.

评论

金融与商务 分类下的更多 MCP 服务器