About Avanza-MCP
Avanza-MCP is an MCP server published by Hamid-K in the Security category: a Model Context Protocol (MCP) server providing access to Avanza's API. Get real-time Swedish stock quotes, fund information, charts, and comprehensive market data. Conduid read 82 tools from its source: avanza_account_cost_attribution, avanza_account_performance, avanza_accounts, avanza_capabilities, avanza_fee_estimate, avanza_frozen_holdings_attribution and 76 more. No package is published for it, so it installs from a source checkout.
Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include aktier, api, avanza, etf, finance and funds.
Install
git clone https://github.com/Hamid-K/avanza-mcpTools (82)
avanza_account_cost_attributionReplay cash-flow-adjusted account return with posted commission and modeled FX removed; read-only and fail-closed on truncated history.avanza_account_performanceRead Avanza account performance/development for the selected or supplied account_id over a chosen period.avanza_accountsList Avanza accounts currently visible to the authenticated TUI session.avanza_capabilitiesReturn consolidated MCP safety/capability status for automation loops (paper/live guards, account context, and tool availability).avanza_fee_estimateEstimate courtage/FX costs and break-even move for a planned trade (conservative assumptions when exact class data is unavailable).avanza_frozen_holdings_attributionReconstruct a frozen starting-holdings path from authenticated daily prices and account history; read-only and fail-closed on missing identity, prices, cash events, or truncated history.avanza_index_constituentsFetch index constituents (default OMXS30) with optional quote/spread enrichment for building a liquid scalp universe.avanza_instrument_chartRead authenticated daily or intraday Avanza OHLC history for one order book; read-only analysis input.avanza_instrument_open_ordersRead open/pending regular orders for one instrument/account.avanza_instrument_stateRead one instrument's quote, position, stops, orders, transactions, and mechanical full-holding diagnostic.avanza_instrument_stoplossesRead stop-loss rows for one instrument/account.avanza_instrument_transactionsRead transactions for one instrument/account.avanza_live_session_authorizeExplicitly enable live mutation permission for this active MCP or TUI session.avanza_live_session_revokeDisable live mutation permission for this MCP or TUI session and force paper-only mode.avanza_live_snapshotRead a decision-ready polling snapshot, with optional compact instrument filtering.avanza_market_moversFetch Avanza market movers (gainers/losers) with optional country/market/turnover filters.avanza_ongoing_ordersList ongoing orders for the selected account: live stop-losses + live open orders, with optional paper active orders.avanza_open_order_cancelDry-run or cancel an existing open/pending regular order.avanza_open_order_editDry-run or update an existing open/pending regular order.avanza_open_ordersList live open/pending regular orders, optionally filtered by instrument, side, or status.avanza_open_orders_rawDebug tool for normalized open orders plus optional raw Avanza order payload.avanza_order_deleteDry-run or delete a regular open order.avanza_order_editDry-run or update an existing open order (price/volume/valid_until).avanza_order_setDry-run or place a regular buy/sell order.avanza_orderbook_quotesFetch arbitrary quote snapshots for supplied orderbook IDs (supports 5s polling loops for 20-50 symbols).avanza_paper_cancelCancel a local paper order.avanza_paper_order_exitClose an open paper position by position_id or orderbook_id and create a completed paper trade entry.avanza_paper_order_setCreate a local paper buy/sell order.avanza_paper_ordersList local paper-trading orders and events for the selected account, or a supplied account_id.avanza_paper_positionsList paper positions for a selected account/session, with optional active-only filter.avanza_paper_risk_stateEvaluate paper-session guardrails before allowing a new trade entry.avanza_paper_session_summaryReturn P/L summary for a paper trading session/account.avanza_paper_stoploss_setCreate a local paper stop-loss order.avanza_paper_tradesList completed paper trades (entry+exit ledger rows) for account/session.avanza_portfolioList portfolio positions, optionally filtered by one instrument and compact mode.avanza_positionRead one account position by orderbook ID.avanza_position_strategy_auditRefresh exact holdings plus aggregate active-stop/open-order exposure, return the read-only `event_protection_screen`, and fail closed when a reviewed per-position plan or explicit protection classification is missing, stale, contradictory, or marked `REPAIR_REQUIRED`.avanza_position_strategy_register_batchDry-run or atomically register reviewed per-position plans and instrument-specific protection reasons against exact live account state; an explicit preservation flag can update semantics without rebaselining a holding-only exception, and changes only the local registry, never Avanza.avanza_protection_gapsAudit exact strategy SELL targets, failed SELL stops, and overcoverage without inferring a full-core exit.avanza_realtime_quotesFetch real-time quote snapshot for selected account holdings (best with a 5s polling loop).avanza_recent_fills_needing_protectionReview recent BUY fills; report a SELL gap only against an explicit percentage or exact strategy target.avanza_recovery_reachabilityAudit every active BUY row for practical fixed-price distance, secondary/deep residuals, reversal-trigger width, and recovery coverage, while separately reconciling explicit named, locked, secondary, or dormant position-plan semantics; raw issues remain visible and thresholds are never placement advice.avanza_scalp_watchlist_getLoad a named scalp watchlist and optionally include current quotes for all members.avanza_scalp_watchlist_setStore/update a named scalp watchlist (orderbook IDs + optional labels) in local paper session state.avanza_search_stockSearch Avanza stock/order book data by name, ticker, or ISIN.avanza_select_accountSafely switch MCP or TUI selected account context.avanza_select_sessionSwitch active MCP/TUI tenant session context.avanza_sessionsList loaded authenticated Avanza tenant sessions in the running TUI.avanza_sold_today_buyback_stateSummarize same-day sold instruments using fail-closed recovery attribution; same-day BUY fills offset sales, while pre-existing/generic BUY stops and unattributed regular BUY orders remain conditional exposure rather than assumed repair.avanza_statusShow TUI MCP bridge status, selected account, and current safety mode.avanza_stoploss_deleteDry-run or delete a stop-loss order; live deletion requires intent/reason matching the exact durable stop metadata.avanza_stoploss_editDry-run or edit an existing stop-loss (delete old + place new).avanza_stoploss_setDry-run or place a stop-loss order; live MCP placement requires an auditable strategy intent and reason.avanza_stoploss_set_batchPlace multiple stop-loss orders with per-item strategy-intent validation and final readback.avanza_stoploss_strategy_auditRefresh active broker stops and verify that each exact row reloads with matching durable local strategy metadata.avanza_stoploss_strategy_register_batchDry-run or atomically register reviewed intent for exact active broker rows; changes only the local registry, never Avanza.avanza_stoplossesList stop-loss orders with durable strategy intent and missing/mismatch metadata audit, optionally filtered by instrument, side, status, and compact mode.avanza_transactionsList executed orders/history with optional account/date/type/instrument filters; `include_raw` opt-in preserves the unnormalized broker payload for read-only evidence.avanza_tv_preopen_portfolio_bundleRead-only bundle that merges Avanza portfolio state with TradingView context; exact SELL targets are optional and never inferred from full holdings.avanza_verify_no_raw_failed_ordersCompact post-mutation check for failed/rejected open orders.avanza_verify_protectionVerify exact strategy SELL targets; default mode checks failed SELL rows and overcoverage only.data_source_statusReturn current health, freshness, and safety flags for Avanza, TradingView, Zacks, FMP, Polygon, SEC, and FRED source integrations.fmp_analyst_recommendationsFetch analyst recommendation history for a symbol from Financial Modeling Prep (requires FMP API key).fred_seriesFetch FRED macro observations (requires a free FRED API key via FRED_API_KEY or api_key input).polygon_analyst_insightsFetch analyst insights/ratings for a symbol from Polygon Benzinga feed (requires Polygon API key).sec_filings_recentFetch recent SEC EDGAR filings by ticker or CIK (official SEC data).signal_context_bundleBuild a compact cross-source signal bundle (TradingView technicals + SEC filings + optional Zacks/FMP/Polygon + optional FRED macro).tv_auth_custom_listsLoad authenticated TradingView custom tracking lists and rows from your TradingView profile session.tv_auth_session_clearDelete saved TradingView authenticated session cookie.tv_auth_session_login_autoOpen instrumented browser, let user log in normally, and automatically capture/save TradingView session cookies.tv_auth_session_setPersist TradingView session cookie for authenticated tv_auth_* MCP tools.tv_auth_session_startOpen TradingView login page in browser and show session setup instructions for authenticated MCP usage.tv_auth_session_statusShow saved TradingView authenticated session status used by tv_auth_* tools.tv_auth_symbol_analyticsFetch TradingView symbol analytics in authenticated mode (inherits account entitlements from supplied TradingView cookie/session).tv_auth_symbol_fullFetch rich TradingView symbol payload in authenticated mode (scanner analytics + technical labels + profile metadata + entitlement context).tv_auth_watchlistBest-effort TradingView watchlist monitor in authenticated mode (cookie/session required for private list context).tv_preopen_batch_snapshotReturn TradingView pre-open snapshots for a symbol list with per-symbol error isolation.tv_preopen_symbol_snapshotReturn a compact TradingView pre-open/extended-hours snapshot for one symbol.tv_scrape_heatmapFetch TradingView market heatmap rows with exchange, OTC, liquidity, market-cap, price, and sort filters.tv_scrape_symbol_analyticsFetch TradingView symbol analytics and technical recommendation barometers from public scanner data.tv_scrape_symbol_fullFetch rich TradingView symbol payload (scanner analytics + technical labels + symbol profile metadata) in LLM-friendly JSON.zacks_scrape_symbolFetch Zacks rank via quote-feed and scrape symbol/report pages for Earnings ESP plus visible analysis text (best effort; HTML may be blocked).Security checks
- ✓README presentThe repository's README runs to about 2.1K words.
5 checks have not been run yet.
README
The repository's README runs to about 2.1K words. The original in the repository is authoritative.
Read full README