What is EGX-Data-MCP-Server?
EGX-Data-MCP-Server is a server designed for the Egyptian Exchange (EGX) that provides tools for stock market analysis and data management.
How to use EGX-Data-MCP-Server?
To use the EGX-Data-MCP-Server, clone the repository from GitHub, install the necessary dependencies, and run the server using the provided commands.
Key features of EGX-Data-MCP-Server?
- Provides a dedicated server for EGX stock tools.
- Supports Python 3.11 or higher.
- Easy setup and configuration through a JSON settings file.
Use cases of EGX-Data-MCP-Server?
- Analyzing stock data from the Egyptian Exchange.
- Integrating with other financial tools for enhanced data processing.
- Running custom scripts for stock market analysis.
FAQ from EGX-Data-MCP-Server?
- What programming language is used?
The server is built using Python.
- Is there a specific version of Python required?
Yes, Python 3.11 or higher is required to run the server.
- How do I install the server?
Follow the installation instructions provided in the documentation, including cloning the repository and installing dependencies.
EGX-Data-MCP-Server
MCP server for Egyptian Exchange (EGX) stock tools.
Installation
-
Clone the repository:
git clone https://github.com/M-Abdelmegeed/EGX-Data-MCP-Server.git cd EGX-Data-MCP-Server/egx-mcp
-
Install dependencies:
pip install -r requirements.txt
Setup
- Ensure you have Python 3.11 or higher installed.
- Run the MCP server using the following command:
uv --directory . run main.py
Adding the MCP Server
To add the EGX MCP server to your environment, use the following configuration in your settings.json
:
"egx-mcp": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/egx-mcp",
"run",
"main.py"
]
}
Replace the directory path with the appropriate path to the egx-mcp
folder on your system.
Additional Installation Steps
uv
Command
Installing To install the uv
command, run the following command in PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Make sure to restart your terminal afterwards to ensure that the uv
command gets picked up.
Setting Up the Project
Windows
-
Create a new directory for your project:
uv init egx-mcp cd egx-mcp
-
Create a virtual environment and activate it:
uv venv .venv\Scripts\activate
-
Install dependencies:
uv add mcp[cli] httpx
-
Create your server file:
new-item main.py