Financial Analysis MCP Server
About
A MCP server to power your LLM with financial analysis capabilities
Details
- Author
- cristianleoo
- Downloads
- 219
- Categories
- Finance
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Financial Analysis MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
{
"mcpServers": {
"fin-mcp": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"financial analysis mcp server": {
"fin-mcp": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
}
McpServers
{
"fin-mcp": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
Financial Analysis MCP Server
A powerful server for financial analysis capabilities, providing stock data retrieval and visualization features.
Features
- Stock data retrieval from yfinance
- Alpha Vantage API integration
- Web search for financial information
- Interactive visualization with Plotly
- RESTful API endpoints
Prerequisites
- Python 3.8+
- Alpha Vantage API key (for additional data)
Installation
1. Clone the repository:
git clone <repository-url>
cd fin-mcp
2. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install dependencies:
pip install -r requirements.txt
4. Create a .env file in the root directory and add your Alpha Vantage API key:
ALPHA_VANTAGE_API_KEY=your_api_key_here
Usage
1. Start the server:
cd src
python main.py
2. The server will start at http://localhost:8000
3. Access the API documentation at http://localhost:8000/docs
API Endpoints
Stock Data
-GET /api/v1/stock/{symbol} - Get stock data from yfinance
- GET /api/v1/alpha-vantage/{symbol} - Get stock data from Alpha Vantage
- GET /api/v1/search/{query} - Search for financial information
Visualization
-GET /api/v1/visualize/candlestick/{symbol} - Get candlestick chart
- GET /api/v1/visualize/volume/{symbol} - Get volume chart
- GET /api/v1/visualize/combined/{symbol} - Get combined price and volume chart
Example Usage
```python
import requests
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
