Financial Data Provider MCP Server
About
A Model Context Protocol (MCP) server that provides financial data and calculations through various public APIs. It offers stock prices, cryptocurrency data, forex rates, compound interest calculations, and financial news. Designed for developers integrating financial…
Details
- Author
- Prayag2003
- GitHub stars
- 1
- Downloads
- 286
- Categories
- Finance
Jump to
- Real-time stock price data via Alpha Vantage API
- Cryptocurrency prices and stats from CoinGecko API
- Currency exchange rates through Exchange Rate API
- Compound interest calculator with customizable parameters
- Latest financial news from GNews API
Install dependencies with npm install or pnpm install, then run the server with npm run dev. The server exposes five tools: getStockPrice, getCryptoPrice, getForexRate, calculateCompoundInterest, and getFinancialNews. Each tool accepts specific parameters as defined in the README.
Financial Data Provider MCP Server
A Model Context Protocol (MCP) server implementation providing financial data and calculations through various APIs.
Features
- Stock Price Data: Fetch real-time stock prices using Alpha Vantage API
- Cryptocurrency Data: Get cryptocurrency prices and stats via CoinGecko API
- Forex Rates: Access currency exchange rates through Exchange Rate API
- Compound Interest Calculator: Calculate compound interest with customizable parameters
- Financial News: Retrieve latest financial news from GNews API
Available Tools
1. getStockPrice
{
ticker: string;
}
2. getCryptoPrice
{
symbol: string;
}
3. getForexRate
{
pair: string;
}
4. calculateCompoundInterest
{
principal: number,
rate: number,
time: number,
compoundFrequency: number
}
5. getFinancialNews
{
category: string;
}
Setup
1. Install dependencies:
npm install
pnpm install
2. Run the server:
npm run dev
Note
- The server uses demo API keys for demonstration purposes
- For production use, replace demo API keys with your own
- Some APIs may have rate limits in their free tiers
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
