About Borsa MCP
Borsa MCP is an MCP server published by saidsurucu in the Developer Tools category: mCP Server for Turkish & American Stock Exchange and Fund Data. Conduid read 24 tools from its source: borsa_mcp_has_moved, compare_assets, get_analyst_data, get_bond_yields, get_corporate_actions, get_crypto_market and 18 more. No package is published for it, so it installs from a source checkout.
The repository has 712 stars and 82 forks, is licensed MIT, and its last commit was on 24 Sep 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools.
Install
git clone https://github.com/saidsurucu/borsa-mcpTools (24)
borsa_mcp_has_movedTHIS SERVER IS RETIRED AND HAS NO MARKET DATA. BorsaMCP has moved tocompare_assetsCompare period returns across markets in one table: BIST/US stocks, gold, FX, crypto and TEFAS funds, in both TRY and USD.| Parameter | Type | Description |
|---|---|---|
| assets * | array | Assets to compare. Bare symbols are resolved automatically: BIST tickers (ASELS), US tickers (AAPL), FX and metals (USD, EUR, gram-altin, gram-gumus, BRENT), crypto pairs (BTCTRY, BTC-USD), TEFAS fund codes (TI2). If a symbol names an asset in two markets, the call fails and asks you to disambiguate. |
| base_currency | string | Currency the table is sorted by. Both TRY and USD returns are always reported. |
| end_date | string | Window end (YYYY-MM-DD). Defaults to today. The exit price is the last session on or before it. |
| initial_amount | number | If given, also report what this amount would have grown to, in both currencies. |
| start_date * | string | Window start (YYYY-MM-DD). The entry price is the first session ON OR AFTER this date. |
get_analyst_dataGet analyst ratings, price targets, and buy/sell/hold recommendations. Batch support up to 10.| Parameter | Type | Description |
|---|---|---|
| market * | any | Market: bist or us |
| symbol * | any | Single ticker or list of tickers (max 10) |
get_bond_yieldsGet Turkish government bond yields (2Y, 5Y, 10Y) and risk-free rate for DCF calculations.| Parameter | Type | Description |
|---|---|---|
| country | any | Country: TR (Turkey is the only market served) |
get_corporate_actionsWhat the company paid out or issued: dividends, stock splits, and (BIST) capital increases. Batch up to 10.| Parameter | Type | Description |
|---|---|---|
| market | any | Market: bist or us |
| symbol * | any | Single ticker or list of tickers (max 10) |
| year | integer | Filter capital increases by year (BIST only) |
get_crypto_marketGet crypto ticker, orderbook, trades, or OHLC from BtcTurk (TRY) or Coinbase (USD).| Parameter | Type | Description |
|---|---|---|
| data_type | any | Data type: ticker, orderbook, trades, exchange_info, ohlc |
| exchange * | any | Exchange: btcturk (Turkish) or coinbase (Global) |
| symbol * | string | Trading pair symbol (e.g., BTCTRY, BTC-USD) |
get_earningsGet earnings dates, EPS history, surprises, and growth estimates. Batch support up to 10.| Parameter | Type | Description |
|---|---|---|
| market * | any | Market: bist or us |
| symbol * | any | Single ticker or list of tickers (max 10) |
get_economic_calendarGet economic events for TR, US, EU, DE, GB, JP, CN with importance filter.| Parameter | Type | Description |
|---|---|---|
| country | any | Country filter: TR, US, EU, DE, GB, JP, CN |
| importance | string | Importance filter |
| period | string | Period: today, this_week, next_week |
get_evds_dataMACRO: TCMB EVDS - 145 categories, tens of thousands of macro series (rates, FX, balance of payments, inflation, expectation surveys). Use action to browse catalog, search, fetch series, or access dashboards. Catalog and search work without a key; data fetch (series, multi_series, datagroup_data) requires EVDS_API_KEY env var (free at https://evds3.tcmb.gov.tr). Required params by action: datagroups→category_id; series_list/datagroup_data→datagroup_code; search/search_server→keyword; series/series_info→series_code; multi_series→series_codes; dashboard→dashboard_name or dashboard_id.| Parameter | Type | Description |
|---|---|---|
| action * | any | EVDS operation. No key: categories, datagroups, series_list, search, search_server, series_info, dashboards. Key required: series, multi_series, datagroup_data, dashboard. |
| aggregation | any | Aggregation method when resampling. Defaults to series default. |
| category_id | integer | Numeric category ID for action='datagroups'. Get IDs from action='categories'. |
| dashboard_id | string | Dashboard encoded ID (base64-like string) for action='dashboard', alternative to dashboard_name. Get IDs from action='dashboards'. |
| dashboard_name | string | Dashboard slug for action='dashboard' (e.g. 'baslica-gostergeler'). |
| datagroup_code | string | Datagroup code for action='series_list' or 'datagroup_data'. |
| decimals | integer | Number of decimal places in returned values (0-6). |
| end_date | string | End date YYYY-MM-DD. Optional with start_date. |
| formula | any | Transformation: raw level, pct_change, year-over-year %, moving avg, etc. |
| frequency | any | Resampling frequency. Defaults to series native frequency. |
| keyword | string | Search keyword for action='search' or 'search_server'. |
| lang | string | Language for client-side search titles (TR or EN). |
| limit | integer | Max observations / records returned per series (payload safety cap). Default 100 keeps responses compact; raise it (max 5000) only when long history is genuinely needed. |
| period | any | Time period. Ignored when start_date is provided. |
| scope | string | Scope filter for client-side search (action='search'). |
| series_code | string | EVDS series code for action='series' or 'series_info'. |
| series_codes | array | List of EVDS series codes for action='multi_series' (max 20). |
| start_date | string | Start date YYYY-MM-DD. Overrides 'period' when set. |
get_financial_ratiosGet ratios: valuation (P/E, EV/EBITDA), Buffett analysis, health metrics, or comprehensive.| Parameter | Type | Description |
|---|---|---|
| market * | any | Market: bist or us |
| ratio_set | any | Ratio set: valuation, buffett, core_health, advanced, comprehensive |
| symbol * | any | Symbol(s), max 10: 'GARAN' or ['GARAN', 'AKBNK'] |
get_financial_statementsGet balance sheet, income statement, and cash flow (annual/quarterly). Batch support up to 10.| Parameter | Type | Description |
|---|---|---|
| last_n | integer | Number of periods to fetch (BIST only). Default 5 (returns ~4 recent quarters or ~4 years). Use 20 for ~5 years of quarterly data, 40 for max. IMPORTANT: If user asks for older data (e.g. '2023 Q2' or 'last 3 years'), increase last_n accordingly. |
| market * | any | Market: bist or us |
| period | any | Period: annual or quarterly |
| statement_type | any | Statement type: balance, income, cashflow, or all |
| symbol * | any | Single ticker or list of tickers (max 10) |
get_fund_dataGet TEFAS fund info with returns (daily/weekly/1m/3m/6m/1y/3y/5y), portfolio, or compare funds. Supports custom date range.| Parameter | Type | Description |
|---|---|---|
| compare_mode | boolean | Enable comparison mode for multiple funds |
| data_type | string | 'fund' (default) returns fund data. 'regulations' returns the Turkish investment fund regulations (CMB rules) and needs no symbol. |
| end_date | string | Custom range end date (YYYY-MM-DD). Defaults to today if start_date is set |
| include_performance | boolean | Include historical performance data (single fund only) |
| include_portfolio | boolean | Include the asset-type breakdown (single fund only) as portfolio={date, allocation:[{code, label, weight}]}, weights in percent, largest first. With start_date/end_date it also returns portfolio_history, one entry per publication day in that window. |
| start_date | string | Custom range start date (YYYY-MM-DD) for calculating custom_return |
| symbol | any | Single fund code or list of fund codes for comparison (max 10). Not needed when data_type='regulations'. |
get_historical_dataGet OHLCV price history with date range or period (1d-5y). Supports BIST, US, and crypto.| Parameter | Type | Description |
|---|---|---|
| adjust | boolean | True (default)=split-adjusted, correct for return calculations. False=raw exchange prices, which show a cliff across a split (BIST only) |
| end_date | string | End date (YYYY-MM-DD). Mutually exclusive with period. |
| exchange | any | Crypto exchange: btcturk or coinbase. Inferred from the pair when omitted (BTCTRY→btcturk, BTC-USD→coinbase). |
| market * | any | Market: bist, us, crypto, fx, or fund |
| period | any | Time period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, ytd, max. Mutually exclusive with start_date/end_date. |
| start_date | string | Start date (YYYY-MM-DD). Mutually exclusive with period. |
| symbol * | any | Symbol(s), max 10. Stocks: GARAN, AAPL. FX: gram-altin, USD. Crypto pairs: BTCTRY, BTC-USD. Fund codes: TI2. |
get_index_dataGet index value, change, and optionally component stocks (BIST: XU100, XU030; US: SPY, QQQ).| Parameter | Type | Description |
|---|---|---|
| code * | string | Index code (e.g., XU100, XU030, XBANK, SPY, QQQ) |
| include_components | boolean | Include list of component stocks |
| market * | any | Market: bist or us |
get_macro_dataInflation data and cumulative purchasing-power calculation for Turkey (TÜFE/ÜFE), the US (CPI-U), or the euro area (HICP).| Parameter | Type | Description |
|---|---|---|
| basket_value | number | Initial basket value for calculation (default: 100) |
| data_type * | any | Data type: 'inflation' for rates, 'calculate' for cumulative calculation |
| end_date | string | End date for inflation data (YYYY-MM-DD) |
| end_month | integer | End month for calculation mode (1-12) |
| end_year | integer | End year for calculation mode |
| inflation_type | any | TR only: tufe (CPI) or ufe (PPI). Defaults to tufe for region='tr'; supplying it with region='us'/'eu' is an error. |
| limit | integer | Maximum data points for inflation data |
| region | any | Region: 'tr' (TÜFE/ÜFE, TRY), 'us' (CPI-U, USD), 'eu' (HICP, EUR). US and EU publish a headline index only, so inflation_type does not apply there. |
| start_date | string | Start date for inflation data (YYYY-MM-DD) |
| start_month | integer | Start month for calculation mode (1-12) |
| start_year | integer | Start year for calculation mode (US series reaches back to 1913) |
get_newsGet KAP news list for a BIST stock, or fetch full news content by news_id.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum news items (for list mode) |
| news_id | string | News ID or URL for detailed content. When provided, returns full news content. |
| page | integer | Page number for news detail (when news_id is provided) |
| symbol | string | Ticker symbol for news list (e.g., GARAN). Optional if news_id is provided. |
get_profileGet company profile with sector, financials, key metrics, and optional Islamic compliance (BIST).| Parameter | Type | Description |
|---|---|---|
| include_islamic | boolean | Include Sharia compliance info (BIST only) |
| market * | any | Market: bist, us, or fund |
| symbol * | any | Symbol(s), max 10: 'GARAN' or ['GARAN', 'AKBNK'] |
get_quoteWhat is it worth right now: stocks (with P/E, P/B, 52w range), currencies, metals and crypto. Batch up to 10.| Parameter | Type | Description |
|---|---|---|
| exchange | any | Crypto exchange: btcturk or coinbase. Inferred from the pair when omitted. |
| market * | any | Market: bist, us, fx, or crypto |
| symbol * | any | Symbol(s), max 10. Stocks: GARAN, AAPL. FX and metals: USD, EUR, gram-altin, BRENT. Crypto pairs: BTCTRY, BTC-USD. |
get_sector_comparisonGet sector peers, average P/E and P/B, and comparative positioning for a stock.| Parameter | Type | Description |
|---|---|---|
| market * | any | Market: bist or us |
| symbol * | any | Symbol(s), max 10: 'GARAN' or ['GARAN', 'AKBNK'] |
get_technical_analysisGet technical indicators: RSI, MACD, Bollinger Bands, moving averages, and trend signals.| Parameter | Type | Description |
|---|---|---|
| exchange | any | Crypto exchange: btcturk or coinbase. Inferred from the pair when omitted. |
| include_pivots | boolean | Also compute classic pivot points: PP, R1-R3, S1-S3, plus the nearest level and distance (bist and us only). |
| market * | any | Market: bist, us, or crypto |
| symbol * | any | Symbol(s), max 10: 'GARAN' or ['GARAN', 'AKBNK'] |
| timeframe | any | Analysis timeframe: 1d (daily), 1h (hourly), 4h, 1W (weekly) |
scan_stocksScan BIST stocks by technical indicators (RSI, MACD, Supertrend, T3). Use preset or custom condition.| Parameter | Type | Description |
|---|---|---|
| condition | string | Custom: 'RSI < 30', 'supertrend_direction == 1' |
| help | boolean | Return the available indicators, operators and presets instead of running a scan. |
| index | any | BIST index to scan. Required unless help=True. |
| preset | any | Preset: oversold, bullish_momentum, supertrend_bullish, t3_bullish, high_volume |
| timeframe | string | Timeframe: 1d, 1h, 4h, 1W |
screen_fundsScreen and filter TEFAS funds by type, category, returns, and sort criteria. Find top performing funds.| Parameter | Type | Description |
|---|---|---|
| category | string | Fund category filter (e.g., 'Para Piyasası', 'Değişken', 'Hisse Senedi', 'Borçlanma Araçları') |
| fund_type | string | Fund type: YAT=Investment Funds (Yatırım Fonları), EMK=Pension Funds (Emeklilik Fonları) |
| limit | integer | Maximum number of results (1-100) |
| min_return_1m | number | Minimum 1-month return (%) |
| min_return_1y | number | Minimum 1-year return (%) |
| sort_by | string | Sort results by this return period |
screen_securitiesScreen stocks/ETFs with 24 presets (value, growth, dividend, sector) or custom filters.| Parameter | Type | Description |
|---|---|---|
| custom_filters | array | Custom filters as list: [["eq", ["sector", "Technology"]], ["gt", ["intradaymarketcap", 10000000000]]] |
| help | boolean | Return this market's presets, filter fields and operators instead of running a screen. Cannot be combined with preset or custom_filters. |
| limit | integer | Maximum results |
| market * | any | Market: bist or us |
| preset | any | Preset screen: value_stocks, growth_stocks, dividend_stocks, large_cap, tech_sector, top_gainers, etc. |
| security_type | any | Security type for US: equity, etf, mutualfund (default: equity) |
search_symbolSearch stocks, indices, funds, or crypto by name/symbol across BIST, US, crypto, and fund markets.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max results (1-50) |
| market * | any | Target market: bist, us, crypto_tr, crypto_global, fund |
| query * | string | Search term: company name, ticker, or keyword |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 56 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiounified_mcp_server.py:2144
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 29 callsborsa_client.py:59, borsa_client.py:79, borsa_client.py:81
- Writes or deletes files
- 2 callsproviders/tefas_provider.py:59, providers/tefas_provider.py:79
- Lockfile
- uv.lock
Pattern matches on the source text of 56 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 3.6K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README