1. Conduid
  2. Finance
  3. Idx
MCP server · Finance

Idx

IDX - Analyze the Indonesian stock market (IDX/IHSG) from web terminal, CLI, or any AI agents via MCP server. IHSG Prices, Fundamentals, and Screening. Free and No API keys required.

74Good

Scored 20 hours ago · breakdown

About Idx

Idx is an MCP server published by fzn0x in the Finance category: iDX - Analyze the Indonesian stock market (IDX/IHSG) from web terminal, CLI, or any AI agents via MCP server. IHSG Prices, Fundamentals, and Screening. Free and No API keys required. Conduid read 48 tools from its source: idx_astro, idx_bandar, idx_bandar_broker, idx_bandar_screen, idx_brief, idx_broker and 42 more. No package is published for it, so it installs from a source checkout.

The repository has 280 stars and 39 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.8.6 (30 Nov 2026): idx stockbit login and MCP idx_stockbit_login take sessions from Stockbit's cookie-only sign-in, which moves the two tokens out of the credentialStorage cookie into the… It follows v0.8.5 (27 Nov 2026), and the 5 most recent releases go back to v0.8.2 (6 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include analytics, cli, finance, idx, ihsg and indonesia.

Install

From source
git clone https://github.com/fzn0x/idx

Tools (48)

idx_astroAstrology for IHSG, computed offline: apparent positions of the Sun, Moon and planets (sign, degree, speed, retrograde) at 16:00 WIB on a date; the Moon's phase, illumination and next new and full moon; Mercury's retrograde period; the Javanese weton (day, pasaran, neptu) and Chinese shio; lunar phases, stations and sign ingresses ahead; aspects to IHSG's own chart (launched 1983-04-01, a date from secondary sources). backtest=true adds IHSG's daily returns since 1990 by lunar phase, Mercury retrograde, pasaran and Sun sign, each tested against all other days (Welch t, Bonferroni). Traditional astrology, not a forecast: present the backtest when asked whether it works. Returns the idx.astro.v1 envelope.
idx_bandarBandarmology (bandar detector) for one or more IDX tickers, from the broker summary: are the top brokers accumulating or distributing? For N = 1, 3, 5 and 10 the top N buyers' value minus the top N sellers' value (bandar value; in lots bandar volume) as a percent of all value traded: +15% or more big_accumulation, +5% accumulation, -5% distribution, -15% or less big_distribution, otherwise neutral. The headline signal uses top (default 5). phase reads it against the price move over the range (accumulation with the price within +2% = quiet_accumulation, distribution with the price within -2% = quiet_distribution, else markup/markdown). bandar_average is the top buyers' average price and bandar_gain_pct the last price against it; foreign_net_pct the foreign flow. With investor foreign or domestic the brokers are that side's and every percentage stays a share of the stock's value traded. Default period 1w ending at the latest session; daily=true adds the session-by-session movement and streak. reasons explain the reading. source auto (default) reads Stockbit when the user's Stockbit session works (as idx_stockbit_status says logged_in), otherwise IPOT; ipot and stockbit pick one, and stockbit without a working session is a usage error naming `idx stockbit login`. Stockbit lists every broker, exact, and its foreign net comes from a second read of foreign investors; its reads are paced a second apart, so daily costs about two seconds a session. Under auto a ticker Stockbit fails for is read from IPOT with a warning, and an IPOT failure without a session says to run `idx stockbit login`. The envelope's provider says which answered. Heuristic, not advice. Returns the idx.bandar.v1 envelope; failed tickers are listed in warnings.
idx_bandar_brokerBroker activity: where one IDX exchange member (e.g. YP, CC, AK) sits among the buyers or sellers of the most traded stocks (default 100, or the given symbols) over a period ending at the latest session, from the broker summary. For each stock: the broker's rank on that side, lots, value, average price, share of the stock's value traded, and its value on the other side and the net (buy minus sell) when it shows there too. source auto (default) reads Stockbit when the user's Stockbit session works (as idx_stockbit_status says logged_in): every broker that bought or sold, so every stock the broker traded shows, with its net. Otherwise IPOT, which publishes only the top ten per side, so stocks where the broker traded below tenth place do not show. ipot and stockbit pick one; stockbit without a working session is a usage error. The envelope's provider says which answered. Totals of the listed buying and selling. One broker-summary request per scanned stock, shared with idx_bandar_screen (cached; Stockbit's paced a second apart). Returns the idx.bandar.broker.v1 envelope.
idx_bandar_screenBandarmology screener: scans the most traded IDX stocks by value (default 100, or the given symbols) over a period ending at the latest session and returns the ones whose top brokers accumulate or distribute, as defined by idx_bandar. Presets: big-accumulation (acc>=15), accumulation (acc>=5), distribution (acc<=-5), big-distribution (acc<=-15), quiet-accumulation (top brokers buying while the price is flat or down), quiet-distribution, foreign-accumulation (acc>=5 and foreign net >=5% of value), below-bandar (accumulation with the price under the top buyers' average). filter adds clauses on acc, net, lots, fnet, fpct, gain, chg, turnover, conc, price, signal, phase. Rows carry signal, phase, net_pct, net_value, price move, foreign flow, bandar average and gain, and the top buyer codes. source auto (default) reads Stockbit when the user's Stockbit session works (as idx_stockbit_status says logged_in), otherwise IPOT; ipot and stockbit pick one, and stockbit without a working session is a usage error. From IPOT one broker-summary request per scanned stock, and on 1w/1m/3m usually three more for its foreign net (up to six when the latest sessions had no trades), which is rebuilt from single sessions because IPOT counts its latest session twice over a range; from Stockbit two per stock (all investors, then foreign investors), paced a second apart, so 100 stocks take about three minutes uncached. Under auto a stock Stockbit fails for is read from IPOT with a warning. The envelope's provider says which answered. Heuristic, not advice. Returns the idx.bandar.screen.v1 envelope.
idx_briefStart here for one ticker: a single call that returns the quote, fundamentals with the valuation verdict, one-year technicals with the signal, returns versus IHSG, dividend facts (TTM yield, streak), the local >1% holder register (top five, foreign share) and company headlines with sentiment, plus key_points (plain-language one-liners) and sections_failed for anything a source could not provide. Each section has the same shape as the dedicated tool. Returns the idx.brief.v1 envelope.
idx_brokerBroker summary for one or more IDX tickers: which brokers bought and sold the stock over one day or a date range, each with the broker code, name (IDX member list), class (local, foreign, state_owned = BUMN), lots, value in IDR and average price, ordered by lots (rank 1 = most lots), plus total value, total lots, average price, foreign net value, buy_value and sell_value. source auto (default) reads Stockbit when the user's Stockbit session works (as idx_stockbit_status says logged_in), otherwise IPOT (Indo Premier); ipot and stockbit pick one, and stockbit without a working session is a usage error naming `idx stockbit login`. IPOT publishes the top 10 buyers and top 10 sellers and rounds figures of a million and more to one decimal (rounded=true); under auto without a session a warning says a login lists every broker. Stockbit lists every broker that bought and every one that sold, exact, its totals are sums over the full lists and its foreign net (for the board asked for) comes from a second read of foreign investors; it answers every investor and board. Under auto a ticker Stockbit fails for is read from IPOT with a warning. Each summary says its source, how many brokers each side had (buyer_count, seller_count; null from IPOT unless its list is complete) and whether each list is complete (buyers_complete, sellers_complete). With investor foreign or domestic the totals are that side's buying, so total_value, total_lots and average_price are null and buy_value/sell_value say what the side bought and sold; with a board filter IPOT's foreign_net_value is null (its net covers every board). Over a range IPOT's foreign net is rebuilt from single sessions (IPOT counts its latest session twice there). Without dates each ticker gets its latest session with trades. Returns the idx.broker.v1 envelope; failed tickers are listed in warnings.
idx_calendarThe IDX exchange calendar from idx.co.id over a day or a range (default: the next 14 days; at most 92): dividend dates (cum, ex, recording, payment), rights issue (HMETD) dates, bonus, split, warrant, shareholders' meetings (RUPS: plan, notice, result, with the meeting time and venue), public exposes, listings, and on request bond events and buyback reports. Each entry has the date, issuer code, category and milestone (classified by idx from the entry's wording), the text as published and the source's own type fields. Filter by symbol and types. Returns the idx.calendar.v1 envelope.
idx_compareSide-by-side fundamentals (same fields as idx_fundamental, verdict included) for two or more IDX tickers. Returns the idx.compare.v1 envelope: data is an array in the order requested; tickers that failed are listed in warnings.
idx_corporate_actionsOne IDX stock's corporate actions from IPOT, upcoming ones included: cash and stock dividends, stock splits and reverse splits, bonus shares and rights issues, each with kind, the source's label, amount (IDR per share: the dividend, or a rights issue's exercise price), ratio old:new (1:5 split, 2:1 rights), cum, ex, recording and payment dates, status (Final, Tentative, ...) and the announcement text; plus shareholders' meetings (RUPS: date, time, venue, agenda) and listed warrants and rights (code, exercise price, issued, listing and maturity dates). Default: events from one year ago on. Returns the idx.actions.v1 envelope.
idx_dividendsCash dividend and stock split history for one IDX ticker: every payment (ex-date, per-share amount as reported, split-adjusted), yearly totals with year-over-year change, trailing-twelve-month total and yield (TTM total / last price, computed by idx), the latest payment and the consecutive-years streak. Returns the idx.dividends.v1 envelope.
idx_earningsReported quarterly EPS versus analyst estimates with surprise %, fiscal-year and quarterly revenue and earnings, analyst consensus for this and next quarter and fiscal year, the next earnings date, and dividend dates for one IDX ticker. period (annual | quarterly) and kind (reported | estimates) keep only those rows; data.scope says what was kept. Returns the idx.earnings.v1 envelope.
idx_financialsIncome statement, balance sheet and cash flow for one IDX ticker, oldest period first, amounts in reporting currency (IDR). Returns the idx.financials.v1 envelope. Every period carries all three statements (the CLI's --statement only narrows its table). Banks have no EBITDA/gross profit series (null).
idx_foreignForeign investors' buying and selling of one IDX stock over its latest sessions (default 20, at most 250) or a from/to date range, oldest first. Default source idx: idx.co.id's daily stock summary with close, change, volume, value, foreign buy and sell (shares), net shares and net shares times the close (a rupiah scale, not the traded value; IDX publishes foreign trading in shares only); returns the idx.foreign.v1 envelope. With source=ipot the flow comes from Indo Premier's broker summary instead: foreign buy, sell and net value in rupiah across all boards, the value traded, average price and foreign investors' share of the trading, two requests per session (cached), at most 60 sessions, figures of a million and more rounded by the source (rounded=true); returns the idx.foreign.value.v1 envelope, and works where idx.co.id refuses the connection. Totals give the sums, how many sessions were net buying or net selling and the current streak (+3 = three net-buy sessions in a row).
idx_fundamentalFundamentals report for one IDX ticker: valuation (P/E, forward P/E, PEG, P/B, P/S, EV/EBITDA), profitability (ROE, ROA, margins), balance sheet (debt/equity, current ratio, cash, debt), growth, dividend, per-share figures, analyst targets, and a plain-language verdict (undervalued | fair | overvalued | insufficient_data) with every rule that fired listed in reasons. When financial_currency differs from currency (USD statements, IDR price), P/B, P/S and the EV multiples divide the IDR price by USD figures and are not comparable, book value, revenue per share, total debt and total cash are in financial_currency, and the verdict does not score P/B. Returns the idx.fundamentals.v1 envelope. With lens, a focused reading instead: growth (latest quarter, forward EPS, fiscal-year revenue and net income; growing | stable | mixed | shrinking; idx.growth.v1), valuation (multiples, yield, analyst target; cheap | fair | expensive; idx.valuation.v1) or risk (negative equity, leverage, liquidity, losses, and beta, volatility and largest fall against IHSG over a year of daily closes; low | moderate | high; idx.risk.v1). A lens lists every rule that ran with its points and notes every rule it skipped.
idx_historyOHLCV candles for one IDX ticker, oldest first, with a summary (first/last close, change %, high, low, average volume). Returns the idx.history.v1 envelope. Use limit to bound the payload; the summary always covers the whole period. The envelope's provider names the source the candles came from (the server's history_provider setting).
idx_holidaysIDX trading holidays (Kalender Libur Bursa) for a year: each closed weekday with its Indonesian and English name, the year's trading-day count, whether today (Jakarta) is a trading day and the next trading day. Weekend holidays are not listed, as IDX publishes them; IDX can add a holiday later. Bundled from the yearly calendar idx.co.id publishes, so it works offline. Returns the idx.holidays.v1 envelope.
idx_indicesEvery IDX index for one trading day from idx.co.id's index summary: COMPOSITE (IHSG), LQ45, IDX30, IDX80, sector and thematic indices, each with previous close, high, low, close, change and change percent, number of constituents, value traded and market capitalisation (IDR). Default: the latest session published (weekends and trading holidays skipped); pass codes to keep only some. Returns the idx.indices.v1 envelope.
idx_insightsMSN Money's rule-based insights for one IDX ticker: about 30 statements in five categories (Valuation, Earnings, Growth, Performance, Health), each rated good, bad, neutral or not_rated against the company's peers, its industry, its own history, the price or a fixed threshold (compared_with), with the value and benchmark_value as MSN reports them (units differ by statement), the counts per rating, when MSN last updated them and the peer tickers MSN compares against. Returns the idx.insights.v1 envelope.
idx_instrumentsListed stocks from idx.co.id: code, name (IDX cuts long names at 30 characters), listing board (Utama, Pengembangan, Akselerasi, Ekonomi Baru, Pemantauan Khusus), first listing date and listed shares, sorted by code. Filter by board or by a code/name substring. When idx.co.id cannot be reached and nothing is cached, the bundled universe stands in (codes and names only) and a warning says so. Returns the idx.instruments.v1 envelope.
idx_intradayThe latest session of one IDX stock or index by the minute (Yahoo's chart, no login, about 10 minutes behind the market): OHLCV bars oldest first, the quote (previous close, last price and change, the day's open, high, low and volume, market state, last trade time) and a session summary (first and last bar, open, high, low, close, the bars' volume, VWAP computed by idx from the bars' typical prices). Today's session while the market trades, otherwise the last one (also in the first minutes after the open, before Yahoo has bars for the day; a warning says so). Minutes without a trade have no bar, and the opening auction's volume is in no bar. With the server on --provider stockbit the bars are realtime from the user's session. Returns the idx.intraday.v1 envelope.
idx_marketWhole-market overview from one pass over ~950 IDX tickers: IHSG (^JKSE) quote and market state, breadth (advancing/declining/unchanged), total turnover, and top lists of gainers, losers (both above a market-cap floor), most traded by value and heavyweights by market cap. Call this first for 'how is the market today'. Returns the idx.market.v1 envelope.
idx_market_brokersTop brokers: every IDX exchange member's trading for one session (default: the latest published), ranked by value (default), volume or frequency, each with code, member name, value (IDR), volume (shares), frequency and its share of all members' value. A member's buying and selling count together, so all members' value is twice the market's. By default (source auto) the ranking comes from idx.co.id's daily broker summary, and when idx.co.id refuses (Cloudflare), cannot be reached, fails or has not published the session yet, from IPOT's ranking if IPOT holds that session (the date, or with none the latest session that has ended), with a warning; the envelope's provider says which answered. Where IPOT could answer (no date or the latest session that has ended, outside a trading day's 08:58 to 19:00 WIB), auto does not wait out a Cloudflare challenge: idx.co.id is asked once and IPOT answers at once, and only if IPOT cannot is idx.co.id asked again for up to 30 s. source=idx asks idx.co.id only, any session, and asks again for up to 30 s after a challenge; when it refuses, the error names source=ipot if IPOT could answer (no date or the latest session that has ended, outside a trading day's 08:58 to 19:00 WIB). A session idx.co.id has not published yet is named: with no date the session before comes with a warning, and that date is not_found. source=ipot asks IPOT directly: its latest session only (a date before that session, or after today, is a usage error; a later one up to today, or a day without a session, is not_found), with each broker's value bought, sold and net and its class (local, foreign, state_owned), figures of a million and more abbreviated to two decimals (rounded=true). From idx.co.id buy_value, sell_value, net_value and kind are null and rounded is false. IPOT's ranking read on a trading day from 08:58 to 19:00 WIB cannot be dated and is refused (a provider error, or offline_miss or network for a copy read then and served offline or after a failed read; under auto, idx.co.id's error then stands). For which stocks one broker traded use idx_bandar_broker; for one stock's brokers idx_broker. Returns the idx.market.brokers.v1 envelope.
idx_market_foreignForeign net buying and selling for one session. Default source idx: idx.co.id's daily stock summary, every IDX stock (default: the latest published; weekends and holidays skipped): market totals of foreign buy, sell and net shares, then the top stocks foreigners net bought and net sold, each with close, change percent, foreign buy, sell, net shares and net shares times the close; ranked by net shares times close (value, default; a rupiah scale, not the traded value) or by net shares; returns the idx.market.foreign.v1 envelope. With source=ipot the figures come from Indo Premier instead, in rupiah, for the latest session it has published broker summaries for: the 100 stocks most traded by value on the latest quotes (the idx_bandar_screen scan, one broker summary each, cached), not every stock, each with price, change percent, value traded and its foreign net across all boards (and as a percent of the value), plus the market's value traded and foreign buy, sell and net from IPOT's market statistics; returns the idx.market.foreign.value.v1 envelope and works where idx.co.id refuses the connection. Those totals carry no date of their own and are dated as IPOT's broker ranking is: read on a trading day from 08:58 to 19:00 WIB they cannot be, so market is null with a warning. With ipot, a date before its session is a usage error and a later one not_found; sort shares is idx.co.id's only. Figures of a million and more are abbreviated by IPOT (rounded=true).
idx_membersIDX exchange members (Anggota Bursa): the broker codes idx_broker and idx_bandar report (e.g. CC, YP, ZP) with the member name and licences (Perantara Pedagang Efek = broker-dealer, Penjamin Emisi Efek = underwriter). Filter by a code or name substring. From idx.co.id; the bundled member list stands in when it cannot be reached. Returns the idx.members.v1 envelope.
idx_newsLatest Indonesian finance headlines from Kontan and CNBC Indonesia RSS feeds. With a symbol, headlines that mention the company (scope=company, matched by ticker or name) come first, followed by general market headlines (scope=market) up to limit; company_matches says how many company items exist. Each item carries a lexicon sentiment score and the matched terms. Returns the idx.news.v1 envelope.
idx_orderbookRealtime order book for one IDX ticker from the user's Stockbit session: the full depth ladder (bids and asks, sizes in shares), last/open/high/low, session volume and value, and foreign buy/sell/net (null, with a warning, while Stockbit marks them as not current with has_foreign_bs not true; a book recorded during trading carried the previous session's figures that way). Returns the idx.orderbook.v1 envelope. Needs a Stockbit login (idx_stockbit_status says whether one exists); errors with 'no Stockbit session' otherwise.
idx_ownership_changesMonth-over-month changes in holders above 1% between two imported release dates: new holders, exits and position changes with percentage-point and share deltas, largest moves first. The summary block (counts, net percentage points for foreign vs local holders and per investor type, per-issuer flow, top rises and falls) always covers every match; limit/offset page the rows. Optional ticker filter. Holders are compared by their summed position; `accounts_from`/`accounts_to` show the number of register lines. Returns the idx.ownership.changes.v1 envelope.
idx_ownership_compositionKSEI's monthly composition of one IDX stock (ksei.co.id "Kepemilikan Efek" archive): local versus foreign shares in nine investor types (insurance, corporate, pension fund, financial institution, individual, mutual fund, securities company, foundation, others) as a percent of the shares held in KSEI accounts (scripless), the scripless share of all listed shares (`scripless_pct`; shares held as certificates are outside the archive), and the foreign share for every imported month with the change in percentage points. Covers every holder, not only those above 1%, and names none. Downloads the newest month (about 125 KB) into the local database on first use and when a newer month can exist; `as_of` downloads a listed month that is missing. Returns the idx.ownership.composition.v1 envelope.
idx_ownership_entityEvery IDX position above 1% held by a person or institution whose name contains the query, from KSEI's monthly register (local SQLite). Spelling variants (PT/Tbk placement, punctuation) are grouped. With exact=true only the holder whose entity_key is the query (use a key from idx_ownership_search). Returns the idx.ownership.entity.v1 envelope.
idx_ownership_foreignDisclosed foreign (KSEI flag A) versus local (L) stake in the >1% register. With symbol: one issuer's foreign percent, holder counts and month-over-month change for every imported release (idx.ownership.foreign.v1). Without symbol: every issuer's change in foreign percent between two releases, largest moves first, with inflow/outflow counts (idx.ownership.foreign-flow.v1). Sums cover holders above 1% only. Needs ownership data: idx_ownership_snapshot with action "sync" fills an empty database.
idx_ownership_graphOwnership network around a ticker or a holder from KSEI's monthly register of holders above 1% (local SQLite): walks holder-issuer links for 1-6 hops (default 2: a ticker's holders and their other holdings, or a holder's issuers and their co-holders), strongest links first. Returns issuers and holders with their hop count (node ids ticker:SYMBOL and holder:entity_key) and every link between them (holder, issuer, percent, shares) in the idx.ownership.graph.v1 envelope; min_pct keeps larger stakes, max_nodes caps the size (truncated=true when hit). An ambiguous holder name starts at the best match and says so in warnings.
idx_ownership_institutionsInstitutional and fund holders of one IDX ticker from MSN Money (live, not the KSEI register; no import needed): up to 15 institutions and 20 funds with shares, percent of shares outstanding, the change since each holder's previous report (each holder reports on its own date, see report_date) and a signal computed by idx (new, buyer, seller, exited, unchanged), plus institutional, top-10 institutional, fund and free-float percentages and signal counts per list. Funds overlap their managers: never add the two lists. A stock MSN lists no holders for returns an empty report with a warning. Returns the idx.ownership.institutions.v1 envelope.
idx_ownership_rankingsRankings over KSEI's monthly register of holders above 1% (local SQLite), accounts summed per holder. view=holders (default): holders that own more than 1% of the most IDX issuers, with issuer count, summed percent (a breadth measure, not a share of anything), largest stake and every position, optionally filtered by KSEI investor type or foreign/local; custodian and nominee accounts rank high because they hold for clients (idx.ownership.cross-holders.v1 envelope). view=issuers: ownership concentration per issuer, the Herfindahl-Hirschman index (sum of squared stakes of the listed holders, 0-10,000), largest and top-3 stakes, listed and undisclosed percent, holder count and, from the 30 Oct 2026 register, the controller group's percent; holders at or below 1% are not published, so HHI is a lower bound. Ranks every issuer by hhi, top1 or top3 (ascending for the most widely held) or reports the given symbols (idx.ownership.concentration.v1 envelope).
idx_ownership_releasesLists the monthly KSEI register releases imported into the local database (as-of date, source, `rows` = register lines, `positions` after summing each holder's accounts, `other_date_rows`, `controller_column`). Releases imported by older idx versions are named in `warnings`. Use it to pick dates for idx_ownership_changes. Returns the idx.ownership.releases.v1 envelope.
idx_ownership_searchFinds holders in KSEI's monthly register of shareholders above 1% (local SQLite) by name: case-insensitive, words in any order, every spelling KSEI printed in any imported month included. Each match has the entity_key (pass it to idx_ownership_entity with exact=true, or to idx_ownership_graph), the display name, how it matched (exact, spelling, prefix, contains, words), its spellings, the issuers it holds above 1% in the release with their summed percent, investor type, local/foreign flag and the last release it appears in. No match is an empty list with a warning. Returns the idx.ownership.search.v1 envelope.
idx_ownership_snapshotThe local KSEI ownership database (holders above 1%) and the prebuilt copy on the project's GitHub mirror. action "status": the local SQLite file (path, schema version, imported months, the snapshot it was installed from) and, unless offline, what the mirror and its snapshot hold, the missing months and what sync would do (idx.ownership.status.v1); it writes nothing. action "sync": brings the database up to date by installing the prebuilt snapshot (a few MB, SHA-256 checked) when the database is empty, older or a subset of it, otherwise by importing only the missing monthly files; months only the local database has are never dropped unless force=true, and a .bak copy is kept (idx.ownership.snapshot-sync.v1). Call status first; call sync when the ownership tools report an empty database.
idx_ownership_tickerShareholders above 1% of one IDX ticker from KSEI's monthly register (local SQLite): holder name, investor type, local/foreign, shares, percent, sorted by percent. A holder listed on several register lines (scrip and scripless accounts) is summed into one row with `accounts`; from the 30 Oct 2026 register each row carries `controller_or_affiliate` (`controller_reported` says whether the release has it). Returns the idx.ownership.holders.v1 envelope. Needs ownership data: idx_ownership_snapshot with action "sync" fills an empty database.
idx_profileCompany profile for one IDX ticker: name, sector, industry, business description, employees, founding year, headquarters, website, market cap, shares outstanding, board and management. Returns the idx.profile.v1 envelope.
idx_quoteDelayed quotes for one or more IDX tickers: price, change, previous close, OHLC, volume, market cap, P/E, dividend yield, 52-week range and market_time (last trade, WIB). behind_session is true when that last trade is dated before the latest IDX session that has ended (IDX holidays are not counted): the stock is suspended or did not trade, or the source lags the close; null when the time is unknown or the symbol does not trade on IDX. Returns the idx.quotes.v1 envelope; unknown tickers are listed in warnings.
idx_returnsPrice performance for one or more IDX tickers computed from five years of daily closes: total returns over 1w, 1m, 3m, 6m, YTD, 1y, 3y, 5y; CAGR 3y/5y; annualised 1y volatility; max drawdown (1y and whole window, with peak/trough dates); best and worst day; 52-week range and distance from the high; plus the benchmark index's returns and the ticker's excess over it (IHSG ^JKSE by default). Dividends are excluded. Returns the idx.returns.v1 envelope (array, order as requested).
idx_rotationRelative rotation graph (RRG) for one or more tickers against a benchmark (IHSG ^JKSE by default), computed by idx from five years of daily closes: each symbol's RS-Ratio (relative strength, normalised around 100) and RS-Momentum (its rate of change, normalised around 100), the quadrant they put it in (leading: both >= 100; weakening: ratio >= 100, momentum < 100; lagging: both < 100; improving: ratio < 100, momentum >= 100), the change over the tail and the tail itself (the recent path, oldest first). An open approximation of the JdK RS-Ratio and RS-Momentum, whose formulas are proprietary: values differ from StockCharts and Optuma; method.formula states them. Axes are in standard deviations, not percent. Weekly bars by default (each week's last session); a first point needs 2 x window bars, so a short history leaves a row's values null with a warning. Rotation usually runs clockwise: improving, leading, weakening, lagging. Returns the idx.rotation.v1 envelope (rows in the order requested).
idx_screenScreens the IDX universe (~950 tickers) with a filter string such as "pe<15,roe>15,sector=financial,mcap>10T" and/or a preset (top-performers, worst-performers, high-dividend, low-pe, 52w-high, 52w-low, high-volume, large-cap). Quote-level keys (pe fpe pb mcap price div eps volume chg range) come from one batch quote; ret1w ret1m ret3m ret6m retytd ret1y (price return %, as MSN reports it) from one request for MSN's whole-market list; fundamentals keys (roe roa margin opmargin de growth epsgrowth peg ps sector industry) are fetched per company for the largest max_fundamentals survivors. When a row's financial_currency differs from its currency (USD statements, IDR price), its price_to_book and price_to_sales divide the IDR price by USD figures: they are kept as reported, but no pb or ps clause matches them, and a pb or ps sort puts them last. Returns the idx.screen.v1 envelope with the preset, every clause applied and counts explaining how many tickers each stage kept.
idx_sentimentAggregate lexicon sentiment (positive | negative | neutral | no_coverage, score -1..+1) over current headlines mentioning one IDX ticker, with counts, top terms and the strongest headlines. Indicative only. Returns the idx.sentiment.v1 envelope.
idx_stockbit_actionsCorporate actions from the user's own Stockbit session, one structured row each. With symbol: that stock's whole history, newest first, as far back as Stockbit keeps it (BBCA's cash dividends go back to 2009). Without symbol: the market calendar, oldest first, dated from `from` to `to` (default today and the next 14 days, at most 366), plus rights trading, tender offers and IPO offers still open in the range. kind filters: dividend, stock_dividend, bonus, rights, warrant, split, reverse_split, rups, public_expose, ipo, tender_offer, or all (default: all but ipo for a stock, all but warrant for the calendar, as structured warrants list dozens a month). Each row: kind, date (cum date for entitlements, else the event's first day), cum/ex/recording/distribution dates, dividend_per_share and currency, ratio_old:ratio_new, factor, price (rights or warrant exercise, tender or IPO price, IDR), trading/exercise/offer windows, listing_date, shares and shares_pct, meeting time and venue; null where Stockbit has nothing. One request per kind, a second apart, cached 6 h; a failing kind leaves a warning. Needs a Stockbit login (idx_stockbit_status); IPOT's free view with announcement texts is idx_corporate_actions, the exchange's calendar idx_calendar. Returns the idx.stockbit.actions.v1 envelope.
idx_stockbit_loginStarts a Stockbit sign-in for the machine running this server; use it only when the user asks (otherwise tell them to run `idx stockbit login` in a terminal). method 'page' returns at once with sign_in.url, a page on 127.0.0.1 (plus sign_in.ssh_forward, an ssh -L command, when this server is reached over SSH): give the user the URL; they sign in to stockbit.com in their own browser, ideally a private window, and send the session with the page's bookmark or by pasting it there (a request copied as cURL from DevTools, which accounts on Stockbit's cookie-only sign-in need since their tokens are HttpOnly cookies the bookmark cannot read); then poll idx_stockbit_status until sign_in.state is signed_in or failed. method 'browser' opens Chrome, Edge or Brave on Stockbit's sign-in page on this machine and waits until the user signs in or the timeout; it suits a local stdio server the user sits at. Default 'auto' picks page over SSH, without a display or without a browser. Either way idx checks the session with Stockbit before storing it, and a session that already works and that idx can renew is reported (sign_in.state already_signed_in) without opening anything unless force is true. Never ask the user for their Stockbit password, and never ask them to paste a cookie, a cURL command or a token into this conversation.
idx_stockbit_movementsReported changes in insiders' and major holders' stakes in IDX stocks, from the user's own Stockbit session, newest first: IDX insider disclosures (directors, commissioners and other insiders, any size, with the trade price) and KSEI's daily changes of holders at 5% and above (no price filed: Stockbit's estimate is in estimated_price and estimated_value, never in price or value). One stock's with symbol, the whole market's without; filter by from/to, holder (a row's holder_id, digits), action (buy, sell, transfer, cross, corporate_action) and source (idx, ksei). shares_from/to/change are exact and signed; pct_from/to/change are percent of the company as Stockbit rounds them; roles say director or commissioner. 50 rows a page, pages 1 to 10 (default 1; one request each, a second apart, cached 1 h); more says rows remain. Filings, not signals: many insiders buying at one price on one day is usually a share plan, and rows appear days after the change. Needs a Stockbit login (idx_stockbit_status). Returns the idx.stockbit.movements.v1 envelope.
idx_stockbit_statusWhether the stored Stockbit session can work now, and when its access and refresh tokens expire (never the token values). Call this before idx_orderbook, idx_stockbit_actions, idx_stockbit_movements or the stockbit provider. logged_in is false when no session is stored or it cannot work (expired is true when its tokens have expired); renewable is false when idx cannot renew it, so a logged-in session stops working when its access token expires; reason says why and what to do. If logged_in is false, tell the user to run `idx stockbit login` in a terminal (or start idx_stockbit_login when they ask); when only renewable is false, suggest the same before the access token expires. While a page sign-in started by idx_stockbit_login runs, sign_in shows its state (waiting, signed_in, failed), url, ssh_forward, expires_in_secs and the latest warning.
idx_technicalTechnical analysis of one IDX ticker from daily candles: RSI(14), MACD(12,26,9), SMA/EMA 20/50/200, Bollinger(20,2), ATR(14), volume vs 20-day average, support/resistance from swing points, 52-week range, trend label and a buy | sell | neutral signal with reasons. Returns the idx.technical.v1 envelope.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 8.1K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and flake.lock.
  • ✓No dynamic code executionScanned 180 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPsrc/mcp/mod.rs:2526, src/mcp/http.rs:22
Starts other programs
9 callssrc/cli/stockbit.rs:394, src/cli/stockbit.rs:399, src/cli/stockbit.rs:403
Outbound network calls
18 callssrc/error.rs:115, src/error.rs:119, src/error.rs:161
Writes or deletes files
59 callssrc/astro/mod.rs:255, src/cache/mod.rs:61, src/cache/mod.rs:133
Lockfile
Cargo.lock and flake.lock

Pattern matches on the source text of 180 files: places to read, not proof of what the code does at run time.

Releases

v0.8.6v0.8.6 · 30 Nov 2026Fixed `idx stockbit login` and MCP `idx_stockbit_login` take sessions from Stockbit's cookie-only sign-in, which moves the two tokens out of the `credentialStorage` cookie into the HttpOnly cookies `sb_social_access_token` and…
v0.8.5v0.8.5 · 27 Nov 2026Added `bandar detect`, `bandar screen` and `bandar broker` take `--source auto|ipot|stockbit` (MCP `source`), as `broker` does. `auto` reads Stockbit while a stored session works and IPOT otherwise. Stockbit lists every broker that bought…
v0.8.4v0.8.4 · 24 Nov 2026Added `stocks rotation` (alias `rrg`) and the MCP tool `idx_rotation`: a relative rotation graph against IHSG (or `--benchmark`). Each ticker's RS-Ratio, RS-Momentum and quadrant (leading, weakening, lagging, improving) with its recent…
v0.8.3v0.8.3 · 13 Nov 2026Fixed idx.co.id's Cloudflare challenge no longer fails a command at the first try: a challenged request is asked again for up to 30 s, a refusal serves the cached copy marked stale, an empty cached day no longer passes for a day without…
v0.8.2v0.8.2 · 6 Nov 2026Fixed Fundamentals verdict: negative shareholders' equity scores against the company and sets the P/B, ROE and debt/equity rules aside, and multiples that divide an IDR price by USD statements are marked and not scored (new optional…

README

The repository's README runs to about 8.1K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Idx

How do I install Idx?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Idx safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 180 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (9 calls), makes outbound network calls (18 calls) and writes or deletes files (59 calls). Its dependencies are pinned by Cargo.lock and flake.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Idx still maintained?

Yes — the latest release is v0.8.6 (30 Nov 2026), and the last commit was yesterday. The repository has 280 stars.

What tools does Idx provide?

Conduid read 48 tools from the source: idx_astro, idx_bandar, idx_bandar_broker, idx_bandar_screen, idx_brief, idx_broker, idx_calendar, idx_compare and 40 more.

What license is Idx released under?

The repository declares the MIT license. That applies to the latest release, v0.8.6, as well.