financial-analysis-mcp-server
by kablewy
README.md
# Financial Analysis MCP Server
An MCP server implementation for financial analysis using Alpha Vantage and Financial Modeling Prep APIs.
## Features
- Real-time and historical stock price data
- Company fundamental data including:
- Company overview
- Income statements
- Balance sheets
- Cash flow statements
- Financial ratios
## Setup
1. Install dependencies:
```bash
npm install
```
2. Configure environment variables in `.env`:
```
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key_here
FMP_API_KEY=your_fmp_api_key_here
```
3. Build and run:
```bash
npm run build
npm start
```
## Available Tools
### stock_price
Get real-time and historical stock price data from Alpha Vantage
Parameters:
- symbol (required): Stock ticker symbol
- interval: Time interval ('1min', '5min', '15min', '30min', '60min', 'daily')
- outputSize: Amount of data ('compact', 'full')
- dataType: Response format ('json', 'csv')
### company_fundamentals
Get company fundamental data from Financial Modeling Prep
Parameters:
- symbol (required): Stock ticker symbol
- metrics: Array of metrics to retrieve ('overview', 'income', 'balance', 'cash', 'ratios')TDQS
A3.6/5.0
Scored across 2 tools
Disambiguation5/5
The two tools are cleanly separated by data type: one provides price data, the other provides fundamental data. There is no overlap or ambiguity in their purposes.
Naming Consistency5/5
Both tool names follow the same pattern of two snake_case nouns representing the entity and the data type. The naming is consistent and predictable.
Tool Count3/5
With only 2 tools, the server feels thin for a domain as broad as financial analysis. While each tool is useful, the count is borderline and may not cover diverse user needs.
Completeness3/5
The server covers two core data areas (pricing and fundamentals), but notable gaps remain, such as technical indicators, news, or financial statement breakdowns. Agents may need to work around these missing operations.
Maintenance
ActivityInactive
ResponsivenessNo issues