Skip to main content
Glama

Borsa Zekâ

Turn Claude Code into a Borsa Istanbul analyst. Live BIST data, 15 MCP tools, and a multi-agent investment committee, right in your terminal.

CI License: MIT Claude Code plugin MCP

English · Türkçe


/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.

  • 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.

Related MCP server: fonlar-mcp

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.

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.

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

Stock page

Market

Screener

Strategy test

Screener

Backtest

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.

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.

Available Tools

15 tools
anlik_fiyatAnlık fiyatA
Read-only
Inspect

Bir veya birden çok sembolün anlık (gecikmeli) fiyatı, günlük değişimi, hacmi, gün içi ve 52 haftalık aralığı.

Inputs: semboller (required).

fiyat_gecmisiFiyat geçmişiA
Read-only
Inspect

OHLCV fiyat geçmişi (en fazla son 120 bar). Belirli tarihlerdeki hareketleri, formasyonları ya da gün içi seyri incelemek için.

Inputs: donem (required), aralik (required), sembol (required).

haberlerHaberlerA
Read-only
Inspect

Türkçe haber başlıkları (son 60 gün, en yeni önce; KAP haberleri dahil). Hisse kodu (THYAO) ya da konu ('TCMB faiz kararı', 'borsa istanbul') ver. Ayrıntı gerekiyorsa başlığın bağlantısını WebFetch ile ya da WebSearch ile derinleştir.

Inputs: sorgu (required), limit.

hisse_analiziHisse analiziA
Read-only
Inspect

Kapsamlı teknik + temel analiz: bileşik skor ve alt skorlar (trend/momentum/hacim/volatilite), trend yönleri, 16 gösterge (RSI, MACD, ADX/DMI, Bollinger, Stokastik, MFI, CCI, Williams %R, ATR, SMA20/50/200…), aktif sinyaller, destek/direnç kümeleri, Fibonacci, getiriler (1G…1Y, YBB), risk (volatilite, beta, Sharpe, Sortino, VaR, maks. düşüş), ATR tabanlı stop/hedef, temel veriler (F/K, PD/DD, FD/FAVÖK, ROE, marjlar, borçluluk, analist hedefi). Bir hisse hakkında yorum yapmadan önce mutlaka çağır.

Inputs: sembol (required), temel_veriler.

hisse_karsilastirKarşılaştırA
Read-only
Inspect

2-8 enstrümanı karşılaştırır: dönem getirisi, yıllık volatilite, maks. düşüş, getiri/risk ve günlük getiri korelasyon matrisi. Göreli güç, rakip kıyası ve çeşitlendirme için.

Inputs: semboller (required), donem.

izleme_listesiİzleme listesiCInspect

Kalıcı izleme listesi. islem: 'listele' (güncel fiyat, günlük değişim ve teknik skorla), 'ekle', 'cikar'.

Inputs: islem (required), semboller.

piyasa_ozetiPiyasa özetiA
Read-only
Inspect

BIST 100/30/Banka/Sınai endeksleri, Dolar/TL, Euro/TL, altın, Brent, Bitcoin, S&P 500; piyasa genişliği; sektör performansları; günün en çok yükselen/düşen ve en hacimli hisseleri. 'Piyasa bugün nasıl' sorularında ilk çağrılacak araç.

Inputs: no named parameters.

piyasa_taramaPiyasa taramasıA
Read-only
Inspect

~122 BIST hissesini tarar; teknik skor, RSI, ADX, hacim oranı, getiriler, volatilite, 52H zirveye uzaklık ve başlıca sinyallerle döner. Doğal dildeki istekleri (ör. 'aşırı satımdaki bankalar', 'hacimle yükselen enerji') bu filtrelere çevir: aşırı satım → rsi_en_fazla 30; güçlü trend → ADX ≥ 25 (sonuçta filtrele); hacim artışı → sıralama volumeRatio. Sektörler: Bankacılık, Holding, Otomotiv, Savunma, Teknoloji, Ulaştırma, Enerji, Kimya, Metal, Madencilik, Perakende, Gıda, Telekom, Çimento, GYO, Dayanıklı Tüketim, Cam, Sağlık, Finansal Kiralama, Sigorta, Spor.

Inputs: evren, limit, sektor, sirala, +3 more.

portfoy_analiziPortföy analiziA
Read-only
Inspect

Kullanıcının kayıtlı portföyünü (ya da verilen pozisyonları) analiz eder: değer, K/Z, ağırlıklar, sektör dağılımı, her pozisyonun teknik skoru/betası/volatilitesi, portföy volatilitesi, beta, maks. düşüş, ortalama korelasyon.

Inputs: pozisyonlar.

portfoy_guncellePortföyü güncelleA
Destructive
Inspect

Kalıcı portföyü değiştirir (oturumlar arası saklanır). islem: 'ekle' (aynı hisse varsa ağırlıklı ortalama maliyetle birleştirir), 'cikar' (adet verilirse kısmi satış, verilmezse tamamı), 'ayarla' (adet/maliyeti doğrudan yaz), 'listele', 'temizle'. Maliyet verilmezse güncel fiyat kullanılır. Kullanıcının açıkça istediği değişiklikleri yap.

Inputs: islem (required), not, adet, sembol, +1 more.

sektor_gorunumuSektör görünümüA
Read-only
Inspect

Tüm sektörlerin teknik sağlığı: ortalama skor, yükseliş trendindeki hisse oranı, ortalama 1A/3A getiri, ortalama RSI, sektörün en güçlü ve en zayıf hissesi. Sektör rotasyonu ve 'hangi sektör öne çıkıyor' soruları için.

Inputs: no named parameters.

strateji_karsilastirTüm stratejileri karşılaştırA
Read-only
Inspect

Bir hissede tüm stratejileri varsayılan parametrelerle aynı dönemde çalıştırır ve al-tut ile birlikte toplam getiri, CAGR, maks. düşüş, Sharpe, işlem sayısı, kazanma oranına göre sıralar. 'Bu hissede hangi strateji işe yarıyor' sorusu için.

Inputs: sembol (required), donem.

strateji_testiStrateji testiA
Read-only
Inspect

Bir hissede strateji backtest'i (yalnız uzun pozisyon, sinyal kapanışta, işlem ertesi açılışta, %0,2 komisyon, Sharpe TL risksiz faiz düşülerek). Stratejiler: sma_cross = Hareketli Ortalama Kesişimi [fast=20, slow=50]; rsi_reversion = RSI Ortalamaya Dönüş [period=14, lower=30, upper=70]; macd = MACD Kesişimi [fast=12, slow=26, signal=9]; bollinger = Bollinger Bandı Dönüşü [period=20, k=2]; supertrend = Supertrend [period=10, mult=3]; donchian = Donchian Kırılımı (Kaplumbağa) [entry=20, exit=10]; composite = Bileşik Teknik Skor [buy=25, sell=-10].

Inputs: sembol (required), strateji (required), donem, kar_al, +2 more.

terminal_grafikTerminal grafiğiA
Read-only
Inspect

Fiyat grafiğini terminalde gösterilecek Unicode alan grafiği olarak çizer; destek/direnç seviyeleri işaretlenir. Çıktıyı kullanıcıya kod bloğu içinde aynen göster.

Inputs: sembol (required), donem, genislik, seviyeler, +1 more.

yatirimci_profiliYatırımcı profiliAInspect

Kullanıcının kalıcı yatırımcı profilini okur ya da günceller (risk toleransı, vade, sermaye, tek pozisyon üst sınırı, tercihler). Öneri ve pozisyon büyüklüğü hesaplarken bu profili dikkate al. Kullanıcı profil bilgisini söylediğinde kaydet.

Inputs: islem (required), risk, vade, tercihler, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 15 tools

    Disambiguation4/5

    Tools mostly target distinct resources and actions: market overview, instant quotes, stock analysis, screening, sector view, backtesting, comparison, news, portfolio, and profile. Some overlap exists between anlik_fiyat, izleme_listesi, and hisse_analizi for price-related questions, and between strateji_testi and strateji_karsilastir, but descriptions make the intended use reasonably clear.

    Naming Consistency4/5

    The tool set uses consistent snake_case Turkish names and generally follows a domain_object pattern such as piyasa_ozeti, hisse_analizi, portfoy_analizi, and yatirimci_profili. A few names use verb forms like portfoy_guncelle, strateji_karsilastir, and hisse_karsilastir, which is a minor deviation but still predictable.

    Tool Count5/5

    With 15 tools, the server is well-scoped for a BIST-focused market and portfolio assistant. Each tool covers a meaningful capability such as screening, sector analysis, backtesting, portfolio management, or investor profiling without obvious filler.

    Completeness4/5

    The surface covers the core lifecycle for market research and portfolio support: market overview, quotes, history, analysis, screening, sectors, strategy testing, comparisons, news, portfolio updates, and investor profile. Minor gaps such as dedicated macro/economic calendar tools or watchlist alerts exist, but agents can work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Real-time financial superpowers for Claude. Live crypto prices, US and Indian NSE stock quotes, full portfolio P\&L, Bittensor/TAO network stats, Fear & Greed index with 7-day history, top movers and global market overview. 8 tools. Zero API keys needed. Free to install.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to Turkish investment fund data (TEFAS) via Claude, enabling queries about fund prices, performance, and comparisons.
      6
      23
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provides 32 trading analysis tools for AI-powered market analysis, including real-time data, technical indicators, options Greeks, scanners, and Interactive Brokers portfolio management, all accessible via natural language in Claude Desktop.
      36
      426
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to read Indonesia Stock Exchange (IDX/BEI) stock prices, compare stock performance, and calculate personal portfolio values directly in conversation. It is read-only and provides market status, historical returns including dividends, and portfolio warnings without connecting to brokerage accounts.
      4
      17 npm
      MIT