MCP.so
登录

MCP Server for Shioaji

@Sinotrade

基本信息

分类

其他

传输方式

stdio

作者

Sinotrade

关于 MCP Server for Shioaji

暂无概览

MCP Server for Shioaji 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-shioaji": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

MCP Server for Shioaji 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server for Shioaji?

MCP Server for Shioaji is a Model Context Protocol (MCP) server that gives AI assistants access to the Shioaji trading API for the Taiwanese financial market. It exposes Shioaji functionality as tools, allowing AI models to retrieve stock prices, fetch historical data, and scan stocks by ranking criteria.

How to use MCP Server for Shioaji?

Install with Python 3.10+ and the uv package manager (uv sync). Configure your Shioaji API credentials via environment variables (SHIOAJI_API_KEY, SHIOAJI_SECRET_KEY) or a .env file. Start the server with uv run mcp-server-shioaji; it listens on http://0.0.0.0:8000 by default.

Key features of MCP Server for Shioaji

  • Exposes Shioaji tools via the MCP protocol for AI assistants.
  • Get current stock prices for one or more symbols.
  • Fetch K‑bar (candlestick) historical data with configurable date ranges.
  • Scan and rank stocks by volume, amount, tick count, price change, and more.
  • Supports ascending/descending sort and adjustable result limits.

Use cases of MCP Server for Shioaji

  • An AI assistant queries the latest price of a portfolio of Taiwanese stocks.
  • A trading bot fetches historical candlestick data for backtesting.
  • A market screener ranks stocks by trading volume to identify active stocks.

常见问题

1

What dependencies does the server require?

Python 3.10 or higher and the uv package manager. Shioaji API credentials are also required.

2

How do I authenticate with the Shioaji API?

Set the `SHIOAJI_API_KEY` and `SHIOAJI_SECRET_KEY` environment variables or provide them in a `.env` file in the server root directory.

3

Where is the financial data stored?

The server does not store data locally; it fetches live data from the Shioaji API on each request.

4

What transport does the server use?

The server runs as an HTTP server (default port 8000) and communicates via the Model Context Protocol (MCP).

5

Are there any known limits on the number of requests or symbols?

The README does not specify rate limits, but it relies on the Shioaji API’s own constraints. The `scan_stocks` tool defaults to a limit of 20 results.

评论

其他 分类下的更多 MCP 服务器