yfinance-ai: Yahoo Finance
PYPI · YFINANCE-AI
Yahoo Finance in 68 tools: stocks, crypto, forex, commodities, funds, options, analysts, calendars.
Available components
Last scanned (11 hours ago)
Scores higher than 70% of PyPI servers
Category Finance and Payments
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security50
- Malware scan not yet available for this package.Unverified
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 1 of 48 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to lkcair/yfinance-ai-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 15 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability73
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 4413 tokens (~64/item across 68 items; 68 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management50
- Stability observed for 15 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 68 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 69 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
Checks we ran (15)
- Known CVEs
- Install scripts
- Dependency health
- Source repository
- Provenance
- License
- Maintenance
- Security disclosure
- Schema quality
- Stability
- Tool coverage
- Injection markers
- Destructive annotations
- Judged manipulation
- MCP protocol
Checks we could not complete (1)
These are gaps on our side, not findings about this package. We only credit what we can confirm, so a category made up entirely of them scores 0.
- Malware scan in Supply Chain SecurityMalware scan not yet available for this package.
Does not apply to this package (2)
- Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
- Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
The score does not measure everything. What the score does not measure →
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- 4 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 3 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- 1 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.
- 30 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.
- 29 Oct 26 +15
- Malware scan: unverified → pass ▲ security
- 28 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.
- 27 Oct 26 +2
- Stability: unverified → 0.20 ▲ functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/yfinance-ai@5.0.5
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | lkcair/yfinance-ai-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/lkcair/yfinance-ai-mcp/.github/workflows/publish.yml@refs/tags/v5.0.5 |
| Rekor log index | 3349962077 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:6e19f5a5398de8c08ff8c5de7f571dcf901b9795920dbe5bd9ee42626b982793 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | Known build tool | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 48 packages
| Packages resolved | 48 |
|---|---|
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
get_peer_comparison Peer Comparison ~62
Compare a stock with its peers on key metrics. Returns: Comparison table of key metrics across stocks
| Name | Type | Req | Description |
|---|---|---|---|
| peers | string | – | Optional comma-separated peer tickers (if not provided, uses sector peers) |
| ticker | string | yes | Primary stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_sec_filings SEC Filings ~48
Get recent SEC filings (10-K, 10-Q, 8-K, etc.). Returns: Recent SEC filings with types and dates
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_sector_overview Sector Overview ~78
Get a sector overview: size, weight, largest companies, industries and sector ETFs. Returns: Sector summary with top companies and its industries
| Name | Type | Req | Description |
|---|---|---|---|
| sector | string | – | basic-materials, communication-services, consumer-cyclical, consumer-defensive, energy, financial-services, healthcare, industrials, real-estate, technology, utilities |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_sector_performance Sector Performance ~29
Get performance of major market sectors. Returns: Performance data for major S&P 500 sectors
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_shares_history Shares History ~60
Get shares outstanding over time (dilution or buybacks). Returns: Shares outstanding at several points and the total change
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| years | integer | – | How many years back (default 3) |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_splits_calendar Splits Calendar ~54
Get upcoming stock splits. Returns: Table of upcoming splits with ratios
| Name | Type | Req | Description |
|---|---|---|---|
| days | integer | – | Look-ahead window in days (default 14) |
| limit | integer | – | Max splits (default 25) |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_stock_news Stock News ~56
Get recent news articles about a stock. Returns: Recent news headlines, sources, and links
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Maximum number of news articles to return (default 10) |
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_stock_price Stock Price ~67
Get current stock price and key metrics for a ticker symbol. Returns: Formatted string with current price, market cap, P/E ratio, and other key metrics
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol (e.g., 'AAPL', 'TSLA', 'SPY') |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_stock_quote Stock Quote ~50
Get detailed quote with bid/ask, day range, and trading info. Returns: Detailed quote information including bid/ask spreads and intraday trading data
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_stock_splits Stock Splits ~36
Get stock split history. Returns: Complete stock split history with dates and ratios
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_trending_tickers Trending Tickers ~48
Get today's most active (trending) US tickers. Returns: List of trending tickers with basic info
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | – | Number of trending tickers to return |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_ttm_financials TTM Financials ~62
Get trailing-twelve-month (TTM) income statement and cash flow. Returns: Key TTM lines: revenue, gross profit, operating income, net income, EBITDA, EPS, cash flows
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_upcoming_earnings Upcoming Earnings ~70
Get the market-wide earnings calendar (which companies report in the next N days). Returns: Companies with report date, timing and EPS estimate
| Name | Type | Req | Description |
|---|---|---|---|
| days | integer | – | Look-ahead window in days (default 7) |
| limit | integer | – | Max companies (default 25) |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_upgrades_downgrades Upgrades and Downgrades ~66
Get detailed analyst upgrades and downgrades history. Returns: Recent analyst rating changes including firm, action, and grade changes
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Maximum number of rating changes to return (default 20) |
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
get_valuation_history Valuation History ~61
Get valuation measures now and for the last quarters (market cap, EV, P/E, PEG, P/S, P/B, EV/EBITDA). Returns: Table of valuation measures by quarter
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Stock ticker symbol |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
run_self_test Self-Test ~105
Run comprehensive self-test of the yfinance-ai tools (64 checks). This function is designed to be called by AI assistants to verify that all tools are working correctly. It tests each tool category, reports success/failure status, and shows sample data from each test. Returns: Comprehensive test report with pass/fail status and sample data for all tools
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | – | Ticker symbol to use for testing (default: SPY - reliable ETF with full data) |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
search_ticker Search Ticker ~40
Search for ticker symbols by company name or keyword. Returns: List of matching tickers
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | yes | Company name or keyword to search |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
validate_ticker Validate Ticker ~42
Validate if a ticker symbol exists and is tradeable. Returns: Validation result with ticker details if valid
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | string | yes | Ticker symbol to validate |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
How do I install the yfinance-ai: Yahoo Finance MCP server?
yfinance-ai: Yahoo Finance runs locally as a PyPI package, launched with uvx yfinance-ai. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · yfinance-ai
claude mcp add lkcair-yfinance-ai -- uvx yfinance-ai
What is the yfinance-ai: Yahoo Finance MCP server?
yfinance-ai: Yahoo Finance is an MCP server listed in the public MCP registry as io.github.lkcair/yfinance-ai. Yahoo Finance in 68 tools: stocks, crypto, forex, commodities, funds, options, analysts, calendars. This page covers its PyPI package (yfinance-ai).
Is the yfinance-ai: Yahoo Finance MCP server safe to use?
yfinance-ai: Yahoo Finance scores 73 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the yfinance-ai: Yahoo Finance MCP server expose?
yfinance-ai: Yahoo Finance exposes 68 tools: compare_stocks, download_multiple_tickers, get_analyst_estimates, get_analyst_price_targets, get_analyst_recommendations, and 63 more. Their descriptions and schemas cost roughly 3,923 tokens of context every time the server is loaded.
Is the yfinance-ai: Yahoo Finance MCP server still maintained?
yfinance-ai: Yahoo Finance is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the yfinance-ai: Yahoo Finance MCP server under?
yfinance-ai: Yahoo Finance declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.
What did VerifyMCP test on the yfinance-ai: Yahoo Finance MCP server?
VerifyMCP ran 15 checks on yfinance-ai: Yahoo Finance, covering Known CVEs, Install scripts, Dependency health, Source repository and 11 more. One item could not be completed, a gap on our side rather than a finding about yfinance-ai: Yahoo Finance: Malware scan. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.