Market data for AI investing
Compare market-data APIs, filing sources and MCP data servers by coverage, timing, access requirements and usage rights.
Compare coverage, timing and permissions
Check which markets and fields are covered, whether observations were available at the analysis date, and how the data is licensed. An MCP interface gives an agent access; it does not guarantee point-in-time data or permission to redistribute it.
- dataOpen source
yfinance
The ubiquitous Python library for Yahoo Finance data, and the default feed in most agent demos
GitHub stars26.0kStars · 7d+51Ran Aroussi - dataFree tier
Alpha Vantage
Free-tier API for prices, fundamentals, FX and technical indicators
GitHub stars4.9kStars · 7d+3Alpha Vantage - dataOpen source
edgartools
Read SEC EDGAR filings in Python, including parsed XBRL financial statements
GitHub stars2.9kStars · 7d+26Dwight Gunning - Free tier
No push in 12 months
MCP server exposing the Financial Datasets stock-market API to AI assistants
GitHub stars2.3kStars · 7d+-1Financial Datasets - Free tier
Official REST and WebSocket client for Massive market data
GitHub stars1.5kStars · 7d+3Massive - dataOpen source
DefeatBeta API
Open-source alternative to Yahoo Finance data, served from a Hugging Face dataset, with an MCP server and skills
GitHub stars809Stars · 7d+6defeat-beta - Open source
Minimal Python package for bulk-downloading SEC filings
GitHub stars724Stars · 7d+2Jad Chaar - Free tier
Official MCP server for Massive market data, formerly Polygon.io
GitHub stars405Stars · 7d+0Massive - dataPaid
Databento
Normalised tick-level market data with a pay-as-you-go model
GitHub stars336Stars · 7d+21Databento - Free tier
MCP server for Twelve Data's real-time and historical market data
GitHub stars87Stars · 7d+0Twelve Data - Free tier
Broad fundamentals and pricing API with an MCP server and generous coverage
Closed source · no GitHub metricsFinancial Modeling Prep