Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

yfinance-ai: Yahoo Finance

PYPI · YFINANCE-AI

Yahoo Finance in 68 tools: stocks, crypto, forex, commodities, funds, options, analysts, calendars.

Available components

−11 this week 73 Trust /100

Last scanned (11 hours ago)

Scores higher than 70% of PyPI servers

Category Finance and Payments

Trust breakdown (7 categories)

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
What we tested

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 →

Changelog

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
Diagnostics

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 →

MCP tools · 68 exposed · ~3,923 tokens

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 →

Tool Tokens
get_peer_comparison ~62

Compare a stock with its peers on key metrics. Returns: Comparison table of key metrics across stocks

NameTypeReqDescription
peersstring–Optional comma-separated peer tickers (if not provided, uses sector peers)
tickerstringyesPrimary stock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_sec_filings ~48

Get recent SEC filings (10-K, 10-Q, 8-K, etc.). Returns: Recent SEC filings with types and dates

NameTypeReqDescription
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_sector_overview ~78

Get a sector overview: size, weight, largest companies, industries and sector ETFs. Returns: Sector summary with top companies and its industries

NameTypeReqDescription
sectorstring–basic-materials, communication-services, consumer-cyclical, consumer-defensive, energy, financial-services, healthcare, industrials, real-estate, technology, utilities
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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.

NameTypeReqDescription
resultstringyes–

No examples provided.

get_shares_history ~60

Get shares outstanding over time (dilution or buybacks). Returns: Shares outstanding at several points and the total change

NameTypeReqDescription
tickerstringyesStock ticker symbol
yearsinteger–How many years back (default 3)
NameTypeReqDescription
resultstringyes–

No examples provided.

get_splits_calendar ~54

Get upcoming stock splits. Returns: Table of upcoming splits with ratios

NameTypeReqDescription
daysinteger–Look-ahead window in days (default 14)
limitinteger–Max splits (default 25)
NameTypeReqDescription
resultstringyes–

No examples provided.

get_stock_news ~56

Get recent news articles about a stock. Returns: Recent news headlines, sources, and links

NameTypeReqDescription
limitinteger–Maximum number of news articles to return (default 10)
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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

NameTypeReqDescription
tickerstringyesStock ticker symbol (e.g., 'AAPL', 'TSLA', 'SPY')
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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

NameTypeReqDescription
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_stock_splits ~36

Get stock split history. Returns: Complete stock split history with dates and ratios

NameTypeReqDescription
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_trending_tickers ~48

Get today's most active (trending) US tickers. Returns: List of trending tickers with basic info

NameTypeReqDescription
countinteger–Number of trending tickers to return
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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

NameTypeReqDescription
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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

NameTypeReqDescription
daysinteger–Look-ahead window in days (default 7)
limitinteger–Max companies (default 25)
NameTypeReqDescription
resultstringyes–

No examples provided.

get_upgrades_downgrades ~66

Get detailed analyst upgrades and downgrades history. Returns: Recent analyst rating changes including firm, action, and grade changes

NameTypeReqDescription
limitinteger–Maximum number of rating changes to return (default 20)
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

get_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

NameTypeReqDescription
tickerstringyesStock ticker symbol
NameTypeReqDescription
resultstringyes–

No examples provided.

run_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

NameTypeReqDescription
tickerstring–Ticker symbol to use for testing (default: SPY - reliable ETF with full data)
NameTypeReqDescription
resultstringyes–

No examples provided.

search_ticker ~40

Search for ticker symbols by company name or keyword. Returns: List of matching tickers

NameTypeReqDescription
querystringyesCompany name or keyword to search
NameTypeReqDescription
resultstringyes–

No examples provided.

validate_ticker ~42

Validate if a ticker symbol exists and is tradeable. Returns: Validation result with ticker details if valid

NameTypeReqDescription
tickerstringyesTicker symbol to validate
NameTypeReqDescription
resultstringyes–

No examples provided.

Install

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

# add to Claude Code
claude mcp add lkcair-yfinance-ai -- uvx yfinance-ai
Common questions

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.