get_stock_priceLABSCO SUMMARY
Market questions answered at the level you would ask them.
Price, history, options and the three indicators people actually quote sit behind one connection, so 'how does its RSI look against its moving average' is one exchange rather than a spreadsheet. Repeat questions come from cache; clear it when the answer has to be current.
What it is
Market data on demand from Yahoo Finance: current and historical prices, options chains, company news and dividends, with a few indicators calculated for you.
What you get
- Current price and basic market metrics for a symbol
- Historical price series over a period and interval you choose
- Options chains with strikes, prices and volume, sorted and limited by expiry
- Recent company news headlines
- Dividend history, 5 years by default
- Moving averages over a period you pick, simple or otherwise
- Relative Strength Index, over its default window or one you set
- Sharpe ratio against a risk-free rate you set
- Several symbols compared on a chosen metric
- A cache clear, for when the number has to be fresh rather than reused
Requirements
Python with mcp[cli], yfinance, pandas and numpy installed. No account and no API key — the data comes from Yahoo Finance.
Setup effort
Build from source — git clone https://github.com/Samarth2001/Financial-Data-MCP-Server.git
USE CASES
Checking where something is trading right now
Ask for the symbol and get the current price with the basic metrics around it.
Reading a chart without opening one
Pull the historical series at the interval that matches the question.
Judging whether a move is overextended
Put the moving average and the RSI next to the current price.
Comparing a handful of names
Rank them on performance or another metric in one call instead of four lookups.
Looking at an options position
Get the chain for the expiry you care about, sorted by volume.
Assessing an income holding
Read the dividend history alongside the recent news for that company.
10 tools
Listed in project docs. Your client may show a different list.
get_historical_dataget_options_chainget_company_newsget_dividendscalculate_moving_averagecalculate_rsicalculate_sharpe_ratiocompare_stocksclear_cacheBEFORE YOU INSTALL
What to know first
Tools you get
10 tools named in the project's documentation.
Requires
python on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
git clone https://github.com/Samarth2001/Financial-Data-MCP-Server.git
cd Financial-Data-MCP-Server
pip install "mcp[cli]" yfinance pandas numpyMCP Clients
Claude Desktop
{
"mcpServers": {
"financial-data": {
"command": "python",
"args": [
"<YOUR_PATH_TO_SERVER>"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}