{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "fzn0x-idx--ask-agent-for-idx-stock-brief",
 "repo": "fzn0x/idx",
 "repo_url": "https://github.com/fzn0x/idx",
 "repo_slug": "fzn0x-idx",
 "title": "Let an AI agent pull IDX stock briefs over MCP",
 "page_title": "How to let an AI agent pull IDX stock briefs over MCP with Idx",
 "summary": "Expose Idx as MCP tools so an agent can answer questions about IHSG stocks with live tool calls.",
 "who": "A developer or analyst who uses an AI agent daily and wants it to answer Indonesian stock questions from real data rather than memory.",
 "problem": "General AI models do not have current IDX prices, fundamentals or news, so their answers about a stock can be out of date.",
 "outcome": "An agent that calls Idx tools such as idx_brief and idx_fundamental and answers with figures and the source timestamp.",
 "steps": [
  "Install Idx with `npm install -g github:fzn0x/idx` or `cargo install ihsg-cli`.",
  "Run `idx mcp setup` to get the registration recipe for your agent harness. (inferred, check the README)",
  "Start the server with `idx mcp` over stdio, or with `idx mcp --http ADDR --token T` for streamable HTTP. (inferred, check the README)",
  "Ask the agent for a stock brief, for example for BBCA, and check that it calls idx_brief."
 ],
 "agent_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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README lists 36 MCP tools and registration recipes for 25 agent harnesses, but it does not name each agent, so check the setup output for your own harness.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "rust",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/fzn0x-idx/ask-agent-for-idx-stock-brief/",
 "md": "https://dedupedai.com/use-cases/fzn0x-idx/ask-agent-for-idx-stock-brief/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/fzn0x-idx--ask-agent-for-idx-stock-brief.json",
 "api_version": "v1"
}
