MCP Server for Interacting with Yahoo Finance
The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.
This project provides a simple implementation that allows LLM to interact with Yahoo Finance through the yfinance Python library.
The server uses fastmcp and runs within a Docker container to ensure portability.
Installation
Using python & pip:
Alternative - using Docker:
Configuration
If installed using python & pip, add this item in MCP settings:
If installed using Docker, add this item in MCP settings:
Example
In your LLM interface, e.g. Cline, you can ask something like: