MCP.so
登录

MCP Yfinance

@nicholasf

基本信息

分类

其他

传输方式

stdio

作者

nicholasf

关于 MCP Yfinance

An MCP tool wrapping a common yFinance Ticker history call.

MCP Yfinance 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Yfinance 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Yfinance?

Mcp Yfinance is a simple wrapper around the classic yFinance library that operates as an MCP (Model Context Protocol) tool. It is designed to fetch daily stock prices for individual instruments and returns a Pandas DataFrame to the MCP host, so the host must be able to understand DataFrames. The tool is meant as a demo, starting point, or proof of concept.

How to use Mcp Yfinance?

Register Mcp Yfinance as a command-line extension in your MCP host. For example, in Goose, run goose configure and add an extension with the command uv run server.py. Then start a session with goose session -n yf and invoke the tool with a command like yf__history AAPL. Tests can be run with pytest -v.

Key features of Mcp Yfinance

  • Wraps the yFinance library for financial data.
  • Operates as an MCP tool with a simple interface.
  • Returns historical stock data as a Pandas DataFrame.
  • Supports fetching daily prices for individual instruments.
  • Designed as a demo or proof of concept.

Use cases of Mcp Yfinance

  • Fetching daily stock history for a single ticker symbol.
  • Integrating basic financial data retrieval into an MCP‑based agent workflow.
  • Demonstrating how to wrap an external Python library as an MCP tool.

常见问题

1

What does Mcp Yfinance return?

It returns a Pandas DataFrame containing historical stock data (Open, High, Low, Close, Volume, Dividends, Stock Splits) to the MCP host. The host must be able to interpret DataFrames.

2

Which MCP host was this tested with?

It was written using Goose as the MCP host and Claude Sonnet 3.5 as the integrated LLM.

3

What are the limitations of Mcp Yfinance?

When asking the LLM to perform more advanced aggregations, token limits from Anthropic can be quickly reached. The tool is intended as a demo or proof of concept, not for production use.

4

How do I install Mcp Yfinance?

Register it as a command-line extension in your MCP host. For Goose, you configure it with the command `uv run server.py` and set a timeout (e.g., 5 seconds). No additional environment variables are needed.

5

Does Mcp Yfinance require any special dependencies?

It depends on the yFinance library and runs via `uv run server.py`. Standard Python tooling (pytest, uv) is used.

评论

其他 分类下的更多 MCP 服务器