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

# EdgeFinder for Claude Desktop: MCP Server Setup Guide

> Connect EdgeFinder to Claude Desktop via MCP to get AI sports analysis, Polymarket odds, schedules, and portfolio tracking directly inside Claude conversations.

EdgeFinder's MCP server exposes seven analysis tools that Claude Desktop can call directly during a conversation. Once connected, you can ask Claude for betting picks, check your Polymarket positions, or pull live odds without switching to another app or terminal.

## Prerequisites

* [Claude Desktop](https://claude.ai/download) installed
* Node.js 18 or later
* An active EdgeFinder subscription ([Starter, Pro, or Ultimate](https://edgefinder.io))

## Setup

<Steps>
  <Step title="Get your API key">
    Log in to [chat.edgefinder.io/settings/integrations](https://chat.edgefinder.io/settings/integrations) and copy your API key. It starts with `ef_live_`.
  </Step>

  <Step title="Open Claude Desktop developer settings">
    In Claude Desktop, open **Settings** → **Developer** → **MCP Servers**.
  </Step>

  <Step title="Add the EdgeFinder MCP config">
    Paste the following block into your MCP server configuration, replacing the placeholder with your actual API key:

    ```json theme={null}
    {
      "mcpServers": {
        "edgefinder": {
          "command": "npx",
          "args": ["-y", "@edgefinder/cli", "mcp"],
          "env": {
            "EDGEFINDER_API_KEY": "ef_live_..."
          }
        }
      }
    }
    ```

    If you already have other MCP servers configured, add the `"edgefinder"` entry inside your existing `"mcpServers"` object.
  </Step>

  <Step title="Restart Claude Desktop">
    Quit and reopen Claude Desktop. The EdgeFinder tools will appear in Claude's tool list once the MCP server connects.
  </Step>
</Steps>

<Warning>
  Keep your API key out of conversations. Store it only in the `env` block of your MCP config — never paste it into the Claude chat window.
</Warning>

## Available tools

Once connected, Claude has access to these EdgeFinder tools:

| Tool               | Description                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------- |
| `ask`              | AI-powered analysis — betting picks, player stats, and matchup breakdowns for NFL, NBA, and MLB |
| `get_schedule`     | Game schedules and scores                                                                       |
| `get_standings`    | League standings                                                                                |
| `get_odds`         | Live Polymarket betting odds                                                                    |
| `get_portfolio`    | Polymarket portfolio data — summary, open positions, and trade history                          |
| `analyze_position` | AI analysis of a specific portfolio position with hold/exit advice                              |
| `get_status`       | Your EdgeFinder account and subscription status                                                 |

## Example prompts

Start a conversation in Claude Desktop and try these:

<CodeGroup>
  ```text NFL analysis theme={null}
  Who should I bet on tonight?
  ```

  ```text NBA analysis theme={null}
  Give me a Lakers vs Celtics prediction for tonight.
  ```

  ```text Portfolio theme={null}
  Show me my open Polymarket positions.
  ```

  ```text Position analysis theme={null}
  Analyze my Lakers position — should I hold or exit?
  ```
</CodeGroup>

Claude will call the appropriate EdgeFinder tool and return results inline in the conversation.

<Note>
  The MCP server launches on demand via `npx` — you don't need to install `@edgefinder/cli` globally. Node.js 18+ must be available on your system PATH for `npx` to work correctly.
</Note>
