MCP servers that can look up a stock price
4 verified servers expose a tool that can look up a stock price
Ask an agent what a stock is trading at and it cannot answer from training data: the number moved since the cutoff. A market-data server gives it a tool to pull the current price, or the history, the moment it needs them.
These verified servers let an agent look up a stock price, from a single real-time quote to years of history.
Yahoo Finance
Alex Yang
A maintained MCP server that gives agents Yahoo Finance data — prices, fundamentals, financial statements, options, holders, and news.
get_historical_stock_pricesget_stock_info
get_historical_stock_prices returns OHLCV history over any period, and get_stock_info adds a snapshot of price, valuation, and company details, the broad free option built on Yahoo Finance data.
Twelve Data
Twelve Data
Twelve Data's official MCP server gives agents real-time and historical market data, fundamentals, and 100+ technical indicators across global markets.
GetPriceGetQuote
GetPrice returns the latest real-time price and GetQuote the full open-high-low-close-volume quote, a clean keyed API for when you want the current number rather than the history.
Alpha Vantage
Alpha Vantage
Alpha Vantage's official MCP server gives agents real-time and historical stock, forex, crypto, and economic data.
GLOBAL_QUOTE
GLOBAL_QUOTE returns the latest price and volume for a ticker in a single call, the simplest real-time lookup of the set.
Alpaca
Alpaca
Alpaca's official MCP server lets an agent trade stocks, options, and crypto, manage positions, and pull market data in plain English.
get_stock_barsget_stock_quotes
get_stock_bars and get_stock_quotes return historical price data alongside Alpaca's order tools, so an agent that reads a quote can act on it in the same server.
What to know
The split here is real-time versus historical, and free versus keyed. Twelve Data and Alpha Vantage return a current quote in one call. yfinance leans historical, with OHLCV bars over a chosen period plus a fuller company snapshot. Alpaca returns historical bars and quotes next to its trading tools, so the same server that reads a price can also place an order. Watch the data licensing, though: free tiers often serve delayed quotes, which is fine for a summary and wrong for anything time-sensitive.
Prices are the most perishable data on this directory, so caching the number itself buys nothing. What an agent does want to carry forward is the analysis it built on top: which tickers it is tracking and why, so the next session starts from that rather than rebuilding the watchlist from scratch.
Questions
- Real-time or delayed prices?
- Depends on the server and your plan. Twelve Data and Alpha Vantage return real-time quotes on their paid tiers and often delayed ones on free tiers. yfinance reads Yahoo Finance data, fine for history and snapshots but not a trading-grade feed. Check the data licensing before you wire a price into anything time-sensitive.
- Can an agent also trade, not only read prices?
- Through Alpaca, yes. The same server exposes get_stock_bars and get_stock_quotes for reading and order-placement tools for acting, so an agent can move from a price to a trade. The others here are read-only market data.