BH

bukely/hsbc-tradetrack-mcp

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 74 趋势 20MIT

汇丰交易追踪(汇丰交易追踪)非官方MCP服务器:通过汇丰公开的无需登录终端,展示美国和香港的趋势股票及前5%交易者的买卖持有名单。无需账户或认证。

概览

汇丰交易追踪 / 汇丰交易追踪的非官方MCP服务器:美国和香港股票汇丰个人银行投资者最常交易,汇丰前5%表现的交易者买卖持有股票。 所有数据均来自汇丰银行(即登录前TradeTrack页面后面的那几个)。不需要汇丰账户、API密钥或认证。 关键词:汇丰交易追踪、汇丰热门股票、前5%表现最好投资者、买入卖出比例、美股、港股、MCP。 早期(0.x)。工具模式在次要版本之间仍可能变化。 它通过标准节点本地运行,需要UV。请求会直接从你的机器发到汇丰银行。 需要URL而非本地命令的代理(claude.ai、云托管代理、其他机器)可以在可流式HTTP上运行自己的实例。没有公共实例。 端点是 http:// :8000/mcp。任何运行命令的平台都能用(VPS、Railway、Render Fly.io);在命令前面放 TLS。服务器本身没有授权,所以如果你不想让 URL 开放,可以添加你平台的访问控制。

概述(AI 翻译)

汇丰交易追踪 / 汇丰交易追踪的非官方MCP服务器:美国和香港股票汇丰个人银行投资者交易最多,以及汇丰前5%表现的交易者买卖和持有的股票。

所有数据均来自汇丰的公开、无登录端点(即登录前TradeTrack页面背后同样的终端)。无需汇丰账户、API密钥或认证。

关键词:汇丰交易追踪、汇丰热门股票、前5%表现最好投资者、买入卖出比例、美股、港股、MCP。

Status: 早期(0.x)。工具模式在次要版本之间仍可能变化。

快速开始

它通过标准节点本地运行,需要UV。请求会直接从你的机器发到汇丰银行。

远程和云代理的自托管

需要URL而非本地命令的代理(claude.ai、云托管代理、其他机器)可以在可流式HTTP上运行自己的实例。没有公共实例。

端点是 http:// :8000/mcp。任何运行命令的平台都能正常工作(VPS、Railway、Render Fly.io);在命令前面放 TLS。服务器本身没有认证权限,如果你不想让 URL 被打开,可以添加你平台的访问控制。

在FastMCP Cloud上,分叉这个仓库,并用入口点 'src/hsbc_tradetrack_mcp/server)部署。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

hsbc-tradetrack-mcp

Unofficial MCP server for HSBC TradeTrack (汇丰交易追踪 / 匯豐交易追蹤): the US and Hong Kong stocks HSBC personal banking investors trade most, and what HSBC’s top 5% performing traders buy, sell and hold.

All data comes from HSBC’s public, no-login endpoints (the same ones behind the pre-logon TradeTrack page). No HSBC account, API key or authentication is needed.

关键词:汇丰交易追踪、汇丰热门股票、前5%表现最好投资者、买入卖出比例、美股、港股、MCP。

Status: early (0.x). The tool schema may still change between minor versions.

Quick start

Runs locally over stdio and needs uv. Requests go from your machine straight to HSBC.

claude mcp add hsbc-tradetrack -- uvx hsbc-tradetrack-mcp
{
  "mcpServers": {
    "hsbc-tradetrack": { "command": "uvx", "args": ["hsbc-tradetrack-mcp"] }
  }
}

Self-host for remote and cloud agents

Agents that need a URL rather than a local command (claude.ai, cloud-hosted agents, other machines) can run their own instance over streamable HTTP. There is no public instance.

FASTMCP_TRANSPORT=http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 uvx hsbc-tradetrack-mcp

The endpoint is http://:8000/mcp. Any platform that runs a command works (a VPS, Railway, Render, Fly.io); put TLS in front of it. The server has no auth of its own, so add your platform’s access control if you don’t want the URL to be open.

On FastMCP Cloud, fork this repo and deploy it with the entrypoint src/hsbc_tradetrack_mcp/server.py:mcp; the free plan keeps the server private to your account.

Tools

Tool Arguments Returns
tradetrack market (US/HK), lists (default: all four), period (today, yesterday, last_month; last_3_months/last_6_months for top_hold) Latest lists
tradetrack_history market, date_from, date_to (≤ 31 days), lists, symbol Every intraday snapshot collected since 2026-10-16

Example prompt: “Which US stocks are HSBC’s top 5% traders buying today that they weren’t buying yesterday?”

Use with Interactive Brokers

skills/tradetrack-follow is an example agent workflow that follows the top 5% traders through IBKR’s official MCP connector: entries when they buy a stock two days in a row, exits on a stop or after a holding period (each run re-decides leveraged ETFs). It drafts IBKR order instructions; nothing trades until you submit them in IBKR. The strategy is untested: use a paper account.

claude mcp add --transport http ibkr https://api.ibkr.com/v1/api/mcp-public
curl -fsSL --create-dirs -o ~/.claude/skills/tradetrack-follow/SKILL.md \
在 GitHub 查看完整 README

安装

uvx hsbc-tradetrack-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "hsbc-tradetrack": { "command": "uvx", "args": ["hsbc-tradetrack-mcp"] } } }