Real-time financial data for AI agents. 14 tools covering crypto prices (CoinGecko/CoinCap), stock quotes (yfinance/Alpha Vantage/Twelve Data), and forex rates (Frankfurter/ExchangeRate-API). Automatic fallback data sources, Redis caching. Free tier: 500 requests/month.
Overview
FinanceHub MCP Server
Connect AI agents to real-time financial data — crypto, stocks, and forex — through 14 MCP tools.
Tools
Crypto
- get_crypto_prices — Current prices, market cap, 24h volume & change
- get_crypto_top — Top coins by market cap (1-250)
- get_crypto_history — Historical price data (1-365 days)
- get_crypto_detail — Full details for a single coin
Stocks
- get_stock_quotes — Real-time quotes for any ticker
- search_stocks — Search by company name or symbol
- get_stock_history — OHLCV history (1d to max range)
- get_stock_detail — Fundamentals, P/E, EPS, 52-week range
Forex
- get_forex_rates — Latest exchange rates for any base currency
- convert_currency — Live currency conversion
- get_forex_history — Historical rates (1-365 days)
- get_forex_currencies — All supported currency codes
Health
- get_api_health — API status and uptime
Setup
- Get a free API key at https://rapidapi.com/salveszz/api/financehub-api
- Install dependencies:
pip install fastmcp httpx - Download mcp_server.py from this Gist
- Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
Pricing
- Free: 500 requests/month
- Pro: $4.99/mo (5,000 requests)
- Ultra: $12.99/mo (25,000 requests)
- Mega: $34.99/mo (100,000 requests)
Server Config
{
"mcpServers": {
"financehub": {
"command": "python",
"args": [
"/path/to/mcp_server.py"
],
"env": {
"FINANCEHUB_API_KEY": "your-rapidapi-key-here"
}
}
}
}