
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A dedicated MCP server built on akshare that gives large models access to China's A-share financial data for quantitative analysis.
FinQ4Cn MCP Server is cataloged as an MCP server attributed to jinhongzou. A dedicated MCP server built on akshare that gives large models access to China's A-share financial data for quantitative analysis. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for FinQ4Cn MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It is built on the akshare library for comprehensive financial data access.
README.md · 0f25b6d3a9dc · 采集于 2026-11-13 09:53:03 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A dedicated MCP server tool designed for quantitative analysis, FinQ4Cn-mcp-server aims to provide large models with convenient, free, and open-source access to financial data. Built on the akshare library, the project focuses on China's A-share market, offering users comprehensive data support for stocks and related financial products. It is particularly well-suited for professionals engaged in quantitative analysis as well as users interested in China's domestic stock market, meeting their needs for data from China's financial markets. As an ideal choice tailored to domestic investors, FinQ4Cn-mcp-server allows users to effortlessly access multi-dimensional data, including but not limited to stock prices, financial indicators, and market volatility, empowering precise decision-making.
mcp-server/
├── utils
├── |──modules.py # 数据校验模块
├── |──stocks_common_metrics.py # 常用指标数据
├── |──stocks_risk_alert.py # 股票风险提示信息
├──fs_server.py # mcp server启动文件
To install dependencies:
pip install -r requirements.txt
It is recommended to install the backtesting package using the following method:
pip install lib-pybroker -i https://pypi.tuna.tsinghua.edu.cn/simple
git clone https://github.com/jinhongzou/FinQ4Cn-mcp-server.git
cd FinQ4Cn-mcp-server
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
For detailed MCP configuration instructions across Cherry Studio, visit:
Cherry Studio MCP Configuration Guide
Cherry Studio{
"mcpServers": {
"FinQ4Cn-mcp-server": {
"name": "FinQ4Cn",
"command": "your_path/python.exe",
"args": [
"your_path/FinQ4Cn-mcp-server/mcp-server/fs_server.py"
]
}
}
}

MCP inspectorFor detailed MCP configuration instructions using MCP inspector, run the following command:
npx @modelcontextprotocol/inspector python ./mcp-server/fs_server.py
If the log messages are displayed, it means the service has started successfully. Open the address http://127.0.0.1:6274 in your browser to begin debugging MCP.
Starting MCP inspector...
🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
⚙️ Proxy server listening on port 6277
For detailed instructions on how to configure and use this toolkit for in-depth stock data analysis, please refer to the documentation or example code.
get_stock_code: Obtain the stock codes of companies by a stock names.get_stock_zygc_em: Retrieve the main business structure of companies listed, used to analyze the company's core business, products, services, and revenue distribution.get_stock_financial_abstract: Obtain the financial report summary data of companies listed.get_stock_margin_detail: Obtain the margin trading and short selling details of companies listed .get_stock_fhps_detail: Obtain the historical dividend and rights issue details of companies listed .
financial_news:Fetch the latest financial news and market trends within a specified date range.stock_news:Fetch the latest news articles and information related to a specific stock within a specified date range.
strategy_buy_with_stop_loss: Perform backtesting on historical stock data using the specified trading strategy to evaluate its performance. The strategy is as follows: if the stock is not currently held, buy the stock based on the specified holding percentage (percent) and set a profit-taking percentage (stop_profit_pct).
if __name__ == "__main__":
# 创建 StocksCommonMetrics 实例
stockutils = StocksCommonMetrics()
# 获取股票名称及股票代码
stock_codes = stockutils.get_stock_code(name="华泰证券")
if stock_codes:
stock_code = []
for item in stock_codes:
# 获取股票代码
stock_code= item['stock_code']
print(f"处理股票代码:{stock_code}")
# 获取股价历史数据
historical_stockprice_data = stockutils.get_historical_stockprice_data(stock_code=stock_code, start_date="20230101", end_date="20231001")
print(historical_stockprice_data)
# 获取财务概要数据
stock_financial_abstract = stockutils.get_stock_financial_abstract(stock_code=stock_code, indicator='按报告期')
print(stock_financial_abstract)
# 获取融资融券明细数据
stock_margin_detail = stockutils.get_stock_margin_detail(stock_code=stock_code, start_date="20230102", end_date="20230110")
print(stock_margin_detail)
This project is licensed under the MIT License - see the LICENSE file for details.
FastMCPakshare for comprehensive financial data accessPydantic for data validationClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for FinQ4Cn MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/finq4cn-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.