AKShare One MCP

get_hist_data

Get historical stock market data. 'eastmoney_direct' support all A,B,H shares

Remote zwldarren/akshare-one-mcp

Other tools also called get_hist_data? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "adjust": {
      "enum": [
        "none",
        "qfq",
        "hfq"
      ],
      "type": "string",
      "default": "none",
      "description": "Adjustment type"
    },
    "source": {
      "enum": [
        "eastmoney",
        "eastmoney_direct",
        "sina"
      ],
      "type": "string",
      "default": "eastmoney",
      "description": "Data source"
    },
    "symbol": {
      "type": "string",
      "description": "Stock symbol/ticker (e.g. '000001')"
    },
    "end_date": {
      "type": "string",
      "default": "2030-12-31",
      "description": "End date in YYYY-MM-DD format"
    },
    "interval": {
      "enum": [
        "minute",
        "hour",
        "day",
        "week",
        "month",
        "year"
      ],
      "type": "string",
      "default": "day",
      "description": "Time interval"
    },
    "recent_n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "default": 100,
      "description": "Number of most recent records to return"
    },
    "start_date": {
      "type": "string",
      "default": "1970-01-01",
      "description": "Start date in YYYY-MM-DD format"
    },
    "indicators_list": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "enum": [
              "SMA",
              "EMA",
              "RSI",
              "MACD",
              "BOLL",
              "STOCH",
              "ATR",
              "CCI",
              "ADX",
              "WILLR",
              "AD",
              "ADOSC",
              "OBV",
              "MOM",
              "SAR",
              "TSF",
              "APO",
              "AROON",
              "AROONOSC",
              "BOP",
              "CMO",
              "DX",
              "MFI",
              "MINUS_DI",
              "MINUS_DM",
              "PLUS_DI",
              "PLUS_DM",
              "PPO",
              "ROC",
              "ROCP",
              "ROCR",
              "ROCR100",
              "TRIX",
              "ULTOSC"
            ],
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Technical indicators to add"
    },
    "interval_multiplier": {
      "type": "integer",
      "default": 1,
      "minimum": 1,
      "description": "Interval multiplier"
    }
  }
}