
Financial Analysis MCP Server
Enables LLMs to retrieve, analyze, and visualize stock prices and financial report data for quantitative trading research and investment analysis. Provides real-time and historical stock data, financial statement analysis, key metric calculations, and trading signal visualization.
README
MCP Server for Financial Analysis
Introduction
This project is a Model Context Protocol (MCP) server designed to enable LLMs (such as Claude, Cursor, or GPT-based agents) to retrieve, analyze, and visualize stock prices and financial report data. It provides a set of robust tools for quantitative trading research, investment analysis, and financial education.
Usage Scenarios
- LLM-driven trading analysis: Let LLMs fetch and analyze stock data, financial statements, and technical indicators to generate trading insights.
- Financial metric calculation: Compute key ratios and metrics from income statements, balance sheets, and cash flow tables.
- Visualization: Generate price charts, financial metric trends, and highlight trading opportunities.
- Automated research: Integrate with LLMs to answer questions like "What is the ROE of AAPL?", "Show me the last 6 months of MSFT price data.", or "Plot buy/sell signals for TSLA."
Features
- Retrieve real-time and historical stock prices (single or multiple tickers)
- Extract and analyze financial statements (income, balance sheet, cash flow)
- Calculate key financial and technical metrics (PE, ROE, moving averages, etc.)
- Visualize price data, metrics, and trading signals
- LLM-friendly, JSON-serializable outputs
Installation
- Clone the repository
git clone https://github.com/Nishaant-Soni/MCP_Server_for_Financial_Analysis.git cd <your-repo-folder>
- Set up a Python virtual environment
python3 -m venv .venv source .venv/bin/activate
- Install dependencies
uv sync
How to Run
-
Configure your LLM client (Claude, Cursor, etc.) to connect to the MCP server and call the available tools.
Go to Claude settings Select Developer --> Edit Config Add new MCP server. In the JSON File, add
{"mcpServers": {"trader-mcp": { "command": "uv", "args": [ "--directory", "/directory/to/your/mcp", "run", "main.py" ] } } }
'trader-mcp' should now be listed in your Claude tools.
- Start talking with your trading assistant!
Quries like:
Compare the stock prices of Nvidia and AMD in the past month.
How's Tesla stock like in the past 3 months?
Plot the trading opportunities of Microsoft in the past 3 months.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.