Yahoo FinanceSAFE
Access Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://pypi.org/project/yfmcp/) [](https://pypi.org/project/yfmcp/) [](https://github.com/narumiruna/yfinance-mcp/actions/workflows/python.yml) [](https://opensource.org/licenses/MIT)
A Model Context Protocol (MCP) server that provides AI assistants with access to Yahoo Finance data via yfinance. Query stock information, financial news, sector rankings, and generate professional financial charts — all from your AI chat.
Features
- Stock Data — Company info, financials, valuation metrics, dividends, and trading data
- Analyst Data — Consensus targets, estimate/revision trends, recommendation history, and firm-level actions
- Financial Statements — Income statement and balance sheet with historical data (EBIT, Invested Capital, etc.)
- Financial News — Recent news articles and press releases for any ticker
- Search — Find stocks, ETFs, and news across Yahoo Finance
- Sector Rankings — Top ETFs, mutual funds, companies, growth leaders, and top performers by sector
- Price History — Historical OHLCV data as markdown tables or professional charts
- Chart Generation — Candlestick, VWAP, and volume profile charts returned as WebP images
- Options Data — Option chains with calls, puts, strike prices, IV, and expiration dates
- Ownership Data — Major holders, institutional investors, mutual fund holders, and insider transactions
- Fund Look-Through — ETF and mutual-fund holdings, asset classes, sectors, ratings, and operating details
- Screeners — Predefined, equity, mutual-fund, and ETF query trees
62eda11a85e6OBSERVED · 2026-10-06Connect
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 mcp add yfmcp -- uvx yfmcp==0.14.0
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (6)
.pre-commit-config.yaml
output_path.write_bytes(base64.b64decode(image.data))
raw = base64.b64decode(result.data)
assert len(base64.b64decode(result.data)) > 0
assert len(base64.b64decode(result.data)) > 0
Gates applied: no_behavioural_pass.
62eda11a85e6full audit observations/trust-audit/mcp-server/narumiruna__yahoo-finance.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-06 | 62eda11a85e6 | SAFE | B | 89 | first audit |
Questions
What is the Yahoo Finance MCP server?
Access Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.
Is Yahoo Finance 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.
What credentials does Yahoo Finance need?
No credential environment variables were found in its source, so it appears to need none.
How does Yahoo Finance run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as yfmcp.
How current is this page?
The grade is for one exact copy of the source (62eda11a85e6), read on 2026-10-06. The repository is watched and re-audited when it changes.