QMT

Provides stock market data for querying and downloading, including instrument details, historical data, and market data.
  • python

15

GitHub Stars

python

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You can run the QMT MCP Server to access stock market data for downloading and querying, powered by the QMT platform. This MCP server delivers instruments, history data, and market data to any MCP client that supports the standard MCP workflow, enabling you to fetch detailed stock information, download historical series, and compare market data across instruments.

How to use

Start the QMT MCP Server and connect to it with an MCP client that supports standard MCP endpoints. You can run the server locally in stdio mode for direct use or expose it via SSE for server deployment. Once running, you can request: detailed instrument information, historical data for single or multiple stocks, and current market data for multiple symbols. Use your MCP client to query the available tools exposed by the server and to pass parameters such as instrument codes and time ranges. When you request data, the server processes the request through its data access tools and returns structured results you can analyze or display in dashboards.

What you can do with this server

  • Retrieve detailed information about a stock instrument (e.g., description, exchange, and fundamentals). get_instrument_detail_tool is used to obtain these details.

  • Download historical trading data for a single instrument over a specified period. download_history_data_tool lets you fetch daily data for a chosen range.

  • Download historical data for multiple instruments in one request. download_history_data2_tool supports batch retrieval.

  • Retrieve current market data for multiple instruments. get_market_data_ex_tool provides market snapshots and aggregates.

Working with time ranges

When you request historical data, specify the start and end dates to limit the dataset to the period you need. For example, you can fetch the last three months of daily data for a given symbol and then use your analysis tools to compute returns, volatility, and drawdowns.

What to expect in responses

Responses include instrument details, time-series data with open/high/low/close/volume fields, and calculated market metrics. You can combine results from multiple tools to create comprehensive analyses and dashboards.

Available tools

get_current_time_tool

Fetches the current time on demand.

get_instrument_detail_tool

Retrieves detailed information about a specific stock instrument.

download_history_data_tool

Downloads historical market data for a single instrument over a specified period.

download_history_data2_tool

Downloads historical market data for multiple instruments in a single request.

get_market_data_ex_tool

Obtains market data for multiple instruments in a single call.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational