Indonesian exchange (IDX) via your own Stockbit account: quotes, bandarmology, charts. Unofficial.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Bring Claude to your IDX trading desk.
Accepting donations: Saweria Link
Bandarmology, quotes, orderbook, fundamentals, your watchlists and portfolio β and, only if you switch it on, confirm-gated order entry β through your own Stockbit account, from Claude Desktop, Claude Code, Cursor or any MCP client.
English | Bahasa Indonesia
[!WARNING] Unofficial and unaffiliated. This project is not affiliated with, endorsed by or supported by Stockbit, PT Stockbit Sekuritas Digital or the Indonesia Stock Exchange. Nothing it produces is investment advice, and the author is not a licensed adviser.
[!IMPORTANT] What you need. A Stockbit account you log into yourself with a username and password β Google and Facebook sign-in are broken on Stockbit's own site. Node.js 22 or newer. A Chromium-family browser (Chrome, Edge, Brave, Vivaldi) for the one-time login.
broker_distributionadditionally needs a Rp 10,000,000 balance, which is Stockbit's gate, not this project's.
[!NOTE] Your data stays with you. This runs on your machine, talks only to Stockbit's own API hosts with your own session, and keeps the refresh token in the macOS Keychain (an encrypted file elsewhere). Nothing is sent to the author. The only channels that leave your machine are the alert webhook and Telegram bot you configure yourself.
[!CAUTION] Undocumented API; trading off by default. This uses the private JSON API behind Stockbit's own apps, which can change without notice. Automated access may conflict with Stockbit's Terms of Use β use it at your own risk, on your own account. Nothing here can place an order until you run
stockbit-auth trading-enableyourself, at a terminal.
Broker-to-broker flow, rendered by the server. Synthetic data.
It is an HTTP client, not a bot. Every number it reports comes from a JSON endpoint in a closed route table β no headless browser scraping pages, no reading data off Stockbit's UI, no polling loop you did not start.
exodus (market data), carina (Stockbit
Sekuritas), api-sekuritas (e-IPO). Logging out of one leaves the others alone, and the route
table decides which credential each request may carry.0600 as the file-backend refresh token β which on
macOS is a genuine reduction, since there the refresh token is in the Keychain and this is not.
STOCKBIT_NO_ACCESS_CACHE=1 turns it off. See SECURITY.md.src/http/routes/. Anything not in that table cannot be requested β test/transport.test.ts
asserts it, and every one of the 32 non-GET routes is admitted by a named decision record.off β stockbit-auth trading-enable --paper β
--live. The environment can only move you down it. Orders are two steps with a human in the
middle, and where your client supports elicitation you are asked directly as well.--auto-confirm, which you must deliberately enable for live trading at a
terminal; a model cannot enable it or widen its value cap. The tools take no price or quantity, so
what reaches the exchange is exactly what the ticket described.| Stockbit account | Username and password. Google/Facebook sign-in is broken upstream. |
| Node.js | 22 or newer. (src/auth/cdp.ts needs a global WebSocket.) |
| A browser | Chromium-family for the one-time login. Or import a HAR from any browser. |
| macOS | The Keychain prompts once when the token is stored. |
| Windows | Run the login in a terminal, or use the login tool from your client. |
| Linux | notify-send for desktop alerts; the encrypted file store is used instead of a keychain. |
| Rp 10,000,000 | Only for broker_distribution. Stockbit's gate. Everything else works without it. |
Bandarmology. broker_summary, broker_distribution, broker_activity, bandar_detector β
who accumulated, who distributed, and who was on the other side of the tape. NET and GROSS, all four
market boards, ten period windows including year-to-date in a single request. This is the data no
other market API has, and it is why this project exists.
Market, company and fundamentals. Quotes, full orderbook depth, auto-rejection bands, movers, daily bars, seasonality, key statistics, ratios, financial statements, ownership, insider activity, corporate actions, analyst ratings and peer comparison.
One analysis engine. Indicators, 16 candlestick patterns, multi-timeframe alignment, 9 strategy presets, backtests with walk-forward validation, universe scans, and TradingView Pine generation β all over the same series grammar, so the Pine you paste into TradingView fires on the condition that was actually measured.
Your account. Watchlists and saved screens, read and edited, with every write verified by reading the account back.
Your chart. Read and draw on your real Stockbit chart, in your own logged-in browser.
Automation. Eight workflows, also offered as MCP prompts. An alert daemon that keeps watching while no client is open, delivering to a log, a desktop notification, a webhook and Telegram.
What price_chart returns. Synthetic data.
| TradingView | Stockbit MCP | |
|---|---|---|
| IDX broker-level flow | none | the core of it |
| Data access | drives a chart GUI | a JSON API, read directly |
| Your portfolio | no | yes, with your own session |
| Order entry | no | yes, confirm-gated and off by default |
| Indonesian corporate data | thin | financials, ownership, corporate actions, IPO pipeline |
Claude Code
Claude Desktop β claude_desktop_config.json:
On Windows, npx needs a shell:
Claude Desktop Extension β download the latest stockbit-mcp-*.mcpb from
Releases and double-click it.
Cursor β ~/.cursor/mcp.json. Cursor stops at 40 tools and the default core profile is
exactly 40, so nothing extra is needed β though that leaves no room for a second MCP server, and
running one means a narrower list (STOCKBIT_TOOLS=market,bandarmology, say):
VS Code β .vscode/mcp.json. Its cap is 128; the default fits with room to spare:
Windsurf β ~/.codeium/windsurf/mcp_config.json, same shape as Claude Desktop.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stockbit-mcp)<a href="https://allmcps.com/mcp/stockbit-mcp"><img src="https://allmcps.com/api/badge/stockbit-mcp?style=directory" alt="Stockbit MCP on AllMCPs" /></a>