TRAI quant day-trading research

Connect an AI agent (MCP)

TRAI runs a read-only Model Context Protocol server so AI agents can query and monitor its data — the same stored data the dashboard shows, with an as-of timestamp on every result. Public-source screening research, not investment advice. There are no write tools.

Endpoint

https://rva.guru/trai/api/mcp

Client config

Cursor, Claude Code, VS Code and other clients with remote (HTTP) MCP support:

{
  "mcpServers": {
    "trai": { "url": "https://rva.guru/trai/api/mcp" }
  }
}

Claude Code CLI: claude mcp add --transport http trai https://rva.guru/trai/api/mcp

Claude Desktop and other stdio-only clients (via mcp-remote):

{
  "mcpServers": {
    "trai": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://rva.guru/trai/api/mcp"]
    }
  }
}

Inspect it in a browser UI: npx @modelcontextprotocol/inspector, then choose transport “Streamable HTTP” and enter the URL above.

Tools

get_statusFreshness/health of the latest run and every dataset, latest Daily Overview, knowledge-base counts, deployed commit
get_changes_sinceNew runs, names entering/leaving buckets, regime switches, regenerated datasets, new reports/notes/proposals since a time
get_latest_runLatest engine run: regime snapshot, ranked buckets with ranking rule, risk rules
lookup_tickerEverything TRAI stores about one symbol
get_run_historyStored runs, or one historical run
get_scorecardWalk-forward and live scorecard
get_regimeRegime model score, labels, history (same as /api/regime)
get_earningsUpcoming earnings and earnings-reaction statistics
get_correlationsCorrelation clusters and pairs
get_macroRates and sector rotation
get_options_volOptions-implied vol, VRP, implied earnings moves
get_intraday_patternsIntraday profile and opening-range stats
get_daily_overviewDaily Overview recap
get_zeitgeistZeitgeist overview, rap lyrics + plain-English translation
get_methods_glossaryMethods, formulas and glossary
search_knowledgeSearch research reports and company/sector notes
list_research_reportsHourly research reports
get_research_reportRead one report (paged)
get_strategy_proposalsStrategy proposals from strategy.md
ask_traiNatural-language question to Ask TRAI (shares the 20/hour Ask limit)

Monitoring pattern: call get_status, then periodically get_changes_since with the time of your previous check. Runs are pre-market (~8:45 ET) and post-close (~4:20 ET) on weekdays; research reports land hourly. See Methods for how every number is computed.