eod-historical-data
The EOD Historical Data MCP server provides comprehensive access to financial data, including historical and real-time data for various financial instruments from global exchanges.
The EOD Historical Data MCP server is a robust platform for accessing a wide range of financial data, including historical and real-time information for stocks, ETFs, mutual funds, indices, and more from over 60 exchanges worldwide. It supports a variety of financial instruments and offers detailed insights into financial markets, making it an essential tool for analysts, traders, and investors. The server provides extensive coverage, with data for over 37,000 stocks, more than 20,000 US mutual funds, and over 6,000 ETFs. Users can retrieve more than 30 years of historical data and access real-time stock prices with a 15-20 minute delay. The server also offers comprehensive APIs for fundamental data, technical indicators, market screening, and economic and financial news.
Features
- Extensive Coverage: Access data for over 37,000 stocks, more than 20,000 US mutual funds, and over 6,000 ETFs from major global exchanges.
- Historical Data: Retrieve more than 30 years of historical data, including daily, weekly, and monthly prices.
- Comprehensive APIs: Utilize a variety of APIs, such as Fundamental Data, Technical Indicators, Market Screener, and more.
- Real-Time Data: Get live (delayed) stock prices with a 15-20 minute delay.
- Economic and Financial News: Stay updated with economic indicators and company news via dedicated APIs.
MCP Tools
- Options Data: Provides daily updated stock options data for top US stocks, focusing on current prices, bid/ask, and contract details.
- Technical Indicator: Offers a range of technical indicators for market analysis, including SMA, EMA, RSI, MACD, and more.
- Intraday Historical Data: Supplies intraday historical data for major exchanges with intervals ranging from 1-minute to 1-hour.
- Historical Splits and Dividends: Fetch historical data for stock splits and dividends.
MCP Resources
- {'name': 'List of Tickers', 'description': 'Access a comprehensive list of supported exchanges and their respective tickers.'}
- {'name': 'Financial News', 'description': 'Retrieve news articles and updates filtered by date, type, and ticker.'}
- {'name': 'Stock Market Screener', 'description': 'Filter and sort stocks based on various financial metrics and parameters.'}
- {'name': 'Exchange Details', 'description': 'Get detailed information about each supported exchange, including trading hours and active tickers.'}
Usage with Different Platforms
python
python
import requests
url = 'https://eodhistoricaldata.com/api/eod/MCP_SERVER'
params = {
'api_token': 'YOUR_API_TOKEN',
'symbol': 'AAPL.US',
'from': '2020-01-01',
'to': '2023-01-01',
'period': 'd'
}
response = requests.get(url, params=params)
data = response.json()
print(data)
javascript
javascript
const axios = require('axios');
const url = 'https://eodhistoricaldata.com/api/eod/MCP_SERVER';
const params = {
api_token: 'YOUR_API_TOKEN',
symbol: 'AAPL.US',
from: '2020-01-01',
to: '2023-01-01',
period: 'd'
};
axios.get(url, { params })
.then(response => console.log(response.data))
.catch(error => console.error(error));