🧠 Quant Brain MCP

MCP serverDev tools

This integration adds stock analysis to your AI, covering sectors in the US and India. Once added, your AI can evaluate stocks with 38 indicators, test how trading strategies would have performed using 8 backtests, and refine those strategies with 7 optimizers.

Use 🧠 Quant Brain MCP in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add 🧠 Quant Brain MCP and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use 🧠 Quant Brain MCP to generate optimized verdict

Details

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to analyze a stock you follow, or have it run a backtest on a trading strategy you want to try.

🧠 Quant Brain MCPStart free

What your AI can do with it

  • Analyze stocks across US and India sectors
  • Evaluate a stock using 38 indicators
  • Run 8 backtests to see how a trading strategy would have performed
  • Refine a trading strategy with 7 optimizers

Install 🧠 Quant Brain MCP

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user quant-brain-mcp 'https://mcp-quant-brain.onrender.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

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

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=quant-brain-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC1xdWFudC1icmFpbi5vbnJlbmRlci5jb20vbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

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

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add quant-brain-mcp --url 'https://mcp-quant-brain.onrender.com/mcp'

    Run it once, then sign in with codex mcp login quant-brain-mcp if the server asks for an account.

From the project's README

As published by paarths-collab/quant-brain-mcp in README.md.

Turn Claude into a quantitative analyst for US and Indian equities.

Ask in plain English. Get sized trade plans, portfolio optimization, backtests, and price alerts — grounded in real market data, not vibes.


You:    "Scan my watchlist and build a trade plan for whatever looks most actionable.
         ₹2,00,000 equity, 1% risk."

Claude: RELIANCE.NS flagged (at 20-DMA, volume 1.8x average).

        TRADE PLAN — RELIANCE.NS (long)
        Entry           ₹1,310.00
        Stop            ₹1,270.10   (swing low, 2.1 ATR)
        Size            50 shares   (₹65,500 — 32.8% of equity)
        Max loss        ₹1,995      (1.0% of equity)
        Targets         1R ₹1,349.90 · 2R ₹1,389.80 · 3R ₹1,429.70
        Invalidation    Thesis invalid below ₹1,270.10 — exit without debate.

No API keys. No accounts. Connect one URL and start asking.

⚡ Quickstart

Claude Desktop / Claude Web → Settings → Connectors → Add custom connector → Streamable HTTP:

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

That's the whole setup. Try: "What's RELIANCE trading at, and is it overbought?"

Free-tier note: the server sleeps when idle and takes ~50 s to wake. If the first request times out, retry once. Details in Getting Started.

🛠 What you get — 25 tools

ToolsWhat they answer
📋 Trader workflowget_quote · get_news · build_trade_plan · scan_watchlist · price_alertWhat's it at? What happened? What do I do? What moved this week? Tell me when it hits my level.
📊 Indicators6 grouped analyze_* tools — 38 curated indicatorsIs it overbought? Trending or chopping? How volatile?
💼 Portfoliogenerate_optimized_verdict — 7 optimization methodsHow do I split my money? What's my risk?
🧪 Backtests7 rule-based strategiesDoes this strategy actually work, or does it just feel like it?
🔭 IntelligenceSector ranking · sector→stock pipeline · company profilesWhich sector is leading? Which stocks inside it?
📈 ChartsInstitutional chart pack, rendered as imagesShow me.

Full reference with every parameter: docs/tools.md

🔄 The workflow it's built around

flowchart LR
    S["🔍 <b>scan_watchlist</b><br/>what moved this week?"] --> N["📰 <b>get_news</b><br/>why did it move?"]
    N --> P["📐 <b>build_trade_plan</b><br/>entry · stop · size · targets"]
    P --> A["🔔 <b>price_alert</b><br/>watch my levels"]
    A -.->|level breaks → notified| P
    subgraph deeper["go deeper anytime"]
        I["📊 indicators"] ~~~ B["🧪 backtests"] ~~~ O["💼 optimizer"]
    end
    S -.-> deeper

🔔 Price alerts that survive restarts

You:  "Alert me if RELIANCE drops below ₹1,270"        → stored server-side (Postgres)
      ...
Bot:  "PRICE ALERT FIRED — RELIANCE.NS moved below 1270.00, now at 1268.20"

Alerts are one-shot, persist across server restarts, and pair with a scheduled Claude task that checks hourly during market hours and pushes to your phone. Setup in docs/price-alerts.md.

🎯 Why this instead of a stock screener?

  1. It answers the trading question, not just the data question. Indicators tell you RSI is 43. build_trade_plan tells you entry, stop, how many shares, and where your thesis dies — sized to your account.
  2. India is a first-class citizen. NSE tickers, NIFTY benchmarking, 8 Indian sector indices, ₹ formatting. Not a US tool with .NS bolted on.
  3. The numbers are audited. Every calculation was adversarially tested against textbook references and live data — 161 automated tests pin the math, including regression tests for 11 real bugs found and fixed along the way. See docs/architecture.md.
  4. Honest about its data. Delayed quotes are labeled with timestamps. Stale feeds are flagged, not hidden. FX limitations are disclosed, not papered over.

📚 Documentation

PageWhat's in it
Getting StartedConnecting from Claude Desktop, Web, and Code; cold starts; troubleshooting
Tool ReferenceAll 25 tools, every parameter, response shapes
Example PromptsThe prompt cookbook — from one-liners to full workflows
Price AlertsPersistent alerts + the scheduled watcher pattern
Architecture & MethodologyHow it works, data conventions, the bug audit, telemetry

⚠️ Honest limits

  • Data: Yahoo Finance. US quotes near-real-time; NSE/BSE ~15 min delayed. Daily bars for analysis.
  • No options chains, futures, intraday candles, or tick data.
  • Not investment advice. Educational analysis tooling. Every trade plan says so and means it.

License

MIT — use it, fork it, ship it.

Tools it offers (25)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • generate_optimized_verdict
  • get_company_profile
  • get_quote
  • build_trade_plan
  • scan_watchlist
  • price_alert
  • get_news
  • find_sector_stock_pipeline_tool
  • analyze_sector_intelligence_tool
  • backtest_macd_momentum
  • backtest_macd_trend_follower
  • backtest_mean_reversion_rsi_bb
  • backtest_rsi_mean_reversion
  • backtest_sma_crossover
  • backtest_trend_crossover
  • backtest_volatility_breakout
  • generate_chart_pack
  • generate_charts
  • plot_charts
  • analyze_momentum
  • analyze_technical_levels
  • analyze_trend
  • analyze_volatility
  • analyze_volume
  • analyze_statistics

Signals

GitHub stars
4
Last commit
Aug 2026
Advanced
Delivery
quant-brain-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-paarths-collab-quant-brain-mcp
Source
github.com/paarths-collab/quant-brain-mcp
Hosted endpoint
https://mcp-quant-brain.onrender.com/mcp