
borsa-zeka
io.github.Havali55/borsa-zeka
Borsa İstanbul (BIST) ve ABD hisseleri: canlı veri, 16 gösterge, tarayıcı, backtest, haber, portföy
Documentation
Borsa Zekâ
Turn Claude Code into a Borsa Istanbul analyst. Live BIST data (and US stocks), 15 MCP tools, and a multi-agent investment committee, right in your terminal.
English · Türkçe
Real outputs, sped up · Full 50-second video (MP4, 1080p) · How it works (write-up)
/plugin marketplace add Havali55/borsa-zeka
/plugin install borsa@borsa-zeka
Then ask Claude Code anything about the Turkish stock market, or run the committee:
Real output from
/borsa:komite TUPRS. Four specialist subagents (technical, fundamental, news, risk) ran in parallel with live data and finished in 2.5 minutes. The chair weighed their disagreement ("the thesis is sound, the timing isn't confirmed yet") and wrote a sized trading plan. Read the full report →
Why
Ask a general-purpose model about a Borsa Istanbul stock and you get stale numbers or made-up ones. Borsa Zekâ gives Claude real tools and a method:
- No hallucinated numbers. Every price, indicator and headline comes from a tool call (Yahoo Finance quotes and fundamentals, Google News incl. KAP disclosures).
- A real analysis engine. 16 indicators (Wilder RSI, MACD, ADX/DMI, Bollinger, Stochastic, MFI, CCI, Williams %R, ATR, Supertrend, OBV…), a composite −100…+100 score, support/resistance clustering, beta, VaR, Sharpe and Sortino, with indicators unit-tested against reference values.
- An honest backtester. Signals fire on the close and trades fill on the next open (no look-ahead), with commission, stop/target, and buy-and-hold comparison.
- Multi-agent judgment. A risk manager subagent deliberately argues the bear case; the chair has to reconcile it.
- US stocks too.
AAPL,NVDA,BRK-Bwork in every command, each analyzed on its own market's terms: beta vs the S&P 500, USD risk-free rate, New York session hours, English news, a ~60-stock US screener (/borsa:tara ABD yarı iletken), and USD positions converted to TRY in a mixed portfolio. - It knows you. Your portfolio, watchlist and investor profile persist across sessions, and every session starts with market context.
- No API key. Claude Code is the brain; the plugin is a self-contained bundle (no
npm install).
The plugin speaks Turkish: commands, tool descriptions and answers. Built for investors in Turkey, and a working reference for anyone building a domain-expert Claude Code plugin.
Install in 30 seconds
Requirements: Claude Code and Node.js 20+.
/plugin marketplace add Havali55/borsa-zeka
/plugin install borsa@borsa-zeka
Restart Claude Code (or /reload-plugins). Optional extras:
/borsa:durum-satiri # live BIST ticker in Claude Code's status line
/borsa:profil # your risk profile → personalized sizing
/output-style Borsa Analisti # make every answer analyst-grade

Claude Desktop
Download borsa-zeka.mcpb and double-click it (or drag it into Settings → Extensions). The same 15 tools, no setup.
claude.ai and Claude mobile (remote, no install)
Settings → Connectors → Add custom connector, URL: https://borsa-zeka.vercel.app/api/mcp. 12 analysis tools over HTTPS; no data is stored on the server (saved portfolio/watchlist/profile tools stay local).
Try it on Glama first
The server is listed on Glama: browse all tools with their schemas, check its quality score, and try it online with the MCP Inspector before installing anything.
Any MCP client
{ "mcpServers": { "borsa": { "command": "node", "args": ["/path/to/borsa-zeka/plugin/server/server.mjs"] } } }
Commands
| Command | What it does |
|---|---|
/borsa:komite THYAO | Investment committee. Technical, fundamental, news and risk subagents run in parallel; the chair produces a verdict with confidence, bull/bear scenarios, a sized trading plan, catalysts and dissent, saved as Markdown. |
/borsa:brifing | Morning market brief: indices, FX, breadth, sector rotation, technical leaders/laggards, headlines, your positions. |
/borsa:hisse ASELS | Fast, complete single-stock read with a terminal chart. |
/borsa:tara aşırı satımdaki bankalar | Natural-language screening ("oversold banks") across ~120 BIST stocks; top picks re-verified. |
/borsa:portfoy 100 THYAO 290'dan aldım | Record trades in plain language; risk, concentration, weakest links, rebalancing ideas. |
/borsa:strateji TUPRS | Strategy lab: 7 strategies, parameter sweeps, 2y vs 5y robustness, overfitting check. |
/borsa:karsilastir AKBNK GARAN YKBNK | Side-by-side: score, valuation, return/risk, correlation. |
/borsa:komite NVDA | Works for US stocks too. A ticker listed in both markets defaults to BIST; add .US to force the US listing. |
You don't need commands. Plain questions work too ("ASELS alınır mı?", "Bugün hangi sektörler güçlü?"), and Claude picks the tools.
How it works
flowchart LR
U[You in Claude Code] -->|/borsa:komite THYAO| C[Chair: main agent]
C --> T[teknik-analist]
C --> F[temel-analist]
C --> N[haber-analisti]
C --> R[risk-yoneticisi]
T & F & N & R --> M[(borsa MCP server<br/>15 tools)]
M --> E[Analysis engine<br/>indicators · score · backtest · scanner]
E --> Y[Yahoo Finance]
E --> G[Google News / KAP]
M <--> S[(~/.borsa-zeka<br/>portfolio · watchlist · profile)]
W[Web app] <--> S
W --> E
The tools
piyasa_ozeti market overview · anlik_fiyat quotes · hisse_analizi full technical + fundamental analysis · terminal_grafik Unicode price chart · fiyat_gecmisi OHLCV · piyasa_tarama screener · sektor_gorunumu sector health · strateji_testi backtest · strateji_karsilastir all strategies · hisse_karsilastir return/risk/correlation · haberler Turkish news · portfoy_analizi / portfoy_guncelle portfolio · izleme_listesi watchlist · yatirimci_profili investor profile
The web app (optional visual companion)
Same engine, same portfolio. Add a trade in Claude Code and it shows up on the web.
git clone https://github.com/Havali55/borsa-zeka.git && cd borsa-zeka
npm install && npm run dev # http://localhost:3000
| Stock page | Market heatmap |
|---|---|
![]() | ![]() |
| Screener | Strategy test |
![]() | ![]() |
Stock pages link back to Claude Code with copyable commands, and hisse_analizi returns a link to the interactive chart.
FAQ
Do I need an Anthropic API key? No. Claude Code is the model. (The web app's optional built-in chat uses ANTHROPIC_API_KEY.)
Where does the data come from? Yahoo Finance (≈15 min delayed) and Google News RSS. Free sources, so occasionally incomplete. For companies reporting in USD (e.g. THY), price ratios are FX-corrected and absurd P/E values are hidden.
Does it trade? No. It analyzes; it never places orders.
Where is my data stored? Only on your machine: ~/.borsa-zeka/kullanici.json.
Roadmap
- English output mode (#3)
- Ichimoku Cloud and more indicators (#1)
- Dividend data and dividend screening (#2)
- Price and signal alerts (#5)
- VIOP futures (#4)
- US stocks (v1.1): S&P 500 beta, USD risk-free rate, US screener, English news, mixed-currency portfolio
- Hosted (remote) MCP endpoint for claude.ai:
https://borsa-zeka.vercel.app/api/mcp
Contributing
New indicators, data sources, subagents, commands and translations are welcome. See CONTRIBUTING.md. Development: npm test · npm run mcp:build && node mcp/test-client.mjs · claude --plugin-dir ./plugin.
If Borsa Zekâ is useful to you, a ⭐ helps others find it.
Disclaimer
Borsa Zekâ is an informational and educational tool. It is not investment advice. Scores, signals and committee verdicts are generated from delayed public data and may be wrong. Markets involve risk of loss. Make your own decisions or consult a licensed advisor.
MIT © Havali55 · Not affiliated with Borsa Istanbul, Yahoo or Anthropic.
https://github.com/Havali55/borsa-zeka/releases/download/v1.1.1/borsa-zeka.mcpb# mcpb: https://github.com/Havali55/borsa-zeka/releases/download/v1.1.1/borsa-zeka.mcpb


