Skip to content
LangChain

Yahoo Finance (stocks, options, financials) for LangChain

io.github.akhilrajesh213/yahoo-finance

Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.

client:LangChain transport:streamable-http

Install Yahoo Finance (stocks, options, financials) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "yahoo-finance": {
            "transport": "streamable_http",
            "url": "https://akhil-rajesh--yahoo-finance-scraper.apify.actor/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Yahoo Finance (stocks, options, financials) in other clients