Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

financial-analysis-mcp-server

MCP.Pizza Chef: kablewy

The financial-analysis-mcp-server is an Anthropic Model Context Protocol (MCP) server designed for comprehensive financial analysis. It integrates with Alpha Vantage and Financial Modeling Prep APIs to provide real-time and historical stock price data, as well as detailed company fundamental data including overviews, income statements, balance sheets, cash flow statements, and financial ratios. This server enables developers to embed rich financial context into AI workflows, facilitating data-driven decision-making and analysis. It supports multiple data formats and intervals, making it versatile for various financial applications.

Use This MCP server To

Retrieve real-time stock prices for market analysis Access historical stock data for trend evaluation Fetch company financial statements for investment research Obtain financial ratios for company performance assessment Integrate financial data into AI-driven trading bots Support financial report generation with up-to-date data

README

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:
npm install
  1. Configure environment variables in .env:
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key_here
FMP_API_KEY=your_fmp_api_key_here
  1. Build and run:
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')

financial-analysis-mcp-server FAQ

How do I configure API keys for the financial-analysis-mcp-server?
Set your Alpha Vantage and Financial Modeling Prep API keys in the .env file as ALPHA_VANTAGE_API_KEY and FMP_API_KEY respectively.
What types of financial data can this MCP server provide?
It offers real-time and historical stock prices, company overviews, income statements, balance sheets, cash flow statements, and financial ratios.
Can I customize the stock price data interval and output format?
Yes, you can specify intervals like '1min', '5min', 'daily', and choose output formats such as JSON or CSV.
Is this MCP server compatible with LLMs from providers other than Anthropic?
Yes, it is designed to work with various LLM providers including OpenAI, Claude, and Gemini.
How do I install and run the financial-analysis-mcp-server?
Install dependencies with npm install, configure your API keys in .env, then build and start the server using npm run build and npm start.
Does the server support fetching full historical stock data?
Yes, by setting the outputSize parameter to 'full', you can retrieve comprehensive historical stock data.
What programming environment is required to run this MCP server?
It requires a Node.js environment with npm for dependency management and build scripts.
Can this MCP server handle multiple stock symbols in one request?
The current implementation requires specifying one stock symbol per request.