Skip to main content
Glama
DannyWongIsAvailable

Real-time Stock MCP Service

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_last_trading_dayB

获取最新的交易日历信息,包括最近的交易日和休市日。

Returns: 最近交易日信息的Markdown表格

Examples: - get_last_trading_day()

get_stock_searchA

搜索股票信息,根据关键字搜索相关的股票信息,支持模糊搜索。 得到准确的股票代码、名称、市场类型等

Args: keyword: 搜索关键字,可以是股票代码、股票名称等

Returns: 股票信息的Markdown表格

Examples: - get_stock_search("宁德") - get_stock_search("小米") - get_stock_search("300750")

get_real_time_dataA

获取指定股票的实时股票数据,包括价格、涨跌幅、成交量等信息。

Args: symbol: 股票代码,数字后带上交易所代码,格式如688041.SH

Returns: 格式化的实时股票数据,以Markdown表格形式展示

Examples: - get_real_time_data("688041.SH")

get_real_time_market_indicesA

获取实时大盘指数数据,包括上证指数、深证成指、创业板指等的实时行情。

Returns: 格式化的实时大盘指数数据,以Markdown表格形式展示

Examples: - get_real_time_market_indices()

get_klineA

获取指定股票在指定日期范围内的K线数据,支持A股,B股,H股,大盘

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ start_date: 开始日期 (YYYY-MM-DD格式) end_date: 结束日期 (YYYY-MM-DD格式) frequency: K线周期,可选值: "d"(日), "w"(周), "m"(月), "5"(5分钟), "15"(15分钟), "30"(30分钟), "60"(60分钟)

Returns: K线数据的Markdown表格

Examples: - get_kline("300750.SZ", "2024-01-01", "2024-01-31") - get_kline("300750.SZ", "2024-10-01", "2024-10-31", "w")

get_technical_indicatorsA

获取指定股票的技术指标数据,包括MACD、KDJ、RSI、BOLL等技术指标和技术分析。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ page_size: 返回数据条数,默认为30条

Returns: 技术指标数据的Markdown表格

Examples: - get_technical_indicators("300750.SZ") - get_technical_indicators("300750.SZ", 20)

get_intraday_changesA

获取指定股票的分时图盘口异动数据,包括重要交易事件和异常波动信息。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 分时图盘口异动数据的Markdown表格

Examples: - get_intraday_changes("300750.SZ")

get_business_scopeB

获取主营业务范围

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 主营业务范围文本

Examples: - get_business_scope("300750.SZ")

get_main_businessA

获取主营构成分析

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 主营业务构成数据的Markdown表格

Examples: - get_main_business("300059.SZ")

get_business_reviewA

获取经营评述

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 经营评述文本

Examples: - get_business_review("688041.SH")

get_main_financial_dataA

获取公司主要财务数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 公司主要财务数据的Markdown表格

Examples: - get_main_financial_data("300750.SZ")

get_institutional_ratingB

获取机构评级数据

Args: stock_code: 股票代码,纯数字,如688041 begin_time: 开始时间,格式如2025-10-23 end_time: 结束时间,格式如2025-12-07

Returns: 机构评级数据的Markdown表格

Examples: - get_institutional_rating("688041", "2025-01-01", "2025-12-31")

get_valuation_analysisA

获取指定股票的所有估值分析数据,包括市盈率、市净率、市销率和市现率的当前值和历史分位数。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ date_type: 时间周期类型 1 - 1年 2 - 3年 3 - 5年 4 - 10年

Returns: 所有估值分析数据的Markdown表格

Examples: - get_valuation_analysis("300750.SZ", 3) - get_valuation_analysis("300750.SZ", 2)

get_growth_comparisonB

获取成长性比较数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 成长性比较数据的Markdown表格

Examples: - get_growth_comparison("300750.SZ")

get_dupont_analysis_comparisonB

获取杜邦分析比较数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如600000.SH

Returns: 杜邦分析比较数据的Markdown表格

Examples: - get_dupont_analysis_comparison("600000.SH")

get_valuation_comparisonB

获取估值比较数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如600000.SH

Returns: 估值比较数据的Markdown表格

Examples: - get_valuation_comparison("600000.SH")

get_financial_summaryA

获取指定股票的业绩概况数据,包括历史各期的营业收入、净利润等财务指标。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如688041.SH date_type_code: 报告类型代码 "001" - 一季度报告 "002" - 半年度报告 "003" - 三季度报告 "004" - 年度报告

Returns: 业绩概况数据的Markdown表格

Examples: - get_financial_summary("688041.SH") - get_financial_summary("688041.SH", "003")

get_holder_numberA

获取指定股票的股东户数数据,包括历史各期的股东人数及对应的收盘价。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如688041.SH

Returns: 股东户数数据的Markdown表格

Examples: - get_holder_number("688041.SH")

get_industry_profit_comparisonA

获取指定股票的同行业公司盈利对比数据,包括同行业公司的基本财务和盈利指标。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如688041.SH

Returns: 行业公司盈利数据的Markdown表格

Examples: - get_industry_profit_comparison("688041.SH")

get_financial_ratiosA

获取指定股票的财务比率数据,包括盈利能力、偿债能力、运营能力等关键财务指标。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 财务比率数据的Markdown表格

Examples: - get_financial_ratios("300750.SZ")

get_plate_quotationB

获取东方财富网的涨跌幅前N板块行情数据,包括行业板块、概念板块、地域板块等。

Args: plate_type: 板块类型参数 - 1: 地域板块
- 2: 行业板块 (默认) - 3: 概念板块 page_size: 返回数据条数,默认为10条

Returns: 格式化的板块行情数据,以Markdown表格形式展示

Examples: - get_plate_quotation() - get_plate_quotation(1) - get_plate_quotation(3) - get_plate_quotation(2, 20)

get_historical_fund_flowA

获取指定股票最近N个交易日的资金流向数据,包括主力资金、散户资金、中单资金等的流入流出情况。

Args: stock_code: 股票代码,要在数字后带上交易所代码,格式如688041.SH limit: 返回数据条数,默认为10条

Returns: 格式化的历史资金流向数据,以Markdown表格形式展示

Examples: - get_historical_fund_flow("688041.SH") - get_historical_fund_flow("688041.SH", 20)

get_billboard_dataB

获取指定交易日的龙虎榜数据,包括股票基本信息、行情数据、资金流向等。

Args: trade_date: 交易日期,格式为 YYYY-MM-DD。 page_size: 返回数据条数,默认为10条。

Returns: 格式化的龙虎榜数据,以Markdown表格形式展示

Examples: - get_billboard_data("2025-11-28") - get_billboard_data("2025-11-28", 20)

get_stock_billboard_dataB

获取龙虎榜上榜历史数据(历次上榜)

Args: stock_code: 股票代码,数字后带上交易所代码,格式如688041.SH page_size: 返回数据条数,默认为10条

Returns: 格式化的龙虎榜上榜历史数据,以Markdown表格形式展示

Examples: - get_historical_billboard_data("688041.SH") - get_historical_billboard_data("688041.SH", 20)

get_market_performanceA

获取股票市场表现数据,包括与大盘和行业板块的涨跌对比

Args: secucode: 股票代码,包含交易所代码,如 300750.SZ

Returns: 格式化的市场表现数据,以Markdown表格形式展示

Examples: - get_market_performance("300750.SZ")

get_plate_fund_flowA

获取板块资金流今日排行,包括行业板块、概念板块、地域板块等的资金流入流出情况。

Args: plate_type: 板块类型参数 - 1: 地域板块
- 2: 行业板块 (默认) - 3: 概念板块 page_size: 返回数据条数,默认为10条

Returns: 格式化的板块资金流数据,以Markdown表格形式展示

Examples: - get_plate_fund_flow() - get_plate_fund_flow(1) - get_plate_fund_flow(3) - get_plate_fund_flow(2, 20)

get_current_plate_changesA

获取当日板块异动数据,包括各板块的涨跌幅、主力资金流向以及板块内异动个股等信息(异动总次数降序)。

Args: page_size: 返回数据条数,默认为10条

Returns: 格式化的当日板块异动数据,以Markdown表格形式展示

Examples: - get_current_plate_changes() - get_current_plate_changes(30)

get_current_count_changesC

获取当日异动对数据对比情况

Returns: 格式化的当日异动对数据对比情况,以Markdown表格形式展示

Examples: - get_current_stock_count_changes()

get_macroeconomic_researchB

获取宏观研究报告数据,推荐填入最新的日期以紧跟时事

Args: begin_time: 开始时间 end_time: 结束时间

Returns: 格式化的宏观研究报告数据,以Markdown表格形式展示

Examples: - get_macroeconomic_research("2025-12-01", "2025-12-12")

get_participation_wishC

获取个股市场参与意愿数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ Examples: - get_participation_wish("300750.SZ")

get_main_force_controlB

获取个股主力控盘数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ Examples: - get_main_force_control("300750.SZ")

get_smart_scoreA

获取股票智能评分数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ Examples: - get_smart_score("300750.SZ")

get_smart_score_rankB

获取个股智能评分排名数据

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ Examples: - get_smart_score_rank("300750.SZ")

get_top_rated_stocksB

获取全市场高评分个股

Args: page_size: 返回排名前几条 Examples: get_top_rated_stocks(10)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/DannyWongIsAvailable/real-time-stock-mcp-service'

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