quant-brain-mcp

Stock analysis MCP: 38 indicators, 7 optimizers, 8 backtests, US + India sectors.

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only

What it can do

    What data it sees

    Do you need an account

    No: the server works without sign-in

    Stock analysis MCP: 38 indicators, 7 optimizers, 8 backtests, US + India sectors.

    How to connect

    How to connect quant-brain-mcp to Claude

    The server address to paste into Claude settings:

    https://mcp-quant-brain.onrender.com/mcp

    1. Open Claude (claude.ai or the desktop app).
    2. Go to Settings → Connectors.
    3. Click Add custom connector.
    4. Paste the server address copied below into Remote MCP server URL and click Add.
    5. In a chat, click + → Connectors and switch the new connector on.

    Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.

    Authorization

    After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.

    How to connect quant-brain-mcp to ChatGPT

    The server address to paste into ChatGPT settings:

    https://mcp-quant-brain.onrender.com/mcp

    1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
    2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
    3. Open Settings → Connectors and click Create.
    4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
    5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
    6. In a new chat open + → Apps/Connectors and enable the connector.

    OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.

    Authorization

    On first use ChatGPT opens the service's sign-in window. Sign in and approve access.

    How to connect quant-brain-mcp to Cursor

    The server address to paste into Cursor settings:

    https://mcp-quant-brain.onrender.com/mcp

    Fastest: click Open in Cursor below and confirm the prompt.

    Manually:

    1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
    2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
    3. Save the file. The server appears in the MCP list; authorize it there if asked.

    Authorization

    If the service needs sign-in, an authorize button appears next to the server in the MCP list.

    Server tool list (25)

    Raw names from tools/list. Only developers need these.

    generate_optimized_verdictOptimize a portfolio and return backtest metrics plus a final verdict. Args: tickers: List of ticker symbols (e.g. ["AAPL", "RELIANCE.NS"]) amount: Investment amount used for allocation context optimize_type: Optimization mode. Supported values are: "mvo", "hrp", "max_sharpe", "min_volatility", "black_litterman", "cvar", "semivariance". period: History window for price data, e.g. "1y", "2y", "5y", "10y" (default "2y"). Longer windows give the optimizer and backtest more data at the cost of a slower fetch.
    get_company_profileReturn a full company snapshot with business, valuation, and market metadata.
    get_quoteCurrent price snapshot for one or more tickers (US and Indian). Returns last price, day change %, day and 52-week ranges, position within the 52-week range, and volume vs 3-month average, with an `as_of` timestamp. US quotes are near-real-time; NSE/BSE quotes are ~15 minutes delayed (disclosed in the response). For to-the-second Indian prices during market hours, supplement with a live web search.
    build_trade_planBuild a sized trade plan: entry, stop, share count, R targets, invalidation. The answer to "what do I do?": given account equity and the percent of it you are willing to risk, returns an entry reference (last close), a structural stop (tighter of recent swing level or 2x ATR, never inside daily noise), the exact number of shares so a stop-out loses only the risk budget, 1R/2R/3R targets, a liquidity check (order as % of 20-day turnover), and a one-line invalidation. Educational analysis, not investment advice.
    scan_watchlistScan a watchlist and report which names did something actionable. For each ticker: last close, day change, gap, distance from the 20/50/200-day averages and the 52-week high, ATR%, and volume vs its 20-day average -- plus which rules fired (near_52w_high, volume_spike, crossed_above/below_200dma, at_20dma, gapped_over_1atr). Sorted most-actionable first. The Sunday-evening tool: run it over your list, then feed interesting names into build_trade_plan.
    price_alertPersistent price alerts stored server-side (survive restarts, one-shot). Actions: set -- watch a level: price_alert("set", ticker="RELIANCE.NS", level=1270, direction="below", note="stop level") list -- show all active alerts delete -- remove an alert by alert_id check -- fetch current prices for every active alert and return which fired; fired alerts deactivate so they never spam. A server cannot push messages into Claude, so pair this with a scheduled task that calls action='check' on a cadence (e.g. every 30 minutes during market hours) and notifies the user only when 'triggered' is non-empty.
    get_newsRecent news headlines for a ticker via Yahoo Finance's news feed. Returns structured articles (title, publisher, url, published_at, summary) for you to read and synthesize. Not a scraper -- uses Yahoo's aggregated feed, so coverage is strongest for large-cap US and Indian names.
    find_sector_stock_pipeline_toolRun a multi-step pipeline: sector performance -> stock ranking -> strategy selection.
    analyze_sector_intelligence_toolAnalyze sector return, risk, momentum, drawdown and correlation; select best sector.
    backtest_macd_momentumRun MACD momentum strategy backtest for one ticker. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_macd_trend_followerRun MACD trend follower strategy backtest for one ticker. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_mean_reversion_rsi_bbRun RSI + Bollinger Band mean-reversion strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_rsi_mean_reversionRun RSI mean-reversion strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_sma_crossoverRun SMA crossover strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_trend_crossoverRun trend crossover strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    backtest_volatility_breakoutRun volatility breakout strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
    generate_chart_packGenerate the full institutional chart suite for dashboard rendering.
    generate_chartsGenerate charts for portfolio, strategy, quant, fundamentals, and sector pipeline.
    plot_chartsAlias for chart generation; kept for natural plotting language in clients.
    analyze_momentumMomentum indicators: rsi, macd, roc, cci, stoch, stochrsi, tsi, willr. Runs all momentum indicators for the ticker, or only the subset named in `indicators` (e.g. ["rsi", "macd"]). `period` sets the history window: "1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max" (default "2y").
    analyze_technical_levelsMoving averages and price levels: sma, ema, hma, kama, ichimoku, supertrend, vwap, vwma. Runs all level indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
    analyze_trendTrend strength and direction: adx, aroon, chop, psar, vortex, zigzag. Runs all trend indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
    analyze_volatilityVolatility and bands: atr, bbands, donchian, kc, stdev, ui. Runs all volatility indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
    analyze_volumeVolume confirmation: obv, cmf, mfi, ad, pvt. Runs all volume indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
    analyze_statisticsStatistical behavior: log_return, zscore, skew, kurtosis, entropy. Runs all statistical indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").