# Cotrader

Analyze the stock market using natural language screening and technical pattern detection. Identify trading opportunities by scanning the entire stock universe for specific chart patterns like head a…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add get-cotrader/cotrader-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list get-cotrader/cotrader-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get get-cotrader/cotrader-mcp scan_patterns

# Call a tool
npx -y @smithery/cli@latest tool call get-cotrader/cotrader-mcp scan_patterns '{}'
```

## Direct MCP Connection

Endpoint: `https://cotrader-mcp--get-cotrader.run.tools`

**Required config:**
- `api_key` (query) — Your CoTrader API key (get one at https://getcotrader.com/api-keys)

## Tools (5)

- `scan_patterns` — Scan the entire stock universe for a specific chart pattern type. Returns top matches ranked by pattern strength.
- `screen_stocks` — Screen stocks using natural language queries. Examples: 'RSI under 30 with price above 200 EMA', 'volume 3x above 20-da…
- `get_stock_bars` — Get historical daily price bars (OHLCV) for a stock symbol.
- `detect_patterns` — Detect chart patterns for a specific stock symbol. Returns support/resistance levels, trendlines, channels, double/trip…
- `search_symbols` — Search for stock ticker symbols by name or symbol prefix.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get get-cotrader/cotrader-mcp <tool-name>
```
