mcp-stocks-info-server

mcp-stocks-info-server

0

MOEX Stocks & News MCP Server is designed to provide up-to-date MOEX stock market data and financial news through Model Context Protocol (MCP) integration with large language models (LLMs). It offers real-time stock information, news analysis, and a suite of tools for market assessment with support for Docker and CI/CD workflows.

MOEX Stocks & News MCP Server

Features

  • Access MOEX stock quotes
  • List top gainers/losers
  • Search stocks by name/ticker
  • Get current day's financial news
  • Keyword-based news search
  • Stock-related news retrieval
  • Stock and news analysis
  • Market overview with key metrics

Highlights

  • Uses MCP for LLM integration
  • Data caching (Redis and in-memory)
  • Historical data stored in MongoDB
  • Layered architecture
  • API keys for external data access
  • Docker containerization

Requirements

  • Docker and Docker Compose
  • API keys for external services (optional)

Installation

Clone the repo, create and edit a .env file for API keys, then use Docker Compose to start services.

Development

Utilizes golangci-lint for code linting. GitHub Actions for CI/CD.

Running Without Docker

Requires Go, MongoDB, and Redis. Clone repo, install dependencies, build server, then run with configuration file.

LLM Integration

Supports MCP protocol for client interactions. Tools include getting stock info, top gainers/losers, and financial news analysis.