Labsco
archiephan78 logo

SSI Stock Data MCP

17

from archiephan78

Query Vietnam stock intraday data using the SSI FastConnect API.

🔥🔥🔥✓ VerifiedAccount requiredAdvanced setup

MseeP.ai Security Assessment Badge

SSI Stock Data MCP

Table of Contents

1. Introduction

SSI Stock Data MCP is a Model Context Protocol (MCP) server for get VietNam stock intraday data. It enables AI assistants and tools to query intraday data using SSI FastConnect API programmatically and securely.

2. Features

  • List of stock codes by exchange
  • Retrieve detailed information of a stock code
  • Retrieve the list of stock codes in an index basket
  • Retrieve the list of index codes
  • Retrieve the open, high, low, close, volume, and value information of a stock code by each tick data
  • Retrieve the open, high, low, close, volume, and value information of a stock code by day
  • Retrieve the daily trading results of the composite index
  • Retrieve the daily trading information of a stock code
  • Docker containerization support
  • Support get realtime data via streaming adapter (planning)
  • Support order management and trading via MCP (future consideration)

4. Tools

The MCP server exposes tools:

  • Get securities list: get_securities_list()
  • Get securities detail: get_securities_details()
  • Get index: get_index_components()
  • Get list index: get_index_list()
  • Get daily open,high,low,close: get_daily_ohlc()
  • Get intraday open,high,low,close: get_intraday_ohlc()
  • Get daily index: get_daily_index()
  • Get stock price: get_stock_price()

See src/ssi_stock_mcp_server/server.py for full API details.

5. Development

Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.

This project uses uv to manage dependencies. Install uv following the instructions for your platform.

# Clone the repository
$ git clone https://github.com/archiephan78/ssi-stock-mcp-server.git
$ uv venv
$ source .venv/bin/activate  # On Unix/macOS
$ .venv\Scripts\activate     # On Windows
$ uv pip install -e .
# run test
$ pytest

6. License

Apache 2.0

Contact / Support

  • Please open an issue on GitHub if you encounter any problems or need support.
  • Email: n/a