Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP yfinance server

MCP server by Adity-star Verified · gh:adity-star

Provides a stock price MCP server built on the Yahoo Finance yfinance library. It lets AI assistants fetch prices, manage a watchlist and run technical analysis. Aimed at developers building stock tracking tools.

  • Score 58
  • 54 stars
  • MIT
  • Updated

Install MCP yfinance server

Built from the published package, never by AI.

claude mcp add mcp-yfinance-server -- uvx mcp-yfinance-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP yfinance server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-yfinance-server block.

About

MCP YFinance Stock Server is a Python server that uses the Yahoo Finance (yfinance) API and exposes stock data to AI agents and clients through MCP. According to the source, it can retrieve real-time stock data, manage a watchlist, perform full stock analysis and run technical indicators such as RSI, MACD and moving averages. The README also lists a full-featured dashboard and trend and momentum indicators.

The server is started with uv run main.py and added to an MCP client configuration. The README uses Claude Desktop for testing. The author describes it as a more advanced follow-up to a simpler crypto price tracker project. It is aimed at developers who want to build stock tracking bots, dashboards or AI-driven financial tools. The project is released under the MIT license.

Written from the project's README and checked against it.

Tools it gives your assistant

  • add_to_watchlistAdds a stock ticker to a personal watchlist.
  • analyze_stockPerforms a 1-month technical trend analysis using RSI, MACD and moving averages.
  • get_technical_summaryGenerates a technical summary including indicators and signals.
  • get_watchlist_pricesFetches the most recent prices for all watchlisted tickers.
  • get_trend_analysissAnalyzes recent trend shifts, patterns and divergences.
  • get_stock_priceRetrieves the current price for a given ticker symbol.
  • get_volatility_analysisCalculates historical volatility and ATR metrics.
  • compare_stocksCompares two stock prices for relative performance analysis.

What you need

  • Python
  • uv package manager
  • Claude Desktop or another MCP-compatible client

Try asking

  • Compare the stock prices of Tesla and Apple.
  • Get the historical data for Tesla over the past month.
  • Add Apple, Tesla and Reliance to my watchlist.

Good to know

  • The README describes price updates as real-time(ish).
  • The tool table lists 8 tools, while the README says there are 18 in total. The full list is in a separate file.

Security check

B
  • Downloads a script from the internet and runs it (a well-known installer)In README.md: curl -LsSf https://astral.sh/uv/install.sh | sh

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP yfinance server

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

MCP yfinance server: common questions

Which data source does the MCP YFinance server use?

It uses the Yahoo Finance API through the yfinance library, according to the README.

Is this the same as the crypto price tracker?

No. The README presents the crypto tracker as a separate, simpler starter project that uses the Alpaca API.

What license is the project released under?

The project is released under the MIT license, with copyright held by Ak Aditya for 2025.

How do I install MCP yfinance server?

In Claude Code run claude mcp add mcp-yfinance-server -- uvx mcp-yfinance-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP yfinance server the official server?

MCP yfinance server is published by gh:adity-star from its verified domain in the official MCP Registry.

Is MCP yfinance server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP yfinance server safe to use?

It scores 58 of 100. Grades: maintenance D, licence A, quality B. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.

What are alternatives to MCP yfinance server?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does MCP yfinance server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP yfinance server Install

Add to stack

Loading.