GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ISTFIN/istfin-mcp: Borsa Istanbul (BIST) MCP server: licensed prices, OHLCV bars, financials, ratios and KAP filings for Claude, ChatGPT, Cursor and any MCP client

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
README.md
README.md
 
 
lhm.plugin.json
lhm.plugin.json
 
 

Repository files navigation

istfin

istfin MCP: Borsa Istanbul (BIST) data for AI assistants

Licensed BIST market data in Claude, ChatGPT, Cursor, VS Code and any MCP client.
Prices, OHLCV bars, financial statements, ratios, KAP filings, indexes and backtests.

Website · Docs · Pricing · Türkçe

istfin MCP on Glama


istfin is a licensed Borsa Istanbul data distributor. The istfin MCP server is a hosted remote server: there is nothing to install or run. Add the URL to your client, sign in (or pass an API key) and ask questions like "What did THYAO close at over the last 20 days?".

Server URL https://mcp.istfin.com/mcp
Transport Streamable HTTP
Auth OAuth 2.1 with PKCE and dynamic client registration, or Authorization: Bearer istfin_live_...
Registry name com.istfin/mcp (Official MCP Registry)
Coverage 600+ BIST equities, BIST indexes, KAP disclosures
Freshness Live prices on the Live plan, 15 minute delayed on the Basic plan
Requires An istfin API subscription (pricing)

Connect

Claude.ai and Claude Desktop (OAuth, no key needed)

  1. Settings > Connectors > Add custom connector
  2. Name istfin, remote MCP server URL https://mcp.istfin.com/mcp
  3. Click Connect, sign in to istfin and approve.

ChatGPT (OAuth)

  1. Settings > Apps & Connectors > Advanced settings, enable Developer mode
  2. Create: name istfin, MCP server URL https://mcp.istfin.com/mcp, authentication OAuth
  3. Sign in to istfin on the page that opens and approve.

API key clients

Create a key at api.istfin.com/hesap/anahtarlar and replace istfin_live_... below.

Claude Code
claude mcp add --transport http istfin https://mcp.istfin.com/mcp \
  --header "Authorization: Bearer istfin_live_..."
Cursor (.cursor/mcp.json or ~/.cursor/mcp.json)
{
  "mcpServers": {
    "istfin": {
      "url": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." }
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "istfin": {
      "type": "http",
      "url": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." }
    }
  }
}
Windsurf (~/.codeium/windsurf/mcp_config.json)
{
  "mcpServers": {
    "istfin": {
      "serverUrl": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." }
    }
  }
}
Gemini CLI (~/.gemini/settings.json)
{
  "mcpServers": {
    "istfin": {
      "httpUrl": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." }
    }
  }
}
OpenCode (opencode.json)
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "istfin": {
      "type": "remote",
      "url": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." },
      "enabled": true
    }
  }
}
Codex (~/.codex/config.toml)
[mcp_servers.istfin]
url = "https://mcp.istfin.com/mcp"
http_headers = { "Authorization" = "Bearer istfin_live_..." }
Any other MCP client

Any client that supports Streamable HTTP works. Most accept this shape:

{
  "mcpServers": {
    "istfin": {
      "url": "https://mcp.istfin.com/mcp",
      "headers": { "Authorization": "Bearer istfin_live_..." }
    }
  }
}

Agent shortcut: in Claude Code, Cursor, Windsurf, OpenCode or Codex, paste this into the chat and the agent writes the config for you:

set up https://api.istfin.com/SKILL.md  (my API key: istfin_live_...)

To check it works, ask: "THYAO fiyatı ne?" (What is the THYAO price?). The client should call get_quotes.

Tools

22 tools: 20 read-only, 2 that write to your own istfin portfolio. The server never places orders and never moves money or shares.

Tool Scope What it does
search_symbols market:read Find a stock by name or ticker
get_symbol market:read Identity, sector and index membership of one stock
get_quotes market:read Prices for one or more stocks (live or 15 min delayed)
get_movers market:read Top gainers, losers and volume leaders
get_bars market:read OHLCV bars, 1 minute to monthly
get_fundamentals fundamentals:read P/E, P/B, market cap and other summary ratios
get_financial_statement fundamentals:read Balance sheet, income statement, cash flow
get_ratio_series fundamentals:read Historical series of a ratio
search_news news:read Search KAP (Public Disclosure Platform) filings
get_news news:read Full text of one filing
list_indexes market:read BIST indexes
get_index market:read Index value and constituents
list_sectors market:read Sectors and their members
list_indicators market:read Technical indicators usable in strategies
describe_indicator market:read Inputs, outputs and an example for one indicator
run_strategy market:read Backtest a strategy on one or more stocks
list_portfolios portfolio:read Your saved portfolios
get_portfolio portfolio:read Positions, cost basis and P&L
get_portfolio_performance portfolio:read Return, drawdown and benchmark comparison
analyze_holdings portfolio:read Analyze a transaction list without saving it
create_portfolio portfolio:write Create an empty portfolio
add_portfolio_transactions portfolio:write Add buys, sells and dividends to a portfolio

Read tools carry readOnlyHint. Every response has structured data (structuredContent), a short Turkish summary, source and asOf. KAP filing text is marked as untrusted content so clients do not treat it as instructions.

The server also exposes two resources (istfin://intervals, istfin://scopes) and two prompts (piyasa-brifingi, hisse-analizi).

Example prompts

  • Prepare today's BIST summary: XU100, top 5 gainers and losers, notable KAP filings.
  • Pull THYAO's last 30 daily closes and summarize the trend and volatility.
  • List ASELS's last 10 KAP filings and explain the important ones.
  • Compare THYAO and PGSUS on P/E, P/B and EBITDA margin.
  • Rank XU030 constituents by weight and give the daily change of the top 10.
  • Backtest an RSI(14) < 30 buy, > 70 sell strategy on GARAN over the last two years.

Quotas and errors

Only tools/call counts against your quota. Most tools cost 1 request, get_bars costs 2 and run_strategy costs 10 per stock; see the docs for the full table. MCP and the REST API share the same daily and per-minute limits.

Without credentials the server returns 401 with WWW-Authenticate: Bearer resource_metadata="...", which OAuth-capable clients use to start sign-in. Quota errors come back as isError: true with structuredContent.code set to QUOTA_EXCEEDED or RATE_LIMITED.

REST API

The same data is available over REST with the same key:

curl https://api.istfin.com/v1/quotes?symbols=THYAO \
  -H "Authorization: Bearer istfin_live_..."

Guides for Python, Excel and Google Sheets.

Data license

Data is distributed under a Borsa Istanbul license. Personal use and your own team's internal tools are allowed. Redistributing data to third parties is subject to the Borsa Istanbul license; see the terms of use.


Türkçe

istfin MCP, Borsa İstanbul lisanslı verisini Claude, ChatGPT, Cursor, VS Code ve diğer MCP istemcilerine bağlayan uzak MCP sunucusudur. Kurulum yok: adresi ekleyin, istfin hesabınızla giriş yapın, sonra "THYAO son 20 günlük kapanışları ne?" diye sorun.

  • Adres: https://mcp.istfin.com/mcp (Streamable HTTP)
  • Kimlik doğrulama: Claude.ai, Claude Desktop ve ChatGPT'de OAuth ile istfin hesabınızdan giriş; diğer istemcilerde Authorization: Bearer istfin_live_... başlığı
  • Veri: 600'den fazla BIST hissesi için fiyat (Canlı planda canlı, Temel planda 15 dk gecikmeli), 1 dakikadan aylığa OHLCV barları, bilanço, gelir tablosu, nakit akışı, F/K, PD/DD gibi oranlar, KAP bildirimleri, endeksler, sektörler ve backtest
  • Araçlar: 22 araç, 20 okuma ve 2 portföy yazma. Sunucu emir iletmez, para ya da hisse hareketi yapmaz.
  • Kota: REST API ile ortak. Çoğu araç 1 istek, get_bars 2, run_strategy hisse başına 10 istek sayılır.

Bağlanma

Claude.ai / Claude Desktop: Ayarlar > Bağlayıcılar > Özel bağlayıcı ekle. Ad istfin, adres https://mcp.istfin.com/mcp. Bağlan deyip istfin sayfasında izin verin.

ChatGPT: Ayarlar > Uygulamalar ve bağlayıcılar > Gelişmiş ayarlar > Geliştirici modu. Oluştur: ad istfin, adres https://mcp.istfin.com/mcp, kimlik doğrulama OAuth.

Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, OpenCode, Codex: panelden anahtar üretin ve yukarıdaki yapılandırmalardan istemcinize uyanı kullanın. Ya da ajanınızın sohbetine şunu yazın:

set up https://api.istfin.com/SKILL.md  (API anahtarım: istfin_live_...)

Örnek istekler

  • istfin ile bugünün BIST özetini hazırla: XU100, en çok yükselen/düşen 5 hisse, öne çıkan KAP bildirimleri
  • THYAO son 30 günlük kapanışlarını çek, trendi ve volatiliteyi özetle
  • ASELS'in son 10 KAP bildirimini listele ve önemli olanları açıkla
  • THYAO ve PGSUS'u F/K, PD/DD, FAVÖK marjı ile karşılaştır
  • Bankacılık sektöründeki hisseleri son çeyrek net kâr büyümesine göre sırala

Dokümantasyon: api.istfin.com/docs/mcp · Fiyatlar: api.istfin.com/fiyatlandirma · Destek: [email protected]


This repository holds documentation and client configuration examples only. The server itself is hosted by istfin and is not open source.

About

Borsa Istanbul (BIST) MCP server: licensed prices, OHLCV bars, financials, ratios and KAP filings for Claude, ChatGPT, Cursor and any MCP client

api.istfin.com/mcp

Topics

bistbist-apiborsa-apiborsa-istanbulchatgptclaudefinancial-datakapmarket-datamcpmcp-servermodel-context-protocolremote-mcpstock-marketturkey

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.