Access MOEX stock data and financial news with MCP server for real-time insights and market analysis
The MOEX Stocks & News MCP Server is a specialized server designed to provide real-time financial market data and news via the Model Context Protocol (MCP). This server enhances large language models (LLMs) by delivering up-to-date stock quotes, investment trends, and financial news. By utilizing MCP, this server allows seamless integration with various AI applications such as Claude Desktop, Continue, Cursor, and more.
The MOEX Stocks & News MCP Server offers a robust set of features, ensuring that it stands out in the realm of financial data services:
The architecture of the MOEX Stocks & News MCP Server is designed with MCP in mind, ensuring compatibility and seamless interaction with various AI applications. Key components include:
The server's core implementation of MCP ensures that all interactions are standardized, making it easy for AI applications to connect and retrieve data without additional configuration overhead.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
A[API Keys] --|Request-- B[MCP Server]
B -- Data Retrieval --> C[MOEX API]
C -- Data -> D[Caching] (Redis, In-Memory)
D -- Processed Data --> E[MongoDB]
F[Elastic Search] -- Full Text Searching --> E
style A fill:#e1f5fe
style B fill:#b3d3fc
style C fill:#a6e2cc
style D fill:#f3eee9
style E fill:#ebdcf4
Starting the MOEX Stocks & News MCP Server is straightforward and can be done using Docker or Go. Here are the step-by-step instructions:
Clone the Repository:
git clone https://github.com/jklondon/mcp-stocks-info-server.git
cd mcp-stocks-info-server
Create Environment Variables File:
cp .env.example .env
edit .env with appropriate API key for NewsAPI:
NEWSAPI_KEY=your_news_api_key_here
Start the Docker Compose Services:
docker-compose up -d
Check Logs:
docker-compose logs # Check all services
docker-compose logs app # Specifically for the application server
By integrating MOEX Stocks & News MCP Server into investment strategies, users can dynamically analyze stock performance and market trends. This integration allows LLMs to make informed decisions based on real-time data.
Users can leverage the stock_analysis tool within the MCP server to request detailed analysis of specific stocks. The output can be used by AI applications to refine trading algorithms and make proactive investment decisions.
Corporations often need a quick overview of financial news to inform high-level decision-making processes. The MOEX Stocks & News MCP Server provides this through the market_overview tool, offering comprehensive daily insights into market performance.
Corporate AI systems can query the server using predefined prompts like market_overview, which returns relevant news articles and market performance data. This functionality ensures that decision-makers are always well-informed about current financial conditions.
The MOEX Stocks & News MCP Server supports various MCP clients such as:
| MCP Client | Resources | Tools | Prompts | Status |
|---|---|---|---|---|
| Claude Desktop | ✅ | 💡 | 📜 | Full Support |
| Continue | ✅ | 💡 | 📜 | Full Support |
| Cursor | ❌ | 💡 | ❌ | Tools Only |
The MOEX Stocks & News MCP Server is designed to perform well under various LLM environments. The following matrix outlines key performance and compatibility metrics:
config.yaml):server:
port: 8080
host: "localhost"
timeoutSeconds: 30
database:
uri: "mongodb://localhost:27017"
database: "mcp_stocks"
collection: "stocks"
timeout: "5s"
cache:
redisURI: "localhost:6379"
redisDB: 0
defaultTTL: "5m"
stocksTTL: "15m"
newsTTL: "30m"
moex:
baseURL: "https://iss.moex.com/iss"
timeout: "10s"
useCache: true
apiKey: "" # Optional
newsAPI:
baseURL: "https://newsapi.org/v2"
timeout: "10s"
useCache: true
apiKey: "your_news_api_key_here" # Required for News API access
sources: ["rbc", "vedomosti", "kommersant"]
apiKeys:
moexKey: "" # Optional
newsAPIKey: "your_news_api_key_here"
logLevel: debug
The MOEX Stocks & News MCP Server ensures technical accuracy and completeness by covering all core features of the MCP protocol. The documentation provided is in 100% English with a focus on AI application integration. The content is original, presenting unique insights into how the server enhances LLM capabilities while minimizing similarity to the original README.
The MOEX Stocks & News MCP Server emerges as an indispensable tool for developers building AI applications and MCP integrations. Its robust feature set, detailed compatibility support, and seamless data delivery make it a valuable addition to any financial data processing framework.
For more information on how to integrate this server into your LLM projects or for further assistance, please refer to the official documentation and community support forums.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration