What do you want to do?
5 use cases
-
Check delayed IHSG quotes and valuation from a terminal
Install Idx and pull delayed prices, P/E and dividend yield for several IDX tickers in one command.
- Idx
- Data and analytics
- Intermediate
View prompt
Use the idx command from the fzn0x/idx repo to fetch quotes for <tickers such as BBCA,BBRI,TLKM> by running `idx -o json stocks quote <tickers>`. Return price, change percent, P/E and dividend yield for each ticker as a short list. Verify that the response includes a last trade timestamp and state that the data is delayed.
-
Screen about 950 IDX stocks by valuation and sector
Filter the IDX universe with one expression, for example low P/E financial stocks.
- Idx
- Data and analytics
- Intermediate
View prompt
Use the idx tool from the fzn0x/idx repo to run `idx -o json stocks screen -f "<filter>"` where <filter> is a rule such as pe 15,sector=financial. Return the matching tickers with their P/E and sector as a table. Verify that the count of results matches the length of the returned data array.
-
Let an AI agent pull IDX stock briefs over MCP
Expose Idx as MCP tools so an agent can answer questions about IHSG stocks with live tool calls.
- Idx
- Data and analytics
- Advanced
View prompt
Connect to the idx MCP server from the fzn0x/idx repo and call idx_brief for <ticker such as BBCA>. Summarise the quote, verdict, returns against IHSG, top holders and headlines in plain language. Verify that the answer quotes the last trade time from the tool result and says the data is delayed.
-
Find who holds more than 1% of an IDX stock
Import KSEI's monthly holder register and list every holder above 1% for one ticker.
- Idx
- Data and analytics
- Intermediate
View prompt
Use the idx tool from the fzn0x/idx repo to run `idx ownership import --latest`, then `idx ownership ticker <ticker>` for <ticker such as BBCA>. Return the holders above 1% with their stake. Verify that the output names the month the register covers.
-
Trace top broker buying and selling in an IDX stock
See which brokers lead buying and selling in one ticker and whether a bandar phase is showing.
- Idx
- Data and analytics
- Intermediate
View prompt
Use the idx tool from the fzn0x/idx repo to run `idx broker <ticker>` and `idx bandar detect <ticker> --period 1w` for <ticker such as BBCA>. Return the top buyers, top sellers and the accumulation or distribution read. Verify that the output reports the session date and states whether the phase is accumulation or distribution.
How to use Idx
- Check you have what it needs: Rust 1.88 or newer for cargo install, or Node.js and npm for the npm route; An internet connection for the first run (offline mode serves cached data only); A terminal on Linux, macOS or Windows.
- Open fzn0x/idx on GitHub and read the README and license.
- Run
npm install -g github:fzn0x/idxorcargo install ihsg-clito install the Idx command. - Run
idx stocks quote BBCA,BBRI,TLKMto see a table for three tickers. - Read the footer line for the last trade time and whether the market is open, since the data is delayed.
- Run
idx -o json stocks quote BBCA | jq '.data[0] | {price, change_pct, pe_trailing, dividend_yield_pct}'to pull only the fields you need into a script.
These steps come from our top use case, Check delayed IHSG quotes and valuation from a terminal, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forIndonesian retail investors, analysts and developers who want IDX stock data in a terminal, scripts or AI agents.
- Why it is hot
- LanguageRust
- Sourcegithub.com/fzn0x/idx · Back to Hot repos
Requirements
- Rust 1.88 or newer for cargo install, or Node.js and npm for the npm route
- An internet connection for the first run (offline mode serves cached data only)
- A terminal on Linux, macOS or Windows
Maintain Idx? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/fzn0x-idx/?ref=badge)
Questions about Idx
What is Idx?
A Rust command-line tool and MCP server that gives delayed quotes, fundamentals, screening, news, ownership and broker data for Indonesian stocks (IDX/IHSG) without API keys. It is an open-source project on GitHub: https://github.com/fzn0x/idx.
Who is Idx for?
Indonesian retail investors, analysts and developers who want IDX stock data in a terminal, scripts or AI agents.
What can I do with Idx?
5 use cases so far, for example: Check delayed IHSG quotes and valuation from a terminal; Screen about 950 IDX stocks by valuation and sector; Let an AI agent pull IDX stock briefs over MCP. Each has steps and a copy-paste agent prompt.
What do I need to run Idx?
Rust 1.88 or newer for cargo install, or Node.js and npm for the npm route; An internet connection for the first run (offline mode serves cached data only); A terminal on Linux, macOS or Windows.
What are alternatives to Idx?
Other hot AI repos in Data and analytics: Kronos, DBT Charts, Brandpose, Open Lakehouse Compute Fabric, Zepp Bridge.
Is Idx safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.