MCP.so
Sign In
Servers

FinQ4Cn MCP Server

@jinhongzou

适合国内使用的量化金融mcp server

Overview

What is FinQ4Cn MCP Server?

FinQ4Cn MCP Server is a specialized MCP server tool for quantitative analysis that provides large language models with free, open-source access to Chinese A‑share financial data. Built on the akshare library, it offers comprehensive data on stocks, financial indicators, and market volatility, targeting professionals in quantitative analysis and investors interested in China’s domestic stock market.

How to use FinQ4Cn MCP Server?

Clone the repository, create a Python virtual environment, install dependencies via pip install -r requirements.txt, and optionally pip install lib-pybroker for backtesting. Then configure your MCP client (e.g., Cherry Studio or MCP inspector) with the path to fs_server.py. Detailed JSON configuration for Cherry Studio is provided in the README.

Key features of FinQ4Cn MCP Server

  • Retrieve stock volatility risk details for listed companies.
  • Obtain main business composition, historical prices, and financial summaries for stocks.
  • Access margin trading and short selling details for specified time ranges.
  • Fetch historical dividend and rights issue data for stocks.
  • Get latest financial news and market trends, plus stock-specific news.
  • Perform backtesting on historical data using a buy‑with‑stop‑loss strategy.

Use cases of FinQ4Cn MCP Server

  • Quantitative analysts analyzing A‑share stock metrics and financial reports.
  • Investors evaluating margin trading and short selling activity for specific stocks.
  • Researchers running backtests on historical price data with custom stop‑loss strategies.
  • Traders monitoring real‑time news and market trends to inform decisions.
  • Developers integrating free Chinese financial data into LLM‑powered analysis tools.

FAQ from FinQ4Cn MCP Server

What dependencies does FinQ4Cn MCP Server require?

It requires FastMCP, Pydantic, and akshare. For backtesting, it also depends on the lib‑pybroker package.

Is FinQ4Cn MCP Server free and open source?

Yes, it is open source under the MIT License and provides free access to financial data via the akshare library.

What financial data does it cover?

It focuses on China’s A‑share market, including stock prices, financial summaries, margin trading, dividends, news, and backtesting capabilities. Future plans include funds, futures, and technical analysis.

How do I integrate FinQ4Cn MCP Server with an MCP client?

Configure your MCP client (e.g., Cherry Studio or MCP inspector) to launch fs_server.py with your Python interpreter. Example JSON is provided in the README.

Does FinQ4Cn MCP Server support backtesting?

Yes, it provides a strategy_buy_with_stop_loss tool that backtests historical data using a buy‑and‑hold with profit‑taking strategy.

More from Other