Atlas / MCP servers / peikuo / China Stock

China StockSAFE

mcp/peikuo/china-stock
Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
200 348r · 3w · 0d
Transport
—
License
—
Stars
23
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English

Overview

China Stock MCP Server is a Multi-Call Protocol (MCP) server that provides comprehensive access to Chinese stock market data through a unified API. It leverages the AKShare library to fetch real-time and historical data from various Chinese stock exchanges including Shanghai (SSE), Shenzhen (SZSE), and Beijing (BSE).

Features

  • Comprehensive Data Coverage: Access to A-shares, B-shares, indices, ETFs, and more
  • Real-time Market Data: Up-to-date quotes, bid-ask spreads, and market depth
  • Historical Data: Daily, minute-level, and tick-level historical price data
  • Fundamental Data: Company information, financial reports, and dividend history
  • Market Intelligence: Sector analysis, concept boards, and institutional holdings
  • Technical Indicators: Various technical analysis metrics and signals

Installation

# Clone the repository
git clone https://github.com/yourusername/china-stock-mcp.git
cd china-stock-mcp/china-stock-mcp-server

# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

API Documentation

The server exposes numerous endpoints for accessing different types of stock market data. Each function is well-documented with parameter descriptions and return value formats. Some key functions include:

  • stock_zh_a_spot_em(): Get real-time A-share market data
  • stock_zh_a_daily(symbol, start_date, end_date, adjust): Get historical daily data for a specific stock
  • stock_individual_info_em(symbol): Get detailed information for a specific stock
  • stock_financial_analysis_indicator(symbol): Get financial analysis indicators for a specific stock

Dependencies

  • AKShare: Chinese financial data interface package
  • FastMCP: Multi-Call Protocol server framework

License

This project is licensed under the MIT License - see the LIC

Read from source at commit efce4e4eaae7OBSERVED · 2026-10-10
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add china-stock-mcp-server -- uvx china-stock-mcp-server
claude-desktop
{
  "mcpServers": {
    "china-stock-mcp-server": {
      "command": "uvx",
      "args": [
        "china-stock-mcp-server"
      ]
    }
  }
}
03

Exposed tools (200)

348 read · 3 write · 0 destructive.

ToolRiskDescription
news_report_time_baidureadGet 百度股市通-财报发行
news_trade_notify_dividend_baidureadGet 百度股市通-交易提醒-分红派息
news_trade_notify_suspend_baidureadGet 百度股市通-交易提醒-停复牌
stock_a_all_pbreadGet 乐咕乐股-A 股等权重与中位数市净率
stock_a_below_net_asset_statisticsreadGet 乐咕乐股-A 股破净股统计数据
stock_a_congestion_lgreadGet 乐咕乐股-大盘拥挤度
stock_a_gxl_lgreadGet 乐咕乐股-股息率-A 股股息率
stock_a_high_low_statisticsreadGet 不同市场的创新高和新低的股票数量
stock_a_indicator_lgreadGet 乐咕乐股-A 股个股指标: 市盈率, 市净率, 股息率
stock_a_ttm_lyrreadGet 乐咕乐股-A 股等权重市盈率与中位数市盈率
stock_account_statistics_emreadGet statistics on stock trading accounts.
stock_add_stockwriteGet 新浪财经-发行与分配-增发
stock_allotment_cninforeadGet 巨潮资讯-个股-配股实施方案
stock_analyst_detail_emreadGet detailed analyst reports for a specific stock from Eastmoney.
stock_analyst_rank_emreadGet 东方财富网-数据中心-研究报告-东方财富分析师指数
stock_balance_sheet_by_report_delisted_emreadGet 东方财富-股票-财务分析-资产负债表-已退市股票-按报告期
stock_balance_sheet_by_report_emreadGet 东方财富-股票-财务分析-资产负债表-按报告期
stock_balance_sheet_by_yearly_emreadGet 东方财富-股票-财务分析-资产负债表-按年度
stock_bid_ask_emreadGet real-time bid-ask data for a specific stock.
stock_bj_a_spot_emreadGet Beijing Stock Exchange real-time quotes for all stocks.
stock_board_change_emreadGet 东方财富-行情中心-当日板块异动详情
stock_board_concept_cons_emreadGet stocks in a specific concept board from Eastmoney.
stock_board_concept_hist_emreadGet 东方财富-沪深板块-概念板块-历史行情数据
stock_board_concept_hist_min_emreadGet 东方财富-沪深板块-概念板块-分时历史行情数据
stock_board_concept_index_thsreadGet 同花顺-板块-概念板块-指数日频率数据
stock_board_concept_info_thsreadGet 同花顺-板块-概念板块-板块简介
stock_board_concept_name_emreadGet a list of all stock concept boards from Eastmoney.
stock_board_concept_spot_emreadGet 东方财富网-行情中心-沪深京板块-概念板块-实时行情
stock_board_industry_cons_emreadGet stocks in a specific industry board from Eastmoney.
stock_board_industry_hist_emreadGet 东方财富-沪深板块-行业板块-历史行情数据
stock_board_industry_hist_min_emreadGet 东方财富-沪深板块-行业板块-分时历史行情数据
stock_board_industry_index_thsreadGet 同花顺-板块-行业板块-指数日频率数据
stock_board_industry_name_emreadGet a list of all stock industry boards from Eastmoney.
stock_board_industry_spot_emreadGet 东方财富网-沪深板块-行业板块-实时行情
stock_board_industry_summary_thsreadGet 同花顺-同花顺行业一览表
stock_buffett_index_lgreadGet 乐估乐股-底部研究-巴菲特指标
stock_cash_flow_sheet_by_quarterly_emreadGet cash flow statement by quarter from East Money for a specific stock.
stock_cash_flow_sheet_by_report_delisted_emreadGet 东方财富-股票-财务分析-现金流量表-已退市股票-按报告期
stock_cash_flow_sheet_by_report_emreadGet cash flow statement by reporting period from East Money for a specific stock.
stock_cash_flow_sheet_by_yearly_emreadGet cash flow statement by year from East Money for a specific stock.
stock_cg_equity_mortgage_cninforeadGet equity pledge data from CNINFO (China Securities Regulatory Commission Information Disclosure).
stock_cg_guarantee_cninforeadGet 巨潮资讯-数据中心-专题统计-公司治理-对外担保
stock_cg_lawsuit_cninforeadGet 巨潮资讯-数据中心-专题统计-公司治理-公司诉讼
stock_changes_emreadGet market anomaly data from East Money
stock_circulate_stock_holderreadGet circulating shareholder data from Sina Finance.
stock_comment_detail_scrd_cost_emreadGet market cost data from East Money
stock_comment_detail_scrd_desire_daily_emreadGet daily market participation willingness data from East Money
stock_comment_detail_scrd_desire_emreadGet market participation willingness data from East Money
stock_comment_detail_scrd_focus_emreadGet user focus index data from East Money
stock_comment_detail_zhpj_lspf_emreadGet historical score data from East Money
stock_comment_detail_zlkp_jgcyd_emreadGet institutional participation data from East Money
stock_comment_emreadGet comprehensive stock evaluation data from East Money
stock_concept_cons_futureadGet concept stock constituents from Futu Niuiu
stock_concept_fund_flow_histreadGet historical concept fund flow data from East Money
stock_cy_a_spot_emreadGet real-time quotes for ChiNext (Growth Enterprise Market) stocks from East Money.
stock_cyq_emreadGet chip distribution data from East Money
stock_dividend_cninforeadGet dividend history for a specific stock from CNINFO.
stock_dxsyl_emreadGet new stock subscription yield data from East Money
stock_dzjy_hygtjreadGet active A-share statistics for block trades from East Money
stock_dzjy_hyyybtjreadGet active brokerage statistics for block trades from East Money
stock_dzjy_mrmxreadGet daily details of block trades from East Money
stock_dzjy_mrtjreadGet daily statistics of block trades from East Money
stock_dzjy_sctjreadGet market statistics of block trades from East Money
stock_dzjy_yybphreadGet brokerage rankings for block trades from East Money
stock_ebs_lgreadGet equity-bond spread data from LeGuLeGu.
stock_esg_hz_sinareadGet ESG ratings from Sina Finance
stock_esg_msci_sinareadGet 新浪财经-ESG评级中心-ESG评级-MSCI
stock_esg_rate_sinareadGet 新浪财经-ESG评级中心-ESG评级-ESG评级数据
stock_esg_rft_sinareadGet 新浪财经-ESG评级中心-ESG评级-路孚特
stock_esg_zd_sinareadGet 新浪财经-ESG评级中心-ESG评级-秩鼎
stock_fhps_detail_emreadGet 东方财富网-数据中心-分红送配-分红送配详情
stock_fhps_detail_thsreadGet 同花顺-分红情况
stock_fhps_emreadGet 东方财富-数据中心-年报季报-分红配送
stock_financial_abstractreadGet 新浪财经-财务报表-关键指标
stock_financial_abstract_thsreadGet 同花顺-财务指标-主要指标
stock_financial_analysis_indicatorreadGet financial analysis indicators for a specific stock.
stock_financial_benefit_thsreadGet 同花顺-财务指标-利润表
stock_financial_cash_thsreadGet 同花顺-财务指标-现金流量表
stock_financial_debt_thsreadGet 同花顺-财务指标-资产负债表
stock_financial_hk_analysis_indicator_emreadGet 东方财富-港股-财务分析-主要指标
stock_financial_hk_report_emreadGet 东方财富-港股-财务报表-三大报表
stock_financial_report_sinareadGet 新浪财经-财务报表-三大报表
stock_financial_us_analysis_indicator_emreadGet 东方财富-美股-财务分析-主要指标
stock_financial_us_report_emreadGet 东方财富-美股-财务分析-三大报表
stock_fund_flow_big_dealreadGet big deal tracking data from TongHuaShun data center.
stock_fund_flow_conceptreadGet concept fund flow data from TongHuaShun data center.
stock_fund_flow_individualreadGet individual stock fund flow data from TongHuaShun data center.
stock_fund_flow_industryreadGet industry fund flow data from TongHuaShun data center.
stock_fund_stock_holderreadGet 新浪财经-股本股东-基金持股
stock_gddh_emreadGet 东方财富网-数据中心-股东大会
stock_gdfx_free_holding_analyse_emreadGet 东方财富网-数据中心-股东分析-股东持股分析-十大流通股东
stock_gdfx_free_holding_change_emreadGet 东方财富网-数据中心-股东分析-股东持股变动统计-十大流通股东
stock_gdfx_free_holding_detail_emreadGet 东方财富网-数据中心-股东分析-股东持股明细-十大流通股东
stock_gdfx_free_holding_statistics_emreadGet 东方财富网-数据中心-股东分析-股东持股统计-十大股东
stock_gdfx_free_holding_teamwork_emreadGet 东方财富网-数据中心-股东分析-股东协同-十大流通股东
stock_gdfx_free_top_10_emreadGet 东方财富网-个股-十大流通股东
stock_gdfx_holding_analyse_emreadGet 东方财富网-数据中心-股东分析-股东持股分析-十大股东
stock_gdfx_holding_change_emreadGet 东方财富网-数据中心-股东分析-股东持股变动统计-十大股东
stock_gdfx_holding_detail_emreadGet 东方财富网-数据中心-股东分析-股东持股明细-十大股东
stock_gdfx_holding_statistics_emreadGet 东方财富网-数据中心-股东分析-股东持股统计-十大股东
stock_gdfx_holding_teamwork_emreadGet 东方财富网-数据中心-股东分析-股东协同-十大股东
stock_gdfx_top_10_emreadGet 东方财富网-个股-十大股东
stock_ggcg_emreadGet 东方财富网-数据中心-特色数据-高管持股
stock_gpzy_distribute_statistics_bank_emreadGet 东方财富网-数据中心-特色数据-股权质押-质押机构分布统计-银行
stock_gpzy_distribute_statistics_company_emreadGet 东方财富网-数据中心-特色数据-股权质押-质押机构分布统计-证券公司
stock_gpzy_industry_data_emreadGet 东方财富网-数据中心-特色数据-股权质押-上市公司质押比例-行业数据
stock_gpzy_pledge_ratio_detail_emreadGet 东方财富网-数据中心-特色数据-股权质押-重要股东股权质押明细
stock_gpzy_pledge_ratio_emreadGet 东方财富网-数据中心-特色数据-股权质押-上市公司质押比例
stock_gpzy_profile_emreadGet 东方财富网-数据中心-特色数据-股权质押-股权质押市场概况
stock_gsrl_gsdt_emreadGet 东方财富网-数据中心-股市日历-公司动态
stock_history_dividendreadGet 新浪财经-发行与分配-历史分红
stock_history_dividend_detailreadGet 新浪财经-发行与分配-分红配股
stock_hk_dailyreadGet historical daily data for a specific Hong Kong stock.
stock_hk_fhpx_detail_thsreadGet 同花顺-港股-分红派息
stock_hk_ggt_components_emreadGet 东方财富网-行情中心-港股市场-港股通成份股
stock_hk_gxl_lgreadGet 乐咕乐股-股息率-恒生指数股息率
stock_hk_histreadGet 东方财富网-行情首页-港股-每日分时行情
stock_hk_hist_min_emreadGet 东方财富网-行情首页-港股-每日分时行情
stock_hk_hot_rank_detail_emreadGet 东方财富网-股票热度-历史趋势
stock_hk_hot_rank_detail_realtime_emreadGet 东方财富网-个股人气榜-实时变动
stock_hk_hot_rank_emreadGet 东方财富-个股人气榜-人气榜-港股市场
stock_hk_hot_rank_latest_emreadGet 东方财富-个股人气榜-最新排名
stock_hk_indicator_eniureadGet 亿牛网-港股个股指标: 市盈率, 市净率, 股息率, ROE, 市值
stock_hk_main_board_spot_emreadGet 港股主板的实时行情数据; 该数据有 15 分钟延时
stock_hk_profit_forecast_etreadGet 经济通-公司资料-盈利预测
stock_hk_spotreadGet 所有港股的实时行情数据; 该数据有 15 分钟延时
stock_hk_spot_emreadGet real-time quotes for all Hong Kong stocks.
stock_hk_valuation_baidureadGet 百度股市通-港股-财务报表-估值数据
stock_hold_change_cninforeadGet 巨潮资讯-数据中心-专题统计-股东股本-股本变动
stock_hold_control_cninforeadGet 巨潮资讯-数据中心-专题统计-股东股本-实际控制人持股变动
stock_hold_management_detail_cninforeadGet 巨潮资讯-数据中心-专题统计-股东股本-高管持股变动明细
stock_hold_management_detail_emreadGet 东方财富网-数据中心-特色数据-高管持股-董监高及相关人员持股变动明细
stock_hold_management_person_emreadGet 东方财富网-数据中心-特色数据-高管持股-人员增减持股变动明细
stock_hold_num_cninforeadGet 巨潮资讯-数据中心-专题统计-股东股本-股东人数及持股集中度
stock_hot_deal_xqreadGet 雪球-沪深股市-热度排行榜-交易排行榜
stock_hot_follow_xqreadGet 雪球-沪深股市-热度排行榜-关注排行榜
stock_hot_keyword_emreadGet 东方财富-个股人气榜-热门关键词
stock_hot_rank_detail_emreadGet 东方财富网-股票热度-历史趋势及粉丝特征
stock_hot_rank_detail_realtime_emreadGet 东方财富网-个股人气榜-实时变动
stock_hot_rank_emreadGet 东方财富网站-股票热度
stock_hot_rank_latest_emreadGet 东方财富-个股人气榜-最新排名
stock_hot_rank_relate_emreadGet 东方财富-个股人气榜-相关股票
stock_hot_rank_wcreadGet 问财-热门股票排名数据; 请注意访问的频率
stock_hot_search_baidureadGet 百度股市通-热搜股票
stock_hot_tweet_xqreadGet 雪球-沪深股市-热度排行榜-讨论排行榜
stock_hot_up_emreadGet 东方财富-个股人气榜-飙升榜
stock_hsgt_board_rank_emreadGet sector ranking data for Shanghai-Shenzhen-Hong Kong Stock Connect holdings from East Money.
stock_hsgt_fund_flow_summary_emreadGet 东方财富网-数据中心-资金流向-沪深港通资金流向
stock_hsgt_fund_min_emreadGet 东方财富-数据中心-沪深港通-市场概括-分时数据
stock_hsgt_hist_emreadGet historical data for Shanghai-Shenzhen-Hong Kong Stock Connect capital flows from East Money.
stock_hsgt_hold_stock_emreadGet individual stock ranking data for Shanghai-Shenzhen-Hong Kong Stock Connect holdings from East Money.
stock_hsgt_individual_detail_emreadGet 东方财富网-数据中心-沪深港通-沪深港通持股-具体股票-个股详情
stock_hsgt_individual_emreadGet Shanghai-Shenzhen-Hong Kong Stock Connect holdings data for a specific stock from East Money.
stock_hsgt_institution_statistics_emreadGet institutional ranking data for Shanghai-Shenzhen-Hong Kong Stock Connect holdings from East Money.
stock_hsgt_sh_hk_spot_emreadGet real-time stock data for Shanghai-Hong Kong Stock Connect (Shanghai to Hong Kong) from East Money.
stock_hsgt_stock_statistics_emreadGet daily stock statistics for Shanghai-Shenzhen-Hong Kong Stock Connect holdings from East Money.
stock_index_pb_lgreadGet index price-to-book ratio data from LeGuLeGu.
stock_index_pe_lgreadGet index price-to-earnings ratio data from LeGuLeGu.
stock_individual_fund_flowreadGet fund flow data for a specific stock.
stock_individual_fund_flow_rankreadGet fund flow ranking for all stocks.
stock_individual_info_emreadGet detailed information for a specific stock.
stock_individual_spot_xqreadGet real-time stock data for individual stocks from XueQiu.
stock_industry_category_cninforeadGet industry classification data from CNINFO (China Securities Regulatory Commission)
stock_industry_change_cninforeadGet industry classification changes for listed companies from CNINFO.
stock_industry_clf_hist_swreadGet historical industry classification data for all stocks from Shenwan Hongyuan Research.
stock_industry_pe_ratio_cninforeadGet industry price-to-earnings ratio data from CNINFO.
stock_info_a_code_namereadGet stock codes and names for all A-shares listed on Shanghai, Shenzhen, and Beijing Stock Exchanges.
stock_info_bj_name_codereadGet stock codes and names for all stocks listed on the Beijing Stock Exchange.
stock_info_change_namereadGet historical names (former names) of a stock from Sina Finance.
stock_info_sh_delistreadGet suspended/delisted stocks information from the Shanghai Stock Exchange.
stock_info_sh_name_codereadGet stock codes and names for stocks listed on the Shanghai Stock Exchange.
stock_info_sz_change_namereadGet company name change information from the Shenzhen Stock Exchange.
stock_info_sz_delistreadGet suspended/delisted stocks information from the Shenzhen Stock Exchange.
stock_info_sz_name_codereadGet stock codes and names for stocks listed on the Shenzhen Stock Exchange.
stock_inner_trade_xqreadGet insider trading information from Xueqiu for stocks in the Shanghai and Shenzhen markets.
stock_institute_holdreadGet institutional investors
stock_institute_hold_detailreadGet detailed institutional shareholding information from Sina Finance.
stock_institute_recommendreadGet institutional recommendation pool data from Sina Finance based on specific indicators.
stock_institute_recommend_detailreadGet detailed stock rating records from the institutional recommendation pool on Sina Finance.
stock_intraday_emreadGet intraday data for a specific A-share stock from Eastmoney.
stock_intraday_sinareadGet intraday time-series data from Sina Finance.
stock_ipo_benefit_thsreadGet IPO beneficiary stocks data from TongHuaShun Data Center.
stock_ipo_declarereadGet IPO declaration information from East Money Data Center.
stock_ipo_inforeadGet new stock issuance information from Sina Finance.
stock_ipo_summary_cninforeadGet IPO-related information for a specific stock from CNINFO (China Securities Information).
stock_irm_ans_cninforeadGet answer data from the Interactive Easy platform (CNINFO).
stock_irm_cninforeadGet question data from the Interactive Easy platform (CNINFO).
stock_jgdy_detail_emreadGet detailed institutional research data from East Money.
stock_jgdy_tj_emreadGet institutional research statistics from East Money.
stock_kc_a_spot_emreadGet real-time quotes for all stocks on the Science and Technology Innovation Board (STAR Market) from East Money.
stock_lh_yyb_capitalreadGet data on brokerage departments ranked by financial strength from the Dragon-Tiger List.
stock_lh_yyb_controlreadGet data on brokerage departments ranked by group operation strength from the Dragon-Tiger List.
stock_lh_yyb_mostreadGet data on brokerage departments ranked by most appearances on the Dragon-Tiger List.
stock_lhb_detail_daily_sinareadGet daily details from the Dragon-Tiger List from Sina Finance.
stock_lhb_detail_emreadGet Dragon-Tiger List details from East Money
stock_lhb_ggtj_sinareadGet individual stock listing statistics from the Dragon-Tiger List from Sina Finance.
stock_lhb_hyyyb_emreadGet daily active brokerage departments from the Dragon-Tiger List from East Money
stock_lhb_jgmmtj_emreadGet daily statistics of institutional buying and selling from the Dragon-Tiger List from East Money
stock_lhb_jgmx_sinareadGet institutional seat transaction details from the Dragon-Tiger List from Sina Finance.
stock_lhb_jgstatistic_emreadGet institutional seat tracking from the Dragon-Tiger List from East Money
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-10 · audit v0.4.1 · source sha efce4e4eaae7full audit observations/trust-audit/mcp-server/peikuo__china-stock.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-10efce4e4eaae7SAFEB89first audit
06

Questions

What tools does China Stock expose?

200 in total: 348 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is China Stock safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does China Stock need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (efce4e4eaae7), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement