# KLinePic

> KLinePic is an open-source MCP server. Create annotated candlestick charts from broker or exchange fills for post-trade review. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://klinepic.com/guides/trade-review-chart-api/
- **Repository:** https://github.com/sher1096/klinepic-agent-api-examples
- **MCP Registry name:** io.github.sher1096/klinepic
- **Listing updated:** 2026-11-13

## About

Create annotated candlestick charts from broker or exchange fills for post-trade review.

## Install

### Claude Code (Terminal)

```sh
claude mcp add klinepic --env KLINE_AGENT_API_KEY='<KLINE_AGENT_API_KEY>' -- docker run -i --rm -e KLINE_AGENT_API_KEY ghcr.io/sher1096/klinepic-mcp-server:0.1.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "klinepic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KLINE_AGENT_API_KEY",
        "ghcr.io/sher1096/klinepic-mcp-server:0.1.0"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "<KLINE_AGENT_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "klinepic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KLINE_AGENT_API_KEY",
        "ghcr.io/sher1096/klinepic-mcp-server:0.1.0"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "<KLINE_AGENT_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "klinepic": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KLINE_AGENT_API_KEY",
        "ghcr.io/sher1096/klinepic-mcp-server:0.1.0"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "<KLINE_AGENT_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "klinepic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KLINE_AGENT_API_KEY",
        "ghcr.io/sher1096/klinepic-mcp-server:0.1.0"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "<KLINE_AGENT_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "klinepic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KLINE_AGENT_API_KEY",
        "ghcr.io/sher1096/klinepic-mcp-server:0.1.0"
      ],
      "env": {
        "KLINE_AGENT_API_KEY": "<KLINE_AGENT_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is KLinePic free?

Yes. KLinePic is open source, so you can use and self-host it for free.

### How do I add KLinePic to Claude Code?

Run this command in your terminal: claude mcp add klinepic --env KLINE_AGENT_API_KEY='<KLINE_AGENT_API_KEY>' -- docker run -i --rm -e KLINE_AGENT_API_KEY ghcr.io/sher1096/klinepic-mcp-server:0.1.0

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

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