Cover image
Try Now
2025-04-06

Un servidor MCP para alimentar su LLM con capacidades de análisis financiero

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. 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
  1. The server will start at http://localhost:8000

  2. 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

import requests

# Get stock data
response = requests.get("http://localhost:8000/api/v1/stock/AAPL")
data = response.json()

# Get candlestick chart
response = requests.get("http://localhost:8000/api/v1/visualize/candlestick/AAPL")
chart_data = response.json()

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • JackKuo666
  • 🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

    Reviews

    1 (1)
    Avatar
    user_Yrm0Y7SL
    2025-04-18

    The fin-mcp by cristianleoo is an outstanding product for those seeking a dependable MCP application. The project, hosted on GitHub, showcases the developer's keen attention to detail and commitment to quality. As a dedicated user, I appreciate the robust features and seamless integration. Its open-source nature allows for continuous improvement and community contributions. Highly recommend checking out fin-mcp for a top-notch experience!