# TradeFlags MCP

> TradeFlags MCP is a freemium MCP server for trading analysis. Authenticated Hong Kong and US equity data: breadth, signals and volatility. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API
- **Repository:** https://github.com/a3igner/tradeflags-mcp-docs
- **MCP Registry name:** com.tradeflags/mcp
- **Categories:** [trading analysis](https://ai-powered.com/categories/trading-analysis), [stock market data](https://ai-powered.com/categories/stock-market-data)
- **Listing updated:** 2026-11-23

## About

TradeFlags serves market data for Hong Kong and US equities over one streamable HTTP endpoint. Its 35 read-only, timestamped tools span breadth and signal indicators, volatility, macro and sentiment readings, forecasts and company network data.

Specifics include TRIN, McClellan, TD Sequential and the Hindenburg Omen, SVI-fitted volatility surfaces for HKEX and FUTU, the VHSI and VIX, the ADS Business Conditions Index, HKMA curve, and Moirai index forecasts. An on-demand pricing tool values accumulators and other equity derivatives with NPV and greeks.

Access needs an API key sent as a Bearer token. A free plan gives 1,000 calls a month, with Pro, Team and Enterprise tiers above it. Outputs are audit data, not investment advice, and the operator is AINFER Limited in Hong Kong.

## Features

- **Breadth and signals:** TRIN, McClellan, RASI, Hi-Lo, TD Sequential, Parabolic SAR, Hindenburg Omen and signal outcomes.
- **Volatility surfaces:** SVI-fitted surfaces, index term structure, 25-delta skew and VHSI or VIX levels.
- **Macro and sentiment:** Business conditions index, sentiment readings, VIX term structure and the HKMA curve.
- **Forecasts:** Moirai forecasts for Hong Kong indices.
- **OTC pricing:** On-demand pricing of accumulators and equity derivatives with NPV and greeks.
- **Company network:** Nodes, edges and scenario models.

## Good for

- Ask an agent for current market breadth in Hong Kong
- Pull a volatility surface for an index
- Price an accumulator on demand
- Compare VIX and VHSI term structures

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://api.tradeflags.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.tradeflags.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.tradeflags.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://api.tradeflags.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://api.tradeflags.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://api.tradeflags.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.tradeflags.com/mcp
```

Enter a Name (for example "TradeFlags MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.tradeflags.com/mcp"
    }
  }
}
```

## FAQ

### Do I need an API key?

Yes. Requests use a Bearer token from your tradeflags.com account.

### Is there a free tier?

Yes, 1,000 calls a month; Pro includes 200,000 and Team 2,000,000.

### Are the tools read-only?

Yes, all 35 tools are read-only and timestamped.

### Is this investment advice?

No. Outputs are computational audit data only.

### How do I add TradeFlags MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://api.tradeflags.com/mcp

### What are the best alternatives to TradeFlags MCP?

The closest alternatives to TradeFlags MCP are fAlpha, TallyForge Quant Signals, Trovest Financial Data, SentimentFX and TradeOS (test).

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [fAlpha](https://ai-powered.com/mcp/falpha): fAlpha is an MCP server for stock market data.
- [TallyForge Quant Signals](https://ai-powered.com/mcp/tallyforge-quant-signals): TallyForge Quant Signals is a paid MCP server for trading analysis.
- [Trovest Financial Data](https://ai-powered.com/mcp/trovest-financial-data): Trovest Financial Data is a paid MCP server for finance and payments.
- [SentimentFX](https://ai-powered.com/mcp/sentimentfx): SentimentFX is a freemium MCP server for finance and payments.
- [TradeOS (test)](https://ai-powered.com/mcp/tradeos-test): TradeOS (test) is an MCP server for sports data.
- [TrueSource](https://ai-powered.com/mcp/truesource): TrueSource is an MCP server for stock market data.
- [Financekit MCP](https://ai-powered.com/mcp/financekit-mcp): Financekit MCP is an open-source MCP server for finance and payments.
- [TejHQ Indian Markets](https://ai-powered.com/mcp/tejhq-indian-markets): TejHQ Indian Markets is a freemium MCP server for stock market data.

---
Source: https://ai-powered.com/mcp/tradeflags-mcp
