Financial Data MCP Server

by samarth2001

Not rated
GitHub

About

Provides real-time financial market data from Yahoo Finance.

Details

Author
samarth2001
Categories
Web Scraping, Finance, Other

Setup

Install Financial Data MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/samarth2001/Financial-Data-MCP-Server

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides AI assistants with real-time financial market data through Yahoo Finance.

- Stock Data: Current prices, historical data, market metrics
- Options: Options chains with strikes, prices, and volume
- Technical Analysis: Moving averages, RSI, Sharpe ratio
- Comparisons: Compare multiple stocks across metrics
- News: Get recent company news headlines
- Dividends: Get dividend history for a stock

pip install "mcp[cli]" yfinance pandas numpy
{ "mcpServers": { "financial-data": { "command": "python", "args": ["path/to/server.py"], "env": { "PYTHONUNBUFFERED": "1" } } } }

Here is a detailed list of the tools available through this server.

get_historical_data(symbol: str, period: str = "1mo", interval: str = "1d")

get_options_chain(symbol: str, expiration_date: Optional[str] = None, sort_by: Optional[str] = "volume", limit: int = 20, descending: bool = True)

get_company_news(symbol: str, limit: int = 5)

get_dividends(symbol: str, period: str = "5y")

-

calculate_moving_average(symbol: str, period: int = 20, ma_type: str = "SMA")

calculate_rsi(symbol: str, period: int = 14)

Calculate Relative Strength Index (RSI) for a stock.

calculate_sharpe_ratio(symbol: str, period: str = "1y", risk_free_rate: float = 0.05)

- compare_stocks(symbols: List[str], metric: str = "performance")

Compare multiple stocks by various metrics.

- clear_cache()

Clear the cache to force fresh data retrieval.

"What's the current price of AAPL?" "Show me TSLA's 50-day moving average" "Compare AAPL, MSFT, and GOOGL performance" "Get SPY options expiring this Friday" "What is the latest news for NVDA?" "Show me the dividend history for KO over the last 10 years."

- Missing modules: Runpip install yfinance pandas numpy "mcp[cli]"
- No data: Verify ticker symbol and internet connection
- Server issues: Check Python path in config, restart Claude Desktop

- Data from Yahoo Finance (15-20 minute delay)
- Automatic caching and rate limiting
- For informational purposes only

Fetches USD and EUR prices from the Cuban parallel market via eltoque.com.

Stock prices, cryptocurrency data, exchange rates, and portfolio tracking

Model Context Protocol Servers for Orlen Wholesale Price.

Interact with Yahoo Finance to get stock data, market news, and financial information using the yfinance Python library.

Fetch stock data, news, and financial information from Yahoo Finance.

Provides comprehensive financial data from Yahoo Finance, including historical prices, company info, financial statements, and market news.

Stock quotes, options chains, earnings data, and financial statements

Turn Claude into a personal Indian equity analyst powered by live Screener.in data.

Enable AI agents to get structured data from unstructured web with AgentQL.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.