FinQ4Cn MCP Server

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

Local serverstdioPython

What is the FinQ4Cn MCP server?

适合国内使用的量化金融mcp server. Exposed over MCP by the finq4cn mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

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

Adding it to your client

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • Timeline — The Timeline tool exposed by this server
  • stocks_common_metrics — The stocks_common_metrics tool exposed by this server
  • BackTesting — The BackTesting tool exposed by this server

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the finq4cn mcp server does with a few real requests.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. FinQ4Cn's toolset — Timeline, stocks_common_metrics, BackTesting — is a fair guide to whether it matches your workflow. It is maintained by jinhongzou; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
TimelineThe Timeline tool exposed by this server.
stocks_common_metricsThe stocks_common_metrics tool exposed by this server.
BackTestingThe BackTesting tool exposed by this server.

How to install the FinQ4Cn MCP server

{
  "mcpServers": {
    "FinQ4Cn-mcp-server": {
      "name": "FinQ4Cn",
      "command": "your_path/python.exe",
      "args": [
        "your_path/FinQ4Cn-mcp-server/mcp-server/fs_server.py"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use FinQ4Cn to Timeline.
  • Use FinQ4Cn to stocks common metrics.
  • Use FinQ4Cn to BackTesting.

Frequently asked questions

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