MCP.so
登录

MCP Zhitou Server

@CTND

基本信息

分类

其他

传输方式

stdio

作者

CTND

关于 MCP Zhitou Server

mcp_zhitou_server

#mcp-zhitou-server#ai#stock-market

MCP Zhitou Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Zhitou Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp_zhitou_server?

mcp_zhitou_server is a Python-based Model Context Protocol (MCP) server that acts as a bridge between AI agents (such as Cursor and Cline) and the Zhitou HS Data API. It provides real-time China A‑share stock market data, allowing users to query stock lists, company profiles, capital flows, and more directly through natural language in an AI agent’s chat interface.

How to use mcp_zhitou_server?

Install Python 3.8+, the requests library, obtain a Zhitou API token, and download the single script file mcp_zhitou_server.py. Replace the placeholder token in the script with your real API token, then configure the MCP client (Cursor or Cline) by specifying the command to run the script. After setup, use natural language in the AI agent to invoke the available tools.

Key features of mcp_zhitou_server

  • MCP standard implementation via stdio and JSON-RPC
  • Direct integration with Zhitou HS Data API
  • Written in Python for easy extension
  • Plug‑and‑play setup with clear configuration guides
  • Tool encapsulation for common Zhitou API endpoints
  • Basic logging and error handling for debugging

Use cases of mcp_zhitou_server

  • Query the latest A‑share stock list (code, name, exchange)
  • Retrieve company profiles for a given stock code
  • Check new stock calendar (IPO subscription dates, listing dates)
  • Analyze daily capital inflow trends for a stock (last decade)
  • Fetch all historical announcements for a specific stock

常见问题

1

What are the runtime requirements?

Python 3.8 or higher, the `requests` library, a valid Zhitou API token, and an MCP‑compatible client (Cursor or Cline).

2

How do I get the API token?

Register at Zhitou (https://www.zhituapi.com/) and obtain your personal API token. Replace the placeholder `"ZHITU_TOKEN_LIMIT_TEST"` in the script with your token.

3

What tools are available?

Current tools include `get_stock_list`, `get_new_stock_calendar`, `get_company_profile`, `get_capital_daily_trend`, and `get_all_announcements`. Additional tools can be added by extending the script.

4

How do I configure mcp_zhitou_server for Cursor?

Create a `.cursor/mcp.json` file in your project root with the command and script path, and optionally declare the tools. Example JSON is provided in the README.

5

How do I configure mcp_zhitou_server for Cline?

In Cline’s MCP Servers settings, add a new server with a name, and set the command to the full Python interpreter path and the absolute path to the script.

评论

其他 分类下的更多 MCP 服务器