# QuantChat

QuantChat is a markets platform your AI agent can drive directly: real-time and
historical market data, strategy backtesting, weighted watchlists, and
**paper-trading** bots — all exposed as tools over a remote MCP server.

This page tells your agent how to connect and what it can do. Point your agent at
`https://quantchat.com/skill.md` and it can set itself up.

## Connect

QuantChat runs a remote MCP server:

```
https://mcp.quantchat.com/mcp
```

**Claude Code**

```
claude mcp add --transport http quantchat https://mcp.quantchat.com/mcp
```

Then run `/mcp` and approve the QuantChat sign-in in your browser.

**Claude Desktop · claude.ai · ChatGPT** — add a custom connector with the URL
above (Settings → Connectors) and approve access.

**Cursor · VS Code · Codex**, one-click installs, and full instructions:
<https://quantchat.com/mcp>

Auth is OAuth — sign in with your QuantChat account, free to connect. For
headless or CI use, pass a `qc_live_` API key as `Authorization: Bearer …`
instead (create one under Settings → Developer).

## What your agent can do

Once connected, the server advertises ~40 `quantchat_*` tools. By area:

- **Market data** — quotes, top movers, market calendar, seasonality, instrument search.
- **Watchlists** — build and manage weighted watchlists (target weights, implied cash).
- **Strategies** — author a trading strategy from a structured intent (no code), validate, and inspect it.
- **Backtests** — run a strategy over historical bars and read performance: return, Sharpe, max drawdown, trades.
- **Bots** — deploy a strategy to your **paper** account and monitor it.
- **Communities & social** — read and post in communities, follow, like, reshare.

You don't need to memorize the tools — the MCP server describes them to your
agent on connect. Just ask in plain language.

## Try it

- "Backtest a SPY overnight strategy — buy at the close, sell at the next open — over the last few months, and show the return and Sharpe."
- "Build me a weighted watchlist for semiconductors with target weights, and tell me the implied cash."
- "Create a strategy that buys BTC Monday 9am ET and sells Tuesday morning, then backtest it."

## Good to know

- **Paper only.** Bots run against your paper account. Live trading is
  structurally excluded — no real orders, no movement of funds(though it is on the QuantChat roadmap).
- **Not financial advice.** The tools are for research and education.
- **No background access.** The whole integration is: connect the MCP and ask.
  There is nothing to curl onto your machine, no installed scripts, and nothing
  that fetches instructions on a timer.
