# cotrader [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/get-cotrader/cotrader-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cotrader

## Description
Screen 11,000+ stocks using natural language and detect chart patterns via MCP.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "cotrader": {
    "command": "npx",
    "args": ["-y","cotrader"]
  }
}
```

## Documentation & README

# CoTrader MCP Server

AI-powered stock screening and chart pattern detection for [Claude Desktop](https://claude.ai/download), [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Cursor](https://cursor.com), and other MCP-compatible AI assistants.

Screen 11,000+ US stocks using natural language and detect technical chart patterns — all from your AI assistant.

## Tools

| Tool | Description |
|------|-------------|
| `screen_stocks` | Screen stocks using natural language (e.g., "RSI under 30 with price above 200 EMA") |
| `detect_patterns` | Detect chart patterns for a specific stock (support/resistance, trendlines, channels, etc.) |
| `scan_patterns` | Scan the entire universe for a specific pattern type |
| `search_symbols` | Search for ticker symbols by name or prefix |
| `get_stock_bars` | Get historical daily OHLCV price data |

## Quick Start

### 1. Get an API Key

Sign up at [getcotrader.com](https://getcotrader.com) and create an API key at [getcotrader.com/api-keys](https://getcotrader.com/api-keys).

### 2. Connect Your AI Assistant

**Claude Desktop**

Open Settings > Integrations > Add and enter:

```
https://api.getcotrader.com/mcp?api_key=YOUR_API_KEY
```

**Claude Code / Cursor / VS Code**

Add to your MCP settings:

```json
{
  "mcpServers": {
    "cotrader": {
      "url": "https://api.getcotrader.com/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

### 3. Start Asking

- "Screen for stocks with RSI under 30 and price above their 200-day EMA"
- "Detect chart patterns for AAPL"
- "Scan for stocks forming double bottoms"
- "Show me NVDA's price history for the last 90 days"

## Supported Screening Criteria

- **Price**: close, open, high, low, price change (1d/5d/1m/3m/6m/1y)
- **Volume**: volume, average volume, relative volume
- **Moving Averages**: SMA/EMA (10, 20, 50, 100, 200 day)
- **Momentum**: RSI (14), MACD, Stochastic
- **Volatility**: Bollinger Bands, ATR
- **Fundamentals**: market cap, P/E ratio, sector, industry

## Supported Chart Patterns

- Horizontal support/resistance levels
- Rising and descending trendlines
- Price channels
- Double and triple bottoms
- Pennants/triangles
- Head and shoulders

## Documentation

Full documentation: [getcotrader.com/docs/mcp-server](https://getcotrader.com/docs/mcp-server)

## License

MIT

