Skip to main content
Glama
liqiongyu

Xueqiu MCP

by liqiongyu

index_basic_info

Retrieve essential details for stock market indices using Xueqiu MCP. Provide an index code to access fundamental data for investment analysis.

Instructions

获取指数基本信息

Args:
    index_code: 指数代码

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
index_codeNoSZ000002

Implementation Reference

  • main.py:310-319 (handler)
    The main handler function for the 'index_basic_info' tool. It is decorated with @mcp.tool() for registration, takes an index_code parameter, calls ball.index_basic_info(index_code), processes the result with process_data, and returns it as a dict. The docstring provides the schema description.
    @mcp.tool()
    def index_basic_info(index_code: str="SZ000002") -> dict:
        """获取指数基本信息
        
        Args:
            index_code: 指数代码
        """
        result = ball.index_basic_info(index_code)
        return process_data(result)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liqiongyu/xueqiu_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server