
IBI Portfolio (Israel)
io.github.kobimantzur由 GitHub 帳號 kobimantzur 發布v0.1.1更新於 Oct 29, 2026
Read-only IBI (Israel Brokerage) portfolio for AI apps: positions, cash, P/L. Login stays local.
發布方自己的服務:PortfolioFit
概覽
唯讀 MCP 伺服器,在本機登入 IBI(以色列券商)NextGen 帳戶,讓 AI 助理讀取持倉、現金與損益。
- 可以做什麼
- 讀取投資組合彙總:總市值、現金、現金占比、總損益與未實現損益,以及每筆持倉的代號、數量、成本、市值、損益和權重
- 讀取近期帳戶活動:買賣委託與成交紀錄,含狀態、數量、價格、費用和日期
- 回答例如組合總值多少、哪些持倉最大、本月買賣了什麼等問題
- 開啟展示模式時回傳虛構數字的範例資料,不登入 IBI
- 適用情境
- 適合想在自己電腦上的 AI 助理直接回答 IBI NextGen 投資組合與近期交易狀況、而不必手動匯出資料的人。它為唯讀,適合檢視與彙報,不適合交易操作。
- 執行需求
- 以本機程序執行,透過 uv 從 PyPI 安裝,需要 Python 工具鏈(uv)並一次性下載約 100 MB 的瀏覽器。需要 IBI NextGen 使用者名稱與密碼,通常由 setup 指令存入系統鑰匙圈,也可透過 IBI_USER/IBI_PASS 或 IBI_USER_CMD/IBI_PASS_CMD 提供。僅支援桌面版 AI 應用程式;一次讀取約需 30 至 60 秒,可能需要調高工具逾時。簡訊兩步驗證需設定 IBI_HEADED=1。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 IBI Portfolio (Israel),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ibi-portfolio-mcp
A read-only MCP server for IBI (Israel Brokerage & Investments, אי.בי.אי). It lets Claude, ChatGPT, Cursor and other AI apps read your IBI portfolio (positions, cash, profit/loss and recent account activity) so you can ask things like "how is my portfolio doing?". It cannot buy, sell or move money. Works on Mac and Windows.
🇮🇱 שרת MCP לקריאה בלבד עבור חשבון המסחר שלך באי.בי.אי (IBI NextGen). הוא נותן ל-Claude, ל-ChatGPT או לכל עוזר AI אחר לראות את תיק ההשקעות שלך: אחזקות, מזומן, רווח והפסד ופעולות אחרונות. הוא לא יכול לבצע פקודות קנייה או מכירה. הסיסמה נשמרת רק במחשב שלך ולא מגיעה למודל. עובד על Mac ועל Windows.
Unofficial. Not affiliated with or endorsed by IBI.
Demo with made-up numbers. The answer is a real reply from Claude.
How it is secured
Your IBI login gives full access to your money, so this is the most important part.
Your password
- 🔒 It is saved only in your computer's own secure vault: Keychain on Mac, Credential Manager on Windows. Both are encrypted by your operating system. It is never saved in a file.
- 🔒 It is typed only into IBI's real login page (
auth.ibi.co.il), over HTTPS, inside a hidden browser on your own computer. - 🔒 It is never sent to the AI. The AI cannot ask for it: no tool takes a password, and no tool returns one.
- 🔒 Your AI app's settings hold only the location of the program, not your username or password.
- 🔒 It is never written to logs, and error messages are cleaned of your username and password before the AI sees them (there is a test for this).
Your account
- 🛡️ Read-only. There is no code to buy, sell, cancel or transfer anything.
- 🛡️ The only things it clicks are the Login button, the login form's submit button and the "Latest Account Activity" tab.
- 🛡️ A second safety net: a built-in guard blocks any request sent to an order, trade, transfer, deposit or withdrawal address, even if IBI's website tried to send one, and tells you if it ever had to.
- 🛡️ It does not collect your account number, your name or your personal details.
Your data
- 🏠 Everything runs on your computer. There is no server of ours, no sign-up, no tracking and no analytics. When it reads your portfolio, it opens only IBI's website, which loads exactly as it does in your own browser. (Installing downloads the program and its browser once, from GitHub, PyPI and Microsoft's Playwright servers.)
- 🧹 Nothing is kept on disk: each read opens a fresh browser and closes it after, with no cookies, tokens or sessions saved. The last result stays in memory for 5 minutes, then it is gone.
- 👀 What the AI does see: your portfolio numbers (positions, values, cash, profit/loss, recent activity). They go to your AI company like any other chat message, under its privacy policy.
What it cannot protect you from
- ⚠️ Someone who can use your unlocked computer, or malware on it, could read your portfolio the same way. Keep your computer locked and updated.
- ⚠️ This is an unofficial tool. Before trusting it with your login, read the code yourself (about 750 lines, start with scraper.py) or ask an AI to review it for you.
Remove it anytime
ibi-portfolio-mcp forgetdeletes the saved login from your vault.uv tool uninstall ibi-portfolio-mcpremoves the program.- Changing your IBI password also stops it from logging in.
🇮🇱 בקצרה: הסיסמה נשמרת רק בכספת המוצפנת של המחשב שלך (Keychain / Credential Manager) ולא נשלחת אף פעם ל-AI. הכלי רק קורא נתונים: אין בו קוד לקנייה, מכירה או העברת כסף, ויש חסימה מובנית לכל בקשה כזו. הכל רץ אצלך במחשב, בלי שרת ובלי מעקב. ה-AI רואה רק את מספרי התיק (אחזקות, שווי, מזומן, רווח והפסד).
Which AI apps work
It runs on your own computer, so it works with AI apps installed on your computer. Website-only chats cannot reach it.
Linux works too if you are comfortable with a terminal.
Set it up (about 5 minutes)
You will copy 3 lines into a terminal. The terminal is the "Terminal" app on Mac, and "PowerShell" from the Start menu on Windows.
1. Install uv (a small free tool that installs Python programs).
Mac:
Windows:
Then close the terminal and open a new one.
2. Install IBI Portfolio MCP:
3. Run the guided setup:
It will:
- Ask for your IBI username and password. The password is hidden as you type and saved only in your computer's secure vault (Keychain on Mac, Credential Manager on Windows).
- Download the small browser it uses to read IBI (one time, about 100 MB).
- Test the login (about a minute).
- Connect the AI apps it finds. Say yes to the ones you use.
4. Restart your AI app and ask: "How is my IBI portfolio doing?"
Prefer not to type commands?
If you have Claude Code or Codex (built into the ChatGPT desktop app), paste this and it does steps 1 and 2 for you:
Install https://github.com/kobimantzur/ibi-portfolio-mcp for me with steps 1 and 2 of its README. Do not run
ibi-portfolio-mcp setupyourself and never ask me for my IBI password in the chat. When you are done, tell me to runibi-portfolio-mcp setupin my own terminal.
Then run ibi-portfolio-mcp setup yourself, so you are the only one who types the password.
Try it with fake data first
Want to see it work before using your account? Run IBI_DEMO=1 ibi-portfolio-mcp check (Mac) or $env:IBI_DEMO=1; ibi-portfolio-mcp check (Windows). It answers with a made-up portfolio and does not log in to IBI.
What you get
Example questions once it is connected:
- "What's my IBI portfolio worth and how much cash do I have?"
- "Which 5 positions are the biggest, and what is the P/L on each?"
- "What did I buy or sell this month?"
Example output (what the AI receives, demo data)
get_portfolio, shortened to 2 of 8 positions:
get_account_activity, one row:
Read-only, on purpose
Your login gives full access to your account, so you (or a developer friend) can read scraper.py before using this. It is about 200 lines.
Which IBI accounts work
- ✅ IBI NextGen (the US-stocks platform at
ibi.orbisfn.io, English UI) - ❌ Other IBI platforms (for example the Israeli TASE trading site) are not supported yet. PRs welcome.
Your IBI password (secrets)
This is the part to get right, so here is exactly what happens.
What it needs
Your IBI NextGen username (email or ID) and password, the same ones you type at ibi.orbisfn.io. IBI has no API and no read-only keys, so the server logs in the way you do: it opens a hidden browser on your own computer and types them into IBI's real login page.
Where your password goes, and where it does not
What the AI does see: your portfolio numbers. Whatever a tool returns goes to your AI provider like any other chat message. If that is not OK for you, do not connect this server.
Ways to store the password (best first)
If several are set, the order is: IBI_USER / IBI_PASS, then IBI_USER_CMD / IBI_PASS_CMD, then the vault.
Option 2: password manager. Any command that prints only the password:
IBI_USER_CMD works the same way for the username.
Options 3 and 4 put the password in a plain file. Keep that file private and never share or commit it. The server loads .env from the folder it starts in, or the file named in IBI_ENV_FILE.
Change or remove the saved login
SMS code (two-factor)
If IBI asks for a one-time code, the tool returns an IbiOtpRequired error. Set IBI_HEADED=1 (in the app's env block, or in the terminal before check): a visible browser window opens, the server fills in your username and password, and you type the code yourself. You get 3 minutes.
If you think your password leaked
Change it at IBI, then run ibi-portfolio-mcp setup again.
Connect by hand
setup does this for you. Use this section for other apps, or if you prefer editing settings yourself.
First get the program's full path: which ibi-portfolio-mcp (Mac) or where.exe ibi-portfolio-mcp (Windows). Below it is PATH_TO/ibi-portfolio-mcp.
Claude Desktop, Cursor, VS Code, Windsurf and most apps (JSON). Claude Desktop's file is ~/Library/Application Support/Claude/claude_desktop_config.json on Mac and %APPDATA%\Claude\claude_desktop_config.json on Windows; Cursor's is ~/.cursor/mcp.json.
On Windows, write the path with double backslashes, for example "C:\\Users\\you\\.local\\bin\\ibi-portfolio-mcp.exe".
ChatGPT desktop app and Codex (~/.codex/config.toml, or in the app: Settings → MCP servers). Raise the tool timeout: a fresh IBI read takes about a minute and the default is 60 seconds.
Claude Code:
Restart the app after any change.
Settings
Set these in the app's env block or in the terminal. All are optional.
How it works
- A tool is called. If the last read is newer than
IBI_CACHE_SECONDS, it is returned as is. - Otherwise a fresh hidden browser opens
ibi.orbisfn.ioand logs in with your saved login. - The IBI web app loads your data from its own backend. The server keeps a copy of those responses (portfolio, balance, latest activity) and reads the page as a fallback.
- The browser is closed and the numbers are returned. Nothing is written to disk.
A read takes about 30 to 60 seconds. If IBI changes its website this can break; open an issue with the error text (never paste your password or screenshots with your balances).
Troubleshooting
For developers
Tests use made-up numbers only. Never commit real account data. To re-record the demo GIF: uv run python docs/demo/record.py.
Disclaimer
Unofficial project, not affiliated with IBI Israel Brokerage & Investments. It automates your own login to read your own data; check that this fits IBI's terms of use for your account. Use at your own risk. Nothing here is investment advice. MIT license.
來源:README.md,提交 8271861
工具
0版本歷史
1- v0.1.1最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Portfolio 整合

PortfolioFit
fit.portfolio官方發布者
PortfolioFit 是遠端 MCP 伺服器,讓助理依投資指令核對標準化投資組合,並計算配置限制與統計指標。

Cameron Rye Portfolio MCP Server
dev.rye官方發布者
遠端 MCP 端點,提供 Cameron Rye 的部落格、作品集專案、簡介、閱讀清單與網站即時統計,以及聯絡與訂閱工具。
Shlok Bam's portfolio
由 GitHub 帳號 shlokbam 發布
瞭解AI工程師Shlok Bam:專案、經驗、技能、專利。即時、唯讀。AI 翻譯

Harshith Nayaka L portfolio docs
由 GitHub 帳號 HarshithNayakaL 發布
唯讀 MCP 伺服器,提供某作品集網站 JSON API、MCP、A2A 與 NLWeb 的開發者文件。

Harshith Nayaka L portfolio
由 GitHub 帳號 HarshithNayakaL 發布
以唯讀方式存取 Harshith Nayaka L 的作品集網站,讓助理查詢其個人簡介、專案、案例研究、常見問題與 agent 技能。