SSI 股票数据 MCP logo

SSI 股票数据 MCP

Community
archiephan78

VN Stock intraday data MCP server (using SSI FastConnect API)

Publisherarchiephan78
Repositoryssi-stock-mcp-server
LanguagePython
Forks
6
Stars
17
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    SSI 股票数据 MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    17 stars and 6 forks from the linked repository.

MseeP.ai Security Assessment Badge

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)

3. Quickstart

3.1. Prerequisites

  • Python 3.12+
  • uv (for fast dependency management).
  • Docker (optional, for containerized deployment).
  • Ensure you register for SSI FastConnect service before running this MCP server. You can register at SSI FastConnect to get your consumer ID and secret.

Installing via Smithery

To install SSI Stock MCP Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @archiephan78/ssi-stock-mcp-server --client claude

3.2. Local Run

  • Clone the repository:
bash
# Clone the repository
$ git clone https://github.com/archiephan78/ssi-stock-mcp-server.git
  • Configure the environment variables
shell
# Set environment variables (see .env.sample)
FC_DATA_URL=https://fc-data.ssi.com.vn/ #optional
FC_DATA_AUTH_TYPE=Bearer #optional
FC_DATA_CONSUMER_ID=your_consumer_id 
FC_DATA_CONSUMER_SECRET=your_consumer_secret  
  • Add the server configuration to your client configuration file. For example, for Claude Desktop:
json
{
  "mcpServers": {
    "SSIStockMCPServer": {
      "command": "uv",
      "args": ["--directory", "full-path", "run", "ssi-stock-mcp-server"],
      "env": {
        "FC_DATA_CONSUMER_ID": "id",
        "FC_DATA_CONSUMER_SECRET": "id",
        "FC_DATA_URL": "https://fc-data.ssi.com.vn/",
        "FC_DATA_AUTH_TYPE": "Bearer"
      }
    }
  }
}
  • Restart Claude Desktop to load new configuration.
  • You can now ask Claude to interact with data using natual language:
    • "chỉ số VN30 hôm nay có gì hot không"
    • "get volume room ngoại đã bán của SSI hôm nay"
    • "so sánh vol của SSI với VND trong ngày hôm nay"
    • "total matchvol của SSI trong 1 tuần trở lại đây"

3.3. Docker Run

  • Run it with pre-built image (or you can build it yourself):
bash
$ docker run -p 8000:8000 
             -e FC_DATA_CONSUMER_ID=id 
             -e FC_DATA_CONSUMER_SECRET=id ghcr.io/archiephan78/ssi-stock-mcp-server
  • Running with Docker in Claude Desktop:
json
{
  "mcpServers": {
    "SSIStockMCPServer": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e", "FC_DATA_CONSUMER_ID",
        "-e", "FC_DATA_CONSUMER_SECRET",
        "ghcr.io/archiephan78/ssi-stock-mcp-server:latest"
      ],
      "env": {
        "FC_DATA_CONSUMER_ID": "your_username",
        "FC_DATA_CONSUMER_SECRET": "your_password"
      }
    }
  }
}

This configuration passes the environment variables from Claude Desktop to the Docker container by using the -e flag with just the variable name, and providing the actual values in the env object.

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.

bash
# 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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "archiephan78-ssi-stock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssi_stock_mcp_server"
      ]
    }
  }
}

Use SSI 股票数据 MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once SSI 股票数据 MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add SSI 股票数据 MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the SSI 股票数据 MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "archiephan78-ssi-stock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssi_stock_mcp_server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the SSI 股票数据 MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the SSI 股票数据 MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use SSI 股票数据 MCP to help me with this task?
SSI 股票数据 MCP
Sure. I read it.
Here is what I found using SSI 股票数据 MCP.

Frequently asked questions

What is the SSI 股票数据 MCP MCP server used for?

SSI 股票数据 MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use SSI 股票数据 MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use SSI 股票数据 MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use SSI 股票数据 MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With SSI 股票数据 MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect SSI 股票数据 MCP MCP to TypingMind?

SSI 股票数据 MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does SSI 股票数据 MCP MCP provide in TypingMind?

SSI 股票数据 MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use SSI 股票数据 MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If SSI 股票数据 MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇