Awesome MCPFinance & Trading

Alex2Yang97/yahoo-finance-mcp

⭐ 351 Python repository created 2025-04-06

yahoo-finance-mcp is a Model Context Protocol server that provides financial market data from Yahoo Finance to MCP clients. It wraps the yfinance library and exposes its data through a set of typed MCP tools, so an assistant can pull quotes, fundamentals and market information as part of a conversation. The stock information tools cover get_historical_stock_prices, which returns OHLCV data over a configurable period and interval, get_stock_info for price, key metrics and company details, get_yahoo_finance_news for recent articles about a ticker, and get_stock_actions for dividend and split history. Financial statement tools include get_financial_statement, which returns the income statement, balance sheet or cash flow statement on an annual or quarterly basis, and get_holder_info, which returns major holders, institutional holders, mutual fund holders or insider transactions. Options support consists of get_option_expiration_dates and get_option_chain, the latter taking an expiration date and a call or put type. Analyst coverage is available through get_recommendations, which returns analyst recommendations or upgrade and downgrade history. The README lists example prompts for these tools such as comparing quarterly income statements across companies, reviewing institutional ownership changes, or summarising recent analyst actions. Python 3.11 or newer is required, with dependencies declared in pyproject.toml including mcp, yfinance, pandas and pydantic. The recommended way to run it is uvx directly from the git repository, which avoids creating a local virtual environment; a local clone can be run with uv run server.py or installed in editable mode with uv pip install -e for development. Integration instructions are given for Claude Desktop, where the server is registered in claude_desktop_config.json under the name yfinance, and installation through Smithery is also available. Documentation is provided in English and Chinese. Licensed under MIT.

https://github.com/Alex2Yang97/yahoo-finance-mcp

mcp-serverpythonyahoo-financeyfinancestocksmarket-dataoptionsfinancial-statements

Also in Finance & Trading

HKUDS/Vibe-Trading

Vibe-Trading is an AI-powered personal trading agent designed to assist with algorithmic trading, backtesting, and quantitative finance, leveraging large language models and multi-agent systems.

xbtlin/ai-berkshire

AI Berkshire is an investment research framework leveraging AI agents powered by Claude Code and Codex to apply the methodologies of legendary value investors like Buffett and Munger, aiming to red...

financial-datasets/mcp-server

An MCP server that enables AI assistants to access comprehensive stock market and cryptocurrency data from Financial Datasets via the Model Context Protocol interface.

stripe/agent-toolkit

The Stripe Agent Toolkit is a library that integrates Stripe's API into various agent frameworks and the Model Context Protocol (MCP) to enable seamless payment and billing automation in intelligent agent workflows.

sendaifun/solana-agent-kit

Solana Agent Kit is an open-source toolkit that enables AI agents to autonomously perform a wide range of actions on Solana blockchain protocols, integrating AI models with decentralized finance, NFTs, and cross-chain operations.

whchien/ai-trader

AI-Trader is a professional backtesting framework for algorithmic trading with multi-market support and integrated Model Context Protocol (MCP) server enabling AI assistant interaction.

goat-sdk/goat

GOAT is a comprehensive agentic finance toolkit enabling AI agents to autonomously perform financial activities using blockchain, cryptocurrencies, wallets, and supports the Model Context Protocol (MCP) along with other agent frameworks.

alpacahq/alpaca-mcp-server

Alpaca MCP Server is an MCP server implementation that enables large language models to interact with Alpaca's trading API using natural language for stock, options, and crypto trading, portfolio management, and real-time market data access.