Your question.
Connected to evidence.
Your assistant handles the conversation. Quant Brain retrieves research and runs calculations using the sources you configure.
“How did these two strategies perform on Apple?”
Retrieve · Calculate · Link
Actual metrics, reporting periods, source references and gaps.
01. Choose your sources
Company filings and market prices serve different purposes. Import the evidence you need and enable optional providers deliberately.
SEC EDGAR
Find Apple’s issuer ID, import available reports, and preserve their source links.
NSE
Import official Reliance results. Keep periods, currency and consolidated or standalone basis clear.
Yahoo / yfinance
Supply price series for backtests using symbols such as AAPL and RELIANCE.NS.
Kotak Neo · Zerodha Kite
Read supported current quotes with your own credentials. These adapters do not supply backtest history.
02. Calculate with tools
The assistant calls named MCP tools. Quant Brain returns the underlying results for financial research, comparisons and strategy testing. Discovering tools is only the first check: verify that the assistant actually calls them.
Use Quant Brain first. Run backtest_sma_crossover and
backtest_rsi_mean_reversion on AAPL, both with period 2y.
Show actual dates and returned metrics, including return, drawdown and trade count where available.
Flag different warm-up windows and label any fallback.Run the same comparison again for RELIANCE.NS. Expect two strategy calls per ticker, compare within each ticker, and report missing data, timeouts or a valid no-trade result explicitly.
03. Inspect the evidence
Ask for the reporting period, currency, units and original source alongside every financial figure. The assistant explains the returned information; missing evidence should remain visible.
- Compare both strategies using the same requested ticker and period.
- Check actual usable dates and warm-up differences.
- Separate reported facts, calculated values and your own assumptions.
- Identify unavailable sources and fallbacks explicitly.
A confident sentence alone is not a research result. Look for the tool call and the evidence it returned.
04. Start local. Host when you need to.
On your computer
A compatible assistant starts Quant Brain over stdio. Your private configuration and research database live in a separate local directory.
Connect an assistantOn your server
Remote clients connect to an authenticated HTTPS /mcp endpoint. Keep the database on persistent storage and verify owner isolation.
Explore hostingRegular ChatGPT needs its own supported connection and authentication setup. The reviewed main build has bearer-token HTTP; its private ChatGPT OAuth workflow is pending.
The guide records 17 Codex tool calls on synthetic stored US and NSE data. Hermes discovery covered the earlier 100-tool catalog; the current Python catalog has 101 tools. Broker adapters have simulated coverage, with live quotes pending.
05. Your first research demo
Start with the built-in no-key demo using temporary invented filings, then connect one assistant. No brokerage account is needed.
.venv/bin/python scripts/demos/demo_research_desk.py- Connect one assistant and list saved companies. An empty new database is valid.
- Import an Apple filing and show one figure with its source.
- Import a Reliance result and check its reporting basis and units.
- Run both named strategies on AAPL for 2y, then repeat both on RELIANCE.NS for 2y. Check the actual returned dates.
- Optionally check broker quotes once credentials and live access are verified.
06. Build on your first demo
Import sourced financial facts for screening, peers, valuation and guidance. For thesis watches, save a baseline fact and a measurable assumption; run the filing worker with the same database and owner.
Rules and workflows can reuse your criteria. Their optional PostgreSQL setup does not replace the persistent SQLite store for filings. Durable price alerts require their own PostgreSQL setup, an enabled price source and a polling client.
The local dashboard needs its optional dependency profile; chart export needs Chrome or Chromium and a smoke check. Scanned filings need the PDF profile plus Tesseract and English language data for OCR. Review extraction against the original before importing.
Back up research and test restoration. Read-only mode blocks saving tools, including imports and some calculations. Read the next-step requirements.
Open the setup guide