> ## Documentation Index
> Fetch the complete documentation index at: https://rekko.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code Setup

> Add Rekko MCP tools to Claude Code.

<Info>
  **Source code:** [github.com/Rekko-AI/rekko-mcp](https://github.com/Rekko-AI/rekko-mcp)
</Info>

## Option 1: CLI

```bash theme={null}
claude mcp add rekko -- uvx rekko-mcp
```

## Option 2: Manual configuration

Add to your project's `.mcp.json` or `~/.claude/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "rekko": {
      "command": "uvx",
      "args": ["rekko-mcp"],
      "env": {
        "REKKO_API_KEY": "rk_free_your_key_here"
      }
    }
  }
}
```

## Verify

Start Claude Code and ask a natural language question:

```
What are the top prediction markets right now?
```

You should see Rekko tools (`mcp__rekko__list_markets`, etc.) being called automatically.

## Example prompts

* "What are the top prediction markets right now?"
* "Analyze the Fed rate decision market on Kalshi"
* "Find arbitrage opportunities above 3% spread"
* "Screen the top 50 Kalshi markets and analyze anything actionable"
* "Show my shadow portfolio performance"

## Environment variables

| Variable        | Required | Description                                       |
| --------------- | -------- | ------------------------------------------------- |
| `REKKO_API_KEY` | Yes      | Your Rekko API key                                |
| `REKKO_API_URL` | No       | Custom base URL (default: `https://api.rekko.ai`) |
