← Back to directory
S

Stockbit MCP

Community
Access Indonesian market data, analysis, and charts through your Stockbit account.
Category
Other #162 of 678
Stars
★ 67 Popular
Transport
stdio (local process)
Runtime
Node.js 22+
Credentials
API key / credential required
License
MIT
Last commit
57FMRS · C

This is an unofficial IDX data and analysis MCP server for Stockbit users. Its documentation describes market data, broker flow, charts, and read-only real-portfolio access, along with two simulation options; this build explicitly removes real-money trading routes. Features depend on a private API, account entitlements, sign-in, and browser availability.

Strongest · Documentation 15/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
14/20
Maintenance
8/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 8/20
The README lists type checking, tests, build, smoke, and tool verification commands, and notes that upstream changes, login, and browser availability can affect features. However, this review has only the README and manifest, not source code, CI, or test contents, so the MCP handshake, tool behavior, and error handling cannot be verified. The static-review cap is 12; the conservative score is 8.
Security and permissions 14/20
The documentation says real trading routes were removed, credentials are stored in the OS keychain or an encrypted file, PIN entry is local, and chart deletion or layout replacement requires confirmation. The manifest does not require a secret. These boundaries are documented but not source-verified, so full marks are not justified; the supplied material shows no evidence of a security red line.
Maintenance 8/20
The material identifies an MIT license and version 1.4.2; repository metadata says the project is not archived and reports 67 stars and zero open issues. The README also says updates may be delayed because the owner is busy with college work. There is no evidence here of commit or release history, a security response channel, or sustained maintenance, so points are deducted.
Documentation 15/20
The README provides installation and login steps, a client configuration example, tool categories, simulation guidance, verification commands, and several limitations. The linked tool-reference, troubleshooting, security, and verification documents were not supplied for review; cost information and reviewable execution records are also absent, so full marks are not warranted.
Setup experience 12/20
The README specifies Node.js 22+, build and login steps, and a Claude Desktop configuration example. It also explains that ChatGPT requires a tunnel or a properly configured remote deployment. Setup still involves manual dependency installation, building, login, and path configuration, with limited platform compatibility detail. No verifiable installation or execution evidence was supplied, so the score is conservative under the static calibration.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkChanges third-party account dataControls a browser

Best for

  • Stockbit users researching the Indonesian IDX market through their own accounts.
  • Users who want to read securities-account data or use simulated trading features.
  • Users able to install Node.js and complete Stockbit sign-in themselves.

Not for

  • Users who need real buy, sell, amend, cancel, or e-IPO subscription actions.
  • Users who need deposits, withdrawals, or investment advice.
  • Users who require every Stockbit website feature to be available as a tool.

Required permissions

  • Requires the user's own Stockbit sign-in; passwords and OTPs are not collected through an assistant.
  • Reading the real securities portfolio requires the user to unlock a securities session in a terminal.
  • Credentials are saved in the OS Keychain or an encrypted file fallback.
  • Login and interactive chart drawing require a Chromium-family browser; data and settings are stored locally.

Risks and side effects

  • This is an unofficial project that relies on a private API that may change; upstream changes, account entitlements, login, or browser availability can affect features.
  • The project does not assure that automated access is permitted by Stockbit's terms and does not claim OJK approval or legal compliance certification.
  • Evidence labels distinguish observed responses from projected mappings; unrecognized account values remain absent instead of becoming zero.
  • Chart-save verification can be unknown when layout metadata is insufficient; review each tool's verification caveats.

Setup

Before you start

Runtime:Node.js 22+

Other optional settings (5)
STOCKBIT_MCP_TRANSPORT optional Sets the transport; the client example uses stdio.
STOCKBIT_TOOLS optional Selects enabled tools: core, all, or a comma-separated list of families or tool names.
STOCKBIT_TRADING optional Set to off or paper; it can only lower the trading mode, while enabling trading is done at a terminal.
STOCKBIT_NO_BROWSER optional Set to 1 to prevent opening a browser window.
STOCKBIT_STORE_DIR optional Sets the directory for token storage, settings, alerts, charts, and the paper ledger; defaults to ~/.stockbit.

As the README instructs, use this checkout or verified release artifacts version 1.4.1 or later. Install Node.js 22 or newer, run npm ci and npm run build, then sign in with node dist/bin/stockbit-auth.js login. Replace both absolute paths in the example with local paths, add the configuration to Claude Desktop's config file, and restart the client. Sign in on Stockbit's page. ChatGPT requires a supported Secure MCP Tunnel or a properly secured remote MCP deployment; a local stdio path alone cannot connect it.

claude_desktop_config.json
{
  "mcpServers": {
    "stockbit": {
      "command": "/absolute/path/to/node",
      "args": [
        "/absolute/path/to/stockbit-mcp/dist/bin/stockbit-mcp.js"
      ],
      "env": {
        "STOCKBIT_MCP_TRANSPORT": "stdio",
        "STOCKBIT_TOOLS": "core,chartbit,virtual"
      }
    }
  }
}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "stockbit": {
      "command": "/absolute/path/to/node",
      "args": [
        "/absolute/path/to/stockbit-mcp/dist/bin/stockbit-mcp.js"
      ],
      "env": {
        "STOCKBIT_MCP_TRANSPORT": "stdio",
        "STOCKBIT_TOOLS": "core,chartbit,virtual"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.stockbit]
command = "/absolute/path/to/node"
args = ["/absolute/path/to/stockbit-mcp/dist/bin/stockbit-mcp.js"]

[mcp_servers.stockbit.env]
STOCKBIT_MCP_TRANSPORT = "stdio"
STOCKBIT_TOOLS = "core,chartbit,virtual"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add stockbit -e STOCKBIT_MCP_TRANSPORT=stdio -e STOCKBIT_TOOLS=core,chartbit,virtual -- /absolute/path/to/node /absolute/path/to/stockbit-mcp/dist/bin/stockbit-mcp.js

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm Stockbit tools appear in the MCP client’s tool list, then request a BBRI quote. The server requires a valid Stockbit login session.

Troubleshooting

  1. Use the current checkout or verified release artifacts version 1.4.1 or later; the README says the 1.3.1 npm package lacks these changes.
  2. Confirm Node.js is version 22 or newer and check both absolute paths in the client configuration.
  3. Run node dist/bin/stockbit-auth.js status and check whether the browser or API session needs attention.
  4. Check that the client was restarted, STOCKBIT_TOOLS is configured as intended, and Stockbit sign-in is active; account entitlements or upstream changes can also limit features.
  5. For ChatGPT, check the Secure MCP Tunnel or remote deployment; a local stdio path is not sufficient.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show BBRI’s quote and orderbook.
  • Compare broker flow for BBRI and TLKM.
  • Show my portfolio.
  • Show my Stockbit virtual orders.

Use cases

Check quotes, order books, movers, market hours, and trade tape.
Review broker accumulation, distribution, and flow.
Analyze indicators, patterns, strategies, and scans.
Read a real portfolio or view Stockbit virtual-account and local-ledger simulations.
Read, draw, inspect, and save Stockbit charts.

Supported clients

Claude Desktop
ChatGPTPartial support

Listed from the project's documentation, not tested by this site.

Overview

Stockbit MCP is an unofficial server unaffiliated with Stockbit or IDX. It uses a user's own Stockbit account to access Indonesian Stock Exchange (IDX) quotes, broker flow analysis, charts, fundamentals, market content, and other supported features. It supports read-only access to a real securities portfolio, plus Stockbit virtual-account and local-ledger simulations; this build cannot execute real-money trades.

Similar servers

Source revision 4825012d9e21 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/stockbit-mcp.svg)](https://followmcp.com/en/servers/stockbit-mcp)