# DFS Lineup Optimizer

> DFS Lineup Optimizer is a free MCP server for sports data. Free remote MCP server that builds DFS lineups for MLB, NFL, NHL and NBA in AI assistants. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Website:** https://nhl-lineup-optimizer.kindoflost.com/mcp-server
- **MCP Registry name:** com.kindoflost.nhl-lineup-optimizer/dfs-lineup-optimizer
- **Categories:** sports data
- **Listing updated:** 2026-11-18

## About

The README-style page describes a remote server you add to an AI client by URL, after which the assistant can hand it a player pool and rules and get back optimized lineups. The optimizer works with salary cap, roster slots, stacks, exposure limits, locks, exclusions and goalie-versus-skater constraints, and returns an upload-ready CSV for DraftKings, FanDuel or Yahoo.

A typical session starts with one of the bundled sample slates, then moves to your own salary file. A check tool validates the request before any solve runs, and a separate result tool collects solves that take longer than a single call. Projections default to the file's season AvgPointsPerGame unless you supply your own, which the page says is a convenience default rather than a forecast.

It suits fantasy players who already use Claude or another MCP client and want constraint-respecting lineups without leaving the chat. Classic contests only, up to 20 lineups per call and up to 1200 players per slate; Showdown is not supported.

## Features

- **Constraint-aware optimizer:** Solves lineups against the salary cap, site roster slots and your own stacking and exposure rules.
- **Upload-ready CSV output:** Each result includes lineups, salary, projected points, exposure and a CSV formatted for upload.
- **Request validation tool:** Checks rule names, ranges, file parsing and player names before a solve runs.
- **Bundled sample slates:** Ships with one sample slate per sport to try the server before using your own data.
- **Custom projections:** Accepts your own projections or per-player values in place of the season average default.
- **No signup connection:** Connects over streamable HTTP to Claude, Claude Code or any client that supports remote MCP servers, with no OAuth.

## Good for

- Generate a set of NHL lineups with line stacks and a goalie-skater rule inside a chat session
- Check a DraftKings or FanDuel salary file for missing players or unfillable roster slots before building
- Limit how often any one player appears across a batch of MLB or NBA lineups
- Export a batch of optimized lineups as a CSV ready for upload

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http dfs-lineup-optimizer https://nhl-lineup-optimizer.kindoflost.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://nhl-lineup-optimizer.kindoflost.com/mcp
```

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

```json
{
  "mcpServers": {
    "dfs-lineup-optimizer": {
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "dfs-lineup-optimizer": {
      "type": "http",
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "dfs-lineup-optimizer": {
      "serverUrl": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "dfs-lineup-optimizer": {
      "type": "http",
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}
```

## Tools

- `list_lineup_examples`: Lists the bundled sample slates, one per sport.
- `get_lineup_example`: Returns a ready-to-run request for a sport plus the rules available for it.
- `check_request`: Validates a request without solving it.
- `build_lineups`: Builds lineups from a salary CSV or player list with projections and rules.
- `get_lineup_result`: Collects a solve that did not finish inside the first call.

## FAQ

### Is it free to use?

The registry entry and the page both describe it as free, with no signup required.

### Which sports and contest types are supported?

MLB, NFL, NHL and NBA classic contests. Showdown contests are not supported.

### How many lineups can one call build?

Up to 20 lineups per call, and up to 1200 players per slate.

### What projections does it use by default?

Unless you provide your own, it uses the salary file's AvgPointsPerGame, which the page describes as a season average rather than a forecast.

### How long does a build take?

MLB and NFL are the slowest, and a run can take up to a minute on the free server. A busy server may ask you to retry later.

### Is DFS Lineup Optimizer free?

Yes. DFS Lineup Optimizer is free to use.

### How do I add DFS Lineup Optimizer to Claude Code?

Run this command in your terminal: claude mcp add --transport http dfs-lineup-optimizer https://nhl-lineup-optimizer.kindoflost.com/mcp

### What are the best alternatives to DFS Lineup Optimizer?

The closest alternatives to DFS Lineup Optimizer are Twenty Clubs, SkorMerkez Live Football Scores, Cast the Water, RacketPlus Badminton and SSTracker free youth training.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Twenty Clubs](https://ai-powered.com/mcp/twenty-clubs): Twenty Clubs is a free MCP server for sports data.
- [SkorMerkez Live Football Scores](https://ai-powered.com/mcp/skormerkez-live-football-scores): SkorMerkez Live Football Scores is a free MCP server for sports data.
- [Cast the Water](https://ai-powered.com/mcp/cast-the-water): Cast the Water is a free MCP server for maps and travel.
- [RacketPlus Badminton](https://ai-powered.com/mcp/racketplus-badminton): RacketPlus Badminton is a freemium MCP server for sports data.
- [SSTracker free youth training](https://ai-powered.com/mcp/sstracker-free-youth-training): SSTracker free youth training is a freemium MCP server for sports data.
- [ArenaCalc Race Pace & Endurance Split Calculator](https://ai-powered.com/mcp/arenacalc-race-pace-and-endurance-split-calculator): ArenaCalc Race Pace & Endurance Split Calculator is a free MCP server for sports data.
- [Monday Miracle: Fantasy Football](https://ai-powered.com/mcp/monday-miracle-fantasy-football): Monday Miracle: Fantasy Football is a freemium MCP server for sports data.
- [Marathon Scout](https://ai-powered.com/mcp/marathon-scout): Marathon Scout is a free MCP server for sports data.

---
Source: https://ai-powered.com/mcp/dfs-lineup-optimizer
