Skip to main content

Overview

Dataloader retrieves market price history, adds technical indicators, and exports tables for other research servers. Fetching data and exporting a file are separate operations.

Connection

MCP URL: https://quantx-api.limex.pro/mcps/dataloader Select Dataloader in the QuantX marketplace. Use its gateway connection with Streamable HTTP and QuantX authorization; follow Client Setup. Yahoo requests need no provider key. For Massive, supply your own Massive-API-Key header; a configured service key may also be available in a particular deployment. Set source explicitly for reproducibility instead of relying on the provider default. Cursor configuration (.cursor/mcp.json):
Set the referenced environment variables before starting Cursor. For Claude Code or Python, use the client-specific format in Client Setup.

Tools

The same server also provides Shared MCP Tools.

Examples

Retrieve Daily Prices

Call fetch-ohlcvs:
Always supply both dates and either timeframe or interval. Their null schema defaults do not make them optional at runtime: omitting the dates or bar size fails before data retrieval. Inspect the actual returned date range, ticker metadata, and row count. Market-data availability and date-boundary behavior depend on the provider.

Calculate an Indicator

Call list-supported-indicators with {"request": {}} to inspect supported names. This small compute-indicators example uses supplied synthetic prices:
For real data, call result_get on a stored fetch and pass result.payload.ohlcv_df as df. Do not pass a bare result_id, df: {"result_id": "..."}, or the whole response envelope. Indicator warm-up rows may be missing; do not silently treat them as zeros.

Export a Table

Call save-dataframe with the table and required identifiers. A top-level result_id or variable does not replace the required dataframe field. For a stored result, call result_get first and extract result.payload.ohlcv_df after fetching or result.payload.indicator_df after computing indicators. Pass that table as dataframe, not the whole response envelope. This example uses a small synthetic table:
Read the returned artifact with artifact_read_chunk. CSV and Parquet are suitable exchange formats; pandas pickle should only be used in a trusted environment. Export also requires both dates and a timeframe even though their schema defaults are null. Set them explicitly. Supported file_format values are csv, parquet, and pandas (pickle).

Results and Limitations

  • Use result_get for a stored output, then inspect result.payload.
  • When moving data to another MCP server, send the table contents: a result_id only works on the server that produced it.
  • Preserve timestamps and ticker separation when computing returns or building panels.
  • A successful connection does not guarantee provider coverage, an active provider subscription, or an unrestricted data quota.
  • Unsupported indicators, nonnumeric prices, and missing required columns are input errors; provider failures are separate.