
Stockbit MCP
io.github.INo-xious由 GitHub 账号 INo-xious 发布v1.4.1更新于 Oct 25, 2026
Indonesian exchange (IDX) via your own Stockbit account: quotes, bandarmology, charts. Unofficial.
概览
非官方 MCP 服务器,通过你自己的 Stockbit 账户让助手获取印尼交易所行情、券商资金流、图表、只读投资组合和模拟交易。
- 可以做什么
- 读取行情数据:报价、订单簿、涨跌榜、交易时段与成交明细,以及券商吸筹与派发资金流(bandarmology)。
- 适用场景
- 当你通过 Stockbit 账户关注印尼交易所(IDX)股票,希望助手获取行情、券商资金流、基本面、新闻和图表,或在模拟账本中做模拟交易时使用。它适合分析与研究流程,不用于真实下单。
- 运行要求
- 本机运行 Node.js 22+ 进程,登录和绘图需要 Chromium 系浏览器。需要 Stockbit 账户,并在 Stockbit 自己的页面登录;凭据保存在本机操作系统钥匙串或加密文件中。读取真实投资组合需在终端单独解锁证券会话。可选环境变量:STOCKBIT_NO_BROWSER、STOCKBIT_STORE_DIR、STOCKBIT_TOOLS、STOCKBIT_TRADING。
安装
在 SourceWeft 中
- 打开 控制台中的 Stockbit MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Stockbit MCP
Stockbit market data, analysis, chart drawing, read-only brokerage portfolios, and simulated trading for Claude, ChatGPT and other MCP clients. Unofficial and unaffiliated with Stockbit or IDX.
This build cannot execute real-money trades. Real buy, sell, amend, cancel and e-IPO subscription
tools and their HTTP routes have been removed. Deposits and withdrawals are not supported. Old
live settings fail closed; there is no switch to restore live execution. This is a technical
boundary, not a claim of OJK approval or a legal compliance certification.
Bahasa Indonesia · Tool reference · Client setup · Security · Verification
Build and sign in
Use this checkout or verified 1.4.1 or later release artifacts. The 1.3.1 npm package does
not contain these changes; the earlier v1.4.0 GitHub tag also points to a 1.3.1 package manifest.
Requires Node.js 22+ and a Chromium-family browser for login and interactive chart drawing. Sign in
on Stockbit's own page; passwords and OTPs are never requested through an assistant. Credentials are
saved locally in the OS Keychain, or an encrypted file fallback. A browser session and the API
session are separate; status explains which one needs attention.
Connect a client
Claude Desktop's claude_desktop_config.json can launch the built server:
Use command -v node (PowerShell: (Get-Command node).Source) to find Node's path, and replace both example paths. Restart the client after
changing its config. STOCKBIT_TOOLS=all exposes the complete supported tool set; core is the
smaller default. Profiles select capabilities, not permission to move real money.
You can also build a local Claude Desktop extension with npm run build:mcpb. See
client setup for installation and profile selection.
For ChatGPT, use its supported Secure MCP Tunnel or a properly secured remote MCP deployment. The stdio server does not become accessible to ChatGPT by pasting a local file path into a connector. Client setup explains current requirements, the optional local HTTP transport, and what remains a deployment step.
Capabilities
This is the supported API surface, not a promise that every feature on Stockbit's website has an equivalent tool. Feature entitlements, undocumented upstream changes, login and browser availability can limit individual tools. Evidence labels distinguish observed responses from projected mappings; an unrecognised account value stays absent instead of becoming zero.
Portfolio and simulations are separate
Real brokerage reads require a securities session. Unlock it yourself at your terminal:
The PIN is entered locally and never stored or passed to an MCP tool. Unlocking the session does not enable trading: this build has no real order submission route.
virtual_* uses Stockbit's website virtual account with the ordinary Stockbit login. It is distinct
from the real portfolio and from the local paper ledger. Only routes under /virtualtrading/ may
submit those simulated orders. Read each tool's verification caveats before relying on its result.
For the independent local paper ledger:
Use paper_order_preview, review the ticket, then the matching paper_order_buy, paper_order_sell,
paper_order_amend or paper_order_cancel. Inspect paper_portfolio and paper_orders for simulation
results. portfolio always reads the real brokerage portfolio, even when local paper mode is enabled.
Chart drawing
Enable the chartbit family and sign in using the saved browser profile. A typical flow is
chartbit_open → chartbit_shapes → chartbit_draw → chartbit_screenshot → chartbit_save.
Get the matching layout ID from chartbit_layouts and pass it to chartbit_save for a scoped
persistence check. Without enough layout metadata, the save result reports verification as unknown.
Read existing drawings first. Clear only server-created shapes with scope: "ours"; deleting all
shapes or replacing a saved layout requires explicit confirmation. Save paths verify persistence
against Stockbit's stored layout/drawings.
Example requests: “Analyze BBRI and draw its support and resistance,” “Show my portfolio,” “Compare broker flow for BBRI and TLKM,” or “Show my Stockbit virtual orders.”
Verification
After login, run the reusable read-only MCP sweep:
It inventories every registered tool and records passed reads, upstream failures, missing
prerequisites, and mutations/browser actions needing controlled scenarios. It never places orders,
edits account state or opens a browser. Its report is stored under ignored .stockbit/ and contains
no response payloads. --only quote,analyze narrows a follow-up check. The isolated test suite covers
mutation guards and simulated write scenarios without touching an account.
The API is private and may change. This project does not provide investment advice or assurance that automated access is permitted by Stockbit's terms. See security boundaries and the verification record for practical limits.
来源:README.md,提交 39bc146
工具
0版本历史
2- v1.4.1最新Sep 25, 2026
- v1.3.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分