MCP.Market

yfinance-ai: Yahoo Finance MCP server

by lkcair·io.github.lkcair/yfinance-ai·v5.0.5

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

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

0 stars697 downloads/wk

Reviews

Write one

Nobody has reviewed yfinance-ai: Yahoo Finance yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

yfinance-ai: Yahoo Finance tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan4 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 5 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How yfinance-ai: Yahoo Finance compares

Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 1,761 Finance servers
Downloads a week
697
more than 94% of 421 Finance servers with a package

Install yfinance-ai: Yahoo Finance in Claude Code, Cursor or VS Code

claude mcp add yfinance-ai -- uvx yfinance-ai
Add to Cursor

What the publisher says

From the yfinance-ai: Yahoo Finance repository's README, as published. We do not edit it. Read it on GitHub

yfinance-ai MCP server

<!-- mcp-name: io.github.lkcair/yfinance-ai -->

World's first AI-powered Yahoo Finance integration: 68 tools for stocks, ETFs, mutual funds, crypto, forex and commodities, in one Python file.

🚀 Thousands of downloads on ClawHub and OpenWebUI

Prices and history, financial statements, ratios and valuation history, analyst estimates and price targets, earnings, dividends, options, holders and insiders, funds and ETFs, market movers, sectors and industries, and earnings, IPO, economic and split calendars.

Install

Needs uv. No API key.

Claude Code:

claude mcp add yfinance-ai -- uvx yfinance-ai@latest

VS Code:

code --add-mcp '{"name":"yfinance-ai","type":"stdio","command":"uvx","args":["yfinance-ai@latest"]}'

Claude Desktop, Cursor, Windsurf and other clients, in the client's MCP config file:

{
  "mcpServers": {
    "yfinance-ai": {
      "command": "uvx",
      "args": [
        "yfinance-ai@latest"
      ]
    }
  }
}

@latest picks up new releases when the client starts. Without uv: pip install yfinance-ai, then use "command": "yfinance-ai" with no args.

Listed in the MCP Registry as io.github.lkcair/yfinance-ai. Every tool is read-only.

Agent frameworks

The server runs over stdio with uvx yfinance-ai@latest, so any framework with MCP support can load all its tools.

LangChain: pip install "langchain[mcp]" langchain-anthropic

import asyncio
from langchain.agents import create_agent
from langchain.mcp import MCPAdapter

async def main():
    config = {"mcpServers": {"yfinance-ai": {
        "command": "uvx", "args": ["yfinance-ai@latest"],
    }}}
    async with MCPAdapter(config) as adapter:
        tools = await adapter.list_tools()
        agent = create_agent("claude-sonnet-5", tools)
        result = await agent.ainvoke({"messages": [{"role": "user", "content": "What is Apple's P/E, and how does it compare with Microsoft and Google?"}]})
        print(result["messages"][-1].content)

asyncio.run(main())

Google ADK: pip install "google-adk[mcp]"

from google.adk.agents import LlmAgent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams
from mcp import StdioServerParameters

root_agent = LlmAgent(
    model="gemini-flash-latest",
    name="yfinance_ai",
    instruction="Answer with the yfinance-ai tools.",
    tools=[McpToolset(connection_params=StdioConnectionParams(
        server_params=StdioServerParameters(command="uvx", args=["yfinance-ai@latest"]),
        timeout=60,
    ))],
)

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

yfinance-ai: Yahoo Finance: common questions

Is yfinance-ai: Yahoo Finance MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the yfinance-ai: Yahoo Finance safety report
How do I install yfinance-ai: Yahoo Finance?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does yfinance-ai: Yahoo Finance need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is yfinance-ai: Yahoo Finance maintained?
The last commit was 14 days ago (2026-10-21). The latest release is v5.0.5.
What can I use instead of yfinance-ai: Yahoo Finance?
Servers from other publishers that do the same job: Yahoo Finance MCP server, Alpha Vantage MCP server and TickDB Market Data MCP server. Compare all yfinance-ai: Yahoo Finance alternatives.
How does yfinance-ai: Yahoo Finance compare with other Finance MCP servers?
safety score 92/100 (higher than 95% of 1,761 Finance servers); downloads a week 697 (more than 94% of 421 Finance servers with a package). Full comparison.

Alternatives to yfinance-ai: Yahoo Finance

Same job from other publishers: the closest match first, then the best rated.

All yfinance-ai: Yahoo Finance alternatives →
  • Yahoo Finance
    Access Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.
    A
  • Alpha Vantage
    Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
    A
  • TickDB Market Data
    Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes
    B
  • Yahoo Finance
    Real-time Yahoo Finance data: quotes, history, financials, analyst ratings, options, and news.
    A
  • HPSILab Quant Finance
    Stock & options risk analytics for AI agents: pre-trade risk scan, IV, gamma walls, Monte Carlo.
    A