Atlas / MCP servers / adity-star / YFinance Stock Server

YFinance Stock ServerSAFE

mcp/adity-star/yfinance-stock-server

Real-time stock API with Python, MCP server example, yfinance stock analysis dashboard

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
17 15r · 1w · 1d
Transport
—
License
MIT
Stars
53
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://mseep.ai/app/adity-star-mcp-yfinance-server)

[](https://spark.entire.vc/assets/vb-yfinance?utmsource=github&utmmedium=readme) [](https://spark.entire.vc/assets/vb-yfinance?utmsource=github&utmmedium=readme)

This project sets up a stock Price server powered by the Yahoo Finance (YFinance) API and built for seamless integration with MCP (Model Control Protocol).

It allows AI agents or clients to:

  • Retrieve real-time stock data
  • Manage a watchlist
  • Perform full stock analysis
  • Run full technical indicators
  • And much more

🪙 Start Simple: Build a Crypto Price Tracker First

Before diving into the full-blown stock server, I recommend starting with this simple crypto tracker built with Python + MCP 👇

🔗 GitHub Repo: https://github.com/Adity-star/mcp-crypto-server

You'll learn how to: - Use MCP to expose crypto tools like get_price("BTC") - Build an API with FastAPI - Fetch real-time prices using the Alpaca API

🔗 Related Projects

Explore more of my work:

Read from source at commit 5f0e430740b5OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-yfinance-server -- uvx mcp-yfinance-server
claude-desktop
{
  "mcpServers": {
    "mcp-yfinance-server": {
      "command": "uvx",
      "args": [
        "mcp-yfinance-server"
      ]
    }
  }
}
03

Exposed tools (17)

15 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_to_watchlistwriteAdd a stock symbol to the user
compare_stocksreadCompare two stocks
get_bollinger_bandsreadCalculate Bollinger Bands for a given stock symbol.
get_financial_statementread
get_historical_stock_pricesread
get_holder_inforeadGet holder information for a given ticker symbol.
get_macdreadCalculate the Moving Average Convergence Divergence (MACD) indicator for a given stock symbol.
get_moving_averagesreadCalculate multiple Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) for a stock.
get_recommendationsreadGet recommendations or upgrades/downgrades for a given ticker symbol
get_rsireadCalculate the Relative Strength Index (RSI) for a given stock symbol.
get_stock_inforead
get_stock_priceread
get_technical_summaryread
get_watchlistreadRetrieve all stock symbols currently in the watchlist.
get_watchlist_pricesreadFetch the current prices for all stocks in the watchlist
get_yahoo_finance_newsreadGet the latest news articles related to a stock ticker from Yahoo Finance.
remove_from_watchlistdestructiveRemove a stock symbol from the user
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
remove_from_watchlist
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
httpx, mcp, yfinance, pandas, numpy, matplotlib, ipython, fastmcp
Why it matters. 11 requirement(s) not pinned with ==
Fix. pin exact versions
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:72
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 5f0e430740b5full audit observations/trust-audit/mcp-server/adity-star__yfinance-stock-server.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-085f0e430740b5SAFEB89first audit
06

Questions

What is the YFinance Stock Server MCP server?

Real-time stock API with Python, MCP server example, yfinance stock analysis dashboard

What tools does YFinance Stock Server expose?

17 in total: 15 read-only, 1 that write, and 1 that can delete or overwrite (remove_from_watchlist). Every one is listed on this page with its risk.

Is YFinance Stock Server safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does YFinance Stock Server need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (5f0e430740b5), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement