tdx-mcp

tdx-mcp

基于通达信行情服务器的 MCP Server,为 AI 助手提供实时 A 股、期货、港股等行情数据及技术指标。

Category
Visit Server

README

tdx-mcp

基于通达信行情服务器的 MCP Server,为 Claude、Cursor 等 AI 助手提供实时股票数据接口。

底层依赖 opentdx(子模块)

声明:本项目为个人学习项目,连接通达信公开行情服务器,严禁用于商业用途,严禁滥用接口。

MCP Server 一键配置

支持 Claude、Cursor、OpenClaw 等 AI 助手直接调用股票数据。

方式一:uvx(推荐)

{
  "mcpServers": {
    "tdx": {
      "command": "uvx",
      "args": ["--from", "tdx-mcp", "tdx-mcp"]
    }
  }
}

方式二:pip 安装后直接运行

{
  "mcpServers": {
    "tdx": {
      "command": "tdx-mcp"
    }
  }
}

支持的数据

类别 说明
A股行情 沪深北交所、创业板、科创板
扩展行情 期货、港股、美股、期权
K线 多周期(1分/5分/日线/周线等),支持前/后复权
分时 实时/历史分时数据
排行榜 涨跌幅、振幅、换手率、量比等
异动监控 主力监控精灵
F10 公司基本信息、财报
技术指标 MA、EMA、MACD、RSI、KDJ、BOLL、ATR

MCP Tools 一览

股票数据

Tool 说明
get_index_overview 指数概况(上证/深证/北证/创业/科创/沪深300)
stock_kline K线数据,支持复权
stock_quotes 个股/批量报价
stock_quotes_list 板块行情列表,支持排序过滤
stock_tick_chart 分时图
stock_top_board 涨跌/振幅/量比等排行榜
stock_transaction 历史成交
stock_auction 竞价数据
stock_unusual 异动监控
stock_f10 F10 公司信息

扩展行情

Tool 说明
goods_kline 期货/港股/美股 K线
goods_quotes 扩展行情报价
goods_quotes_list 扩展行情列表
goods_tick_chart 商品分时图
goods_history_transaction 商品历史成交

技术指标

Tool 说明
indicator_ma 移动平均线
indicator_ema 指数移动平均
indicator_macd MACD
indicator_rsi RSI
indicator_kdj KDJ
indicator_boll 布林带
indicator_atr 真实波动幅度
indicator_vol_ma 成交量均线

Star History Chart

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured