# finlab-ai

Connects an agent to trading strategies, stock evidence, data catalogs, and backtesting references. Useful for quantitative research.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 417
- Author: koreal6803
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/koreal6803/finlab-ai
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/finlab-ai

## What it does

finlab-ai connects Claude Code to a hosted MCP server over streamable HTTP. The service is read-only and exposes `list_strategies`, `get_strategy`, `get_stock_evidence`, `get_data_catalog`, `get_finlab_docs`, and `how_to_start`. The `get_strategy` tool can return Python code for a strategy.

Its documentation covers 900+ data columns across 80+ tables, the `sim()` API, resampling, metrics, and 60+ complete strategy examples. The hosted MCP server needs no local package installation; add its endpoint to the client instead. The catalog lists support for Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.

Because the server is read-only, it cannot modify data or place trades. Claude Code can connect with one command.

## Requirements
- Remote server: `https://mcp.finlab.finance/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http finlab-ai https://mcp.finlab.finance/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add finlab-ai --url https://mcp.finlab.finance/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "finlab-ai": {
            "url": "https://mcp.finlab.finance/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "finlab-ai": {
            "type": "http",
            "url": "https://mcp.finlab.finance/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http finlab-ai https://mcp.finlab.finance/mcp
```

## When to use it
- find available trading strategies
- retrieve Python code for a strategy
- inspect evidence for a stock
- search the data column catalog
- open quantitative trading documentation

## Example prompts
- List the available trading strategies with `list_strategies`.
- Use `get_strategy` to return Python code for a selected strategy and explain its logic.
- Use `get_stock_evidence` to inspect evidence for a selected stock.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

From the same set: [koreal6803/finlab-ai](https://affpapa.org/en/nevibecode/by/koreal6803/finlab-ai.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
