FinanceExpert
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FinanceExpertWhat's the current stock price and trend for AAPL?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-stock-server (FinanceExpert)
A small Model Context Protocol server built with FastMCP. It exposes Yahoo Finance market data (via yfinance) so assistants can fetch quotes, history as CSV, and plain-text Unicode price charts.
Requirements
Python 3.11+
uv (recommended) or another way to install dependencies from
pyproject.toml
Related MCP server: Yahoo Finance MCP Server
Setup
cd mcp-stock-server
uv syncRun (stdio)
The server speaks MCP over stdio (the default for mcp.run()):
uv run python server.pyAdd as an MCP server (Cursor)
Open Cursor Settings → MCP (or edit your MCP JSON config — often
~/.cursor/mcp.jsonon macOS/Linux).Register a stdio server whose working directory is this repo and whose command starts
server.py.
Option A — uv run (recommended)
Replace /absolute/path/to/mcp-stock-server with the real path where you cloned the repo.
{
"mcpServers": {
"FinanceExpert": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/absolute/path/to/mcp-stock-server"
}
}
}After uv sync, this uses the locked dependencies from uv.lock.
Option B — project virtualenv Python
Use this if you prefer not to invoke uv from the MCP client:
{
"mcpServers": {
"FinanceExpert": {
"command": "/absolute/path/to/mcp-stock-server/.venv/bin/python",
"args": ["server.py"],
"cwd": "/absolute/path/to/mcp-stock-server"
}
}
}Create the venv first (from the repo root): uv sync (installs deps into .venv).
Save the config and restart Cursor (or reload MCP). In the MCP panel you should see FinanceExpert with tools
get_stock_analysis,get_historical_prices, andget_stock_price_chart.
Other MCP clients (e.g. Claude Code, editors with MCP support) use the same idea: command + args + cwd for a stdio server.
Tools
Tool | Description |
| Snapshot text: current price, 50-day average, analyst recommendation key (from |
| Daily close column as CSV for a lookback of |
| Box-drawn ASCII/Unicode chart: area fill, price axis, start/end dates on the time axis, and an 8-step sparkline. |
get_stock_price_chart parameters
ticker— Symbol, e.g.INTU,AAPL.days— Used whenperiodis omitted: Yahoo rangeNd(calendar days). Default 30.period— Optional Yahoo period string; when set, it overridesdays. Examples:10y,5y,1y,6mo,ytd,max.
Examples:
Last month of sessions (by calendar days):
days=30Last ten calendar years (Yahoo window):
period="10y"
Market data comes from Yahoo through yfinance; semantics match yfinance history(period=...).
Disclaimer
Quotes and history are informational only, not investment advice. Yahoo data can lag or contain errors; verify independently for decisions.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables querying Yahoo Finance data including stock prices, historical data, financial statements, dividends, news, analyst recommendations, and company information through the yfinance library.Last updated
- Alicense-qualityDmaintenanceEnables LLMs to retrieve stock market data and financial information from Yahoo Finance using the yfinance Python library. Supports querying stock prices, historical data, and other financial metrics through natural language.Last updatedMIT
- AlicenseAqualityFmaintenanceEnables retrieval of comprehensive financial data from Yahoo Finance, including stock prices, company info, financial statements, options, and news, for stock analysis and market research.Last updated9332MIT
- AlicenseAqualityCmaintenanceProvides access to Yahoo Finance data including real-time stock quotes, historical prices, financial statements, company info, symbol search, and news.Last updated6641MIT
Related MCP Connectors
Real-time stock quotes and technical signals: RSI, MACD, SMA crossovers via Yahoo Finance.
Look up the latest stock prices by ticker symbol across global markets. Get current price and esse…
Live and historical cryptocurrency prices via CoinGecko free API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/geddamsatish/mcp-stock-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server