Stock Compass
io.github.Stock-Compass由 GitHub 账号 Stock-Compass 发布v1.0.0更新于 Oct 30, 2026
Watchlist, signals, trades and journal for HK, US and China A-share stocks. Records only; no orders.
概览
Stock Compass 的远程 MCP 连接器,让 AI 读取并更新你在港股、美股和 A 股上的自选股、持仓、信号、交易与日志。
- 可以做什么
- 读取自选股、持仓、交易、信号和价格提醒
- 记录、更正或删除交易,修改止损与目标价
- 增删自选股并设置价格提醒
- 协助撰写策略并解读回测结果
- 共提供 11 个工具,其中 4 个读取、7 个写入
- 适用场景
- 适合已经在 Stock Compass 记录交易、希望 AI 助手回答自己账户记录相关问题,或在对话中登记交易和提醒的用户。面向关注港股、美股和 A 股持仓、需要记账辅助而非下单执行的人。
- 运行要求
- 需要 Stock Compass Pro 账户或免费试用;使用 ChatGPT 时须先在官网开通试用。需要支持自定义 MCP 服务器(连接器)的 AI 应用套餐。通过 stock-compass.app 的 OAuth 登录,或不支持 OAuth 的客户端使用 Authorization Bearer 请求头携带 API 密钥。需能访问远程端点。
安装
在 SourceWeft 中
- 打开 控制台中的 Stock Compass,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Stock-Compass%2Fstock-compass/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"stock-compass": {
"type": "http",
"url": "https://stock-compass.app/api/mcp"
}
}
}README
English · 简体中文
Stock Compass for AI apps
Use your Stock Compass records from any AI app or agent. You can ask about your watchlist, holdings, signals, trades and journal; have it record, correct or delete a trade, change a stop or target, or set a price alert; or get help writing a strategy and reading a backtest. It covers Hong Kong, US and China A-shares.
It only keeps records. Recording a trade writes it into your Stock Compass journal. It never places an order with a broker.
What it looks like: stock-compass.app/en/ai · the site itself, with sample data: demo.
Recording a buy in ChatGPT: a preview first, saved only after you confirm. No order goes to a broker.
Before you start
- A Stock Compass Pro account, or the free trial. New accounts can try Pro free, with no card. With ChatGPT, start it on the site first: ChatGPT's approval page cannot start one.
- An AI app whose plan can add a custom MCP server (also called a custom connector). That is each company's rule, and it changes. As their help pages put it on 2026-10-31:
- Claude: every plan (Free, Pro, Max, Ultra, Team, Enterprise). Free allows one custom connector; on Team and Enterprise an owner adds it for the organization first. (Claude help)
- ChatGPT: on chatgpt.com, not the mobile apps. Business, Enterprise and Edu workspaces can (on Business, admins and owners add it). A personal Pro account can read but not make changes. Other plans are not listed. (OpenAI help)
- Claude Code, Cursor and other MCP clients: add a remote MCP server; where OAuth is not supported, use an API key.
Let your AI set it up
Paste this into your AI app (Claude, ChatGPT, Claude Code, Cursor or any other):
The AI reads the setup guide and walks you through connecting your app. If you have no account yet, it also helps you sign up; new accounts get a free Pro trial with no card. You sign in on stock-compass.app itself and never give the AI your password. To do it by hand instead, see Connect your AI app.
What is in this repository
The skill is three reference files plus SKILL.md. An AI reads a file only when the question needs it:
SKILL.md: when to use the tools, and the rules (confirm before any change, no advice);product.md: every page, plan, email and setting;strategies.md: rules, all 96 indicators, strategy JSON import, backtests;api.md: OAuth, API keys, MCP tools, REST endpoints and errors.
Connect your AI app
Each app sends you to stock-compass.app to sign in and approve it:
- Read only (the default): your watchlist, holdings, trades, signals and price alerts.
- Read and make changes: also add or remove watchlist stocks, record, correct or delete trades, change stops and targets, and set price alerts.
You can disconnect, or revoke an API key, at any time under Settings → AI apps & API on stock-compass.app.
Add the skill to your AI
- Claude: the plugin above includes it.
- Apps that load Agent Skills: copy the
skills/stock-compassfolder into the app's skills folder. Each app documents its own location. - Any other AI: give it the files above, or point it at stock-compass.app/llms.txt for a short summary.
Things to ask
- "What's on my Hong Kong watchlist, and what are my stops?"
- "Which buy signals did my strategies record this week?"
- "I bought 200 shares of 700 at 382.4 today. Record it, stop at 350."
- "Help me write a breakout strategy with an 8% stop, and give me the JSON to import."
- "Why did my backtest say PARTIAL?"
- "What does 'cost of waiting' on my journal page mean?"
Data
When you use it, the AI reads the records it needs from your account and sends Stock Compass only the changes you approve. What it reads becomes part of your conversation with that AI, under its provider's privacy terms. Stock Compass stores your sign-in only as a hashed token or key, and logs every change made through a connection; you can see the log in Settings. See the privacy policy.
Support
Email [email protected] or open an issue.
License
来源:README.md,提交 cb4160c
工具
0版本历史
1- v1.0.0最新Oct 30, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分