Koskamo

DFS Lineup Optimizer MCP

An MCP server that allows AI assistants to build optimized Daily Fantasy Sports lineups for MLB, NFL, NHL, and NBA. It uses mixed-integer and CP-SAT programming to ensure lineups respect salary caps, roster slots, and custom rules like stacks and exposure limits, returning upload-ready CSVs.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

DFS Lineup Optimizer MCP logo, by Kind of LostVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Kind of Lost
MCP endpoint (Streamable HTTP)
https://nhl-lineup-optimizer.kindoflost.com/mcp
Vendor documentation

What its tools do

5 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

5 of 5 have a description · 5 of 5 declare behavior hints · 0 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to nhl-lineup-optimizer.kindoflost.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Build NHL lineups from a sample slate
  • Validate salary file and player existence
  • Build 10 lineups with specific stacking rules
  • Generate upload-ready CSV for DFS sites

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
kindoflost-dfs-lineup-optimizer 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
5 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
2 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Builds DFS (daily fantasy) lineups for MLB, NFL, NHL and NBA with a real optimizer (mixed-integer / CP-SAT programming): the best lineups under the site's salary cap, roster slots and your rules (stacks, exposure caps, locks, exclusions, goalie-vs-skater and so on), returned with an upload-ready CSV. Same engine as the web tools at mlb-/nfl-/nhl-/nba-lineup-optimizer.kindoflost.com. Typical flow: get_lineup_example (sport) -> build_lineups with example, or with the user's own DraftKings/FanDuel/Yahoo salary CSV text (players) -> if status is 'running', call get_lineup_result with the job_id. check_request validates a request without solving. Lineups maximize PROJECTED points; if the user gives no projections the site's season-average AvgPointsPerGame is used, which is not a forecast for tonight, so say so and offer to apply their own projections. Limits: 20 lineups per call, 1200 players, Classic contests only (not Showdown/Captain). A full site file is often 500+ rows (~60 KB), which is slow to send: unless the user gave projections for them, drop the rows the optimizer would never pick (zero or very low AvgPointsPerGame, e.g. NHL skaters under 7 and goalies under 5), keep the header and columns exactly as exported, and tell the user you trimmed. Live lookups (line combos, batting orders, Vegas lines) are OFF unless live_lookups is true. Send calls one at a time: this free server solves one problem at a time. For entertainment; no result is guaranteed. Free, no sign-up.

Tools

5 advertised

list_lineup_examples — List sample slates
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the bundled sample slates, one per sport (real past DraftKings Classic slates). Each can be built as-is with build_lineups(example=...).

list_lineup_examples input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
list_lineup_examples annotations
{
  "title": "List sample slates",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
get_lineup_example — Get an example lineup request
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return a ready-to-run build_lineups request for a sport using its bundled sample slate, a short preview of the slate, the player-list format, and the rules available for that sport.

get_lineup_example input schema
{
  "type": "object",
  "required": [
    "sport"
  ],
  "properties": {
    "sport": {
      "enum": [
        "nhl",
        "nfl",
        "nba",
        "mlb"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_lineup_example annotations
{
  "title": "Get an example lineup request",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
check_request — Check a lineup request
Advertised by the server during the last successful anonymous check.
Advertised read-only

Validate a build_lineups request WITHOUT solving: arguments, rule names and ranges, that the players parse, that locks/exclusions/projection names match real players, and that every roster slot has enough eligible players. Takes the same arguments as build_lineups. Fast.

check_request input schema
{
  "type": "object",
  "required": [
    "sport"
  ],
  "properties": {
    "site": {
      "enum": [
        "dk",
        "fd",
        "yahoo"
      ],
      "type": "string",
      "description": "Contest site (default dk). 'players' as a list works for dk only; fd and yahoo need the site's raw CSV text."
    },
    "rules": {
      "type": "object",
      "properties": {
        "preset": {
          "enum": [
            "gpp",
            "cash"
          ],
          "type": "string",
          "description": "[NHL/NFL] Rule preset (default gpp)."
        },
        "stacks": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2
          },
          "description": "[NHL] Stack classes as [[n_units, players_each], ...], e.g. [[2,3]] = two 3-man line stacks."
        },
        "stack_pp": {
          "type": "boolean",
          "description": "[NHL] Power-play units count as stack units (default false; much slower)."
        },
        "min_teams": {
          "type": "integer",
          "maximum": 9,
          "minimum": 0,
          "description": "[NFL/NBA] Min distinct teams."
        },
        "util_no_d": {
          "type": "boolean",
          "description": "[NHL] DraftKings: UTIL may not be a defenseman."
        },
        "bring_back": {
          "type": "integer",
          "maximum": 2,
          "minimum": 0,
          "description": "[NFL] Players from the QB's opponent."
        },
        "cool_top_k": {
          "type": "integer",
          "maximum": 3,
          "minimum": 0,
          "description": "[NHL/NFL/NBA/MLB] Rest the K most-used players in each lineup (0 = off)."
        },
        "d_pp1_only": {
          "type": "boolean",
          "description": "[NHL] Defensemen only from the first power-play unit."
        },
        "strategies": {
          "type": "array",
          "items": {
            "type": "object"
          },
          "description": "[NHL] Pattern mix [{name, share}]; names: lineD_lineG_D, lineD_lineD_G, lineD_lineD_SAMEGAME_G, line_lineG_DD_different_games."
        },
        "overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL/NFL/NBA/MLB] Max players a new lineup may share with ANY earlier lineup."
        },
        "qb_stack_rb": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "[NFL] RBs from the QB's team."
        },
        "qb_stack_te": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "[NFL] TEs from the QB's team."
        },
        "qb_stack_wr": {
          "type": "integer",
          "maximum": 3,
          "minimum": 0,
          "description": "[NFL] WRs from the QB's team."
        },
        "stack_lines": {
          "type": "boolean",
          "description": "[NHL] Forward lines / D pairings count as stack units (default true)."
        },
        "qb_stack_any": {
          "type": "integer",
          "maximum": 4,
          "minimum": 0,
          "description": "[NFL] Pass-catchers (WR/TE) from the QB's team in the lineup."
        },
        "enforce_stack": {
          "type": "boolean",
          "description": "[NHL/NFL/MLB] Require the stacks."
        },
        "primary_stack": {
          "type": "integer",
          "maximum": 6,
          "minimum": 0,
          "description": "[MLB] Hitters from the primary stack team (default 4)."
        },
        "starters_only": {
          "type": "boolean",
          "description": "[MLB] Only probable starting pitchers when the file marks them (default true)."
        },
        "pitcher_rotate": {
          "type": "boolean",
          "description": "[MLB] Rotate pitchers across lineups (default true)."
        },
        "skill_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max shared skill players with any earlier lineup."
        },
        "user_max_games": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Max distinct games (0 = off)."
        },
        "user_max_teams": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Max distinct teams (0 = off)."
        },
        "user_min_games": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Min distinct games (0 = off)."
        },
        "user_min_teams": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[MLB] Min distinct teams."
        },
        "cooldown_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NHL/NFL/NBA/MLB] Players used in the last K lineups sit out the next lineup."
        },
        "max_rb_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max RBs from one team."
        },
        "max_wr_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max WRs from one team."
        },
        "secondary_stack": {
          "type": "integer",
          "maximum": 6,
          "minimum": 0,
          "description": "[MLB] Hitters from a second stack team (default 0 = none)."
        },
        "build_around_qbs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[NFL] QB names/ids; the batch is split evenly between them, each locked in."
        },
        "forward_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max shared forwards with any earlier lineup."
        },
        "min_skater_teams": {
          "type": "integer",
          "maximum": 9,
          "minimum": 0,
          "description": "[NHL] Min distinct skater teams."
        },
        "passing_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max shared QB + pass-catchers with any earlier lineup."
        },
        "qb_rotate_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NFL] Do not reuse a QB within the last K lineups."
        },
        "unit_overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max stack units shared with any earlier lineup (default 1)."
        },
        "dst_vs_qb_exclude": {
          "type": "boolean",
          "description": "[NFL] No defense facing your QB."
        },
        "goalie_overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max goalie-side overlap with any earlier lineup."
        },
        "min_unique_players": {
          "type": "integer",
          "maximum": 3,
          "minimum": 1,
          "description": "[NHL/NFL/NBA/MLB] Each lineup needs at least this many players not in any earlier lineup."
        },
        "min_unique_skaters": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NHL] Skaters in each lineup that no earlier lineup used."
        },
        "consecutive_primary": {
          "type": "boolean",
          "description": "[MLB] Primary stack must be consecutive in the batting order (needs orders)."
        },
        "build_around_goalies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[NHL] Goalie names/ids; the batch is split evenly between them, each locked in."
        },
        "max_players_per_team": {
          "type": "integer",
          "maximum": 9,
          "minimum": 1,
          "description": "[NHL/NFL/NBA] Max players from one team."
        },
        "no_skaters_vs_goalie": {
          "type": "boolean",
          "description": "[NHL] No skater facing your goalie (the goalie-vs-skater rule)."
        },
        "pitcher_oppo_exclude": {
          "type": "boolean",
          "description": "[MLB] No hitters facing your pitcher (default true)."
        },
        "stack_teams_distinct": {
          "type": "boolean",
          "description": "[NHL] Each stack from a different team."
        },
        "build_around_pitchers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[MLB] Pitcher names/ids; the batch is split evenly between them, each locked in."
        },
        "consecutive_secondary": {
          "type": "boolean",
          "description": "[MLB] Same for the secondary stack."
        },
        "declared_batters_only": {
          "type": "boolean",
          "description": "[MLB] Only hitters with a confirmed batting order (needs orders; default false)."
        },
        "declared_skaters_only": {
          "type": "boolean",
          "description": "[NHL] Only skaters on a line or power play."
        },
        "max_forwards_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max forwards from one team."
        },
        "stack_cooldown_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NHL/NFL/MLB] Teams stacked in the last K lineups are not stacked again."
        },
        "goalie_needs_own_stack": {
          "type": "boolean",
          "description": "[NHL] Your goalie's team must supply a stack."
        },
        "max_stack_exposure_pct": {
          "type": "integer",
          "maximum": 100,
          "minimum": 1,
          "description": "[NHL/NFL/MLB] Max % of lineups any one team may be the stack team (100 = no cap)."
        },
        "confirmed_starters_only": {
          "type": "boolean",
          "description": "[NHL] Only goalies marked as the starter (Line=1 / Starting)."
        },
        "dst_vs_attacker_exclude": {
          "type": "boolean",
          "description": "[NFL] No skill player facing your defense."
        },
        "user_max_players_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[MLB] Max players from one team."
        }
      },
      "description": "Sport-specific rules, using the web app's option names. Each is tagged with the sports it applies to; a rule for another sport is an error. get_lineup_example(sport) lists the ones for that sport.",
      "additionalProperties": false
    },
    "sport": {
      "enum": [
        "nhl",
        "nfl",
        "nba",
        "mlb"
      ],
      "type": "string"
    },
    "example": {
      "type": "string",
      "description": "Use a bundled sample slate instead of players (names from list_lineup_examples, or just the sport). Live lookups are skipped."
    },
    "players": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "position",
              "team",
              "salary"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Site player id (the number in 'Name (id)'). Default: name."
              },
              "pp": {
                "type": "integer",
                "description": "NHL only: power-play unit 1-2."
              },
              "line": {
                "type": "integer",
                "description": "NHL only: forward line 1-4 / D pair 1-3; on a goalie, 1 = confirmed starter."
              },
              "name": {
                "type": "string"
              },
              "team": {
                "type": "string",
                "description": "Team abbreviation."
              },
              "salary": {
                "type": "integer"
              },
              "status": {
                "type": "string",
                "description": "Injury status code as the site shows it (Q, O, IL...). 'O'/'OUT'/'IL' players are excluded."
              },
              "opponent": {
                "type": "string",
                "description": "Opponent team abbreviation. Needed for rules that look at the opponent (goalie-vs-skater, bring-back, pitcher-vs-hitters, game counts)."
              },
              "position": {
                "type": "string",
                "description": "Site position, e.g. 'C', 'LW', 'SP', '1B/OF', 'PG/SG', 'RB', 'DST'."
              },
              "projection": {
                "type": "number",
                "description": "Your projected fantasy points. A player list has no site AvgPointsPerGame to fall back on, so every player needs this unless the top-level `projections` map covers them."
              }
            }
          }
        }
      ],
      "description": "EITHER the raw salary CSV text exactly as exported from the contest site (DraftKings 'Download players' / FanDuel players list / Yahoo export; a Classic contest), OR a list of player objects (site dk only)."
    },
    "n_lineups": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "Lineups to build (default 10, max 20: diversity cuts make each extra lineup slower and the free server is small)."
    },
    "min_salary": {
      "type": "integer",
      "minimum": 0,
      "description": "Lineups must spend at least this much."
    },
    "projections": {
      "type": "object",
      "description": "Your own projections as {player name or id: points}; overrides the file's AvgPointsPerGame for those players. Names are matched case-insensitively.",
      "additionalProperties": {
        "type": "number"
      }
    },
    "live_lookups": {
      "type": "boolean",
      "description": "NHL line combos / starting goalies and MLB batting orders / probable pitchers from the public sites the web page uses (default false: skipped; sample slates always skip). Can fail or be slow; a failure is reported, the solve still runs."
    },
    "lock_players": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Players (name or id) that must be in every lineup."
    },
    "exclude_players": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Players (name or id) to leave out."
    },
    "max_exposure_pct": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Any one player may appear in at most this % of the lineups (100 = no cap)."
    },
    "exclude_out_players": {
      "type": "boolean",
      "description": "Drop players the file marks OUT/IL (default true, as the web page does)."
    }
  }
}
check_request annotations
{
  "title": "Check a lineup request",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
build_lineups — Build DFS lineups
Advertised by the server during the last successful anonymous check.
Advertised read-only

Build up to 20 lineups for a Classic contest. Pass `example` (a sample slate) or `players` (the site's salary CSV text, or a list of player objects for DraftKings). Returns each lineup with its players, slots, salary and projected points, player exposure, notes about what defaults were applied, and `upload_csv`: a DraftKings/FanDuel/Yahoo upload-ready CSV string. Takes 2-60 s; if the result has status 'running', call get_lineup_result with the job_id. Lineups are optimal for the PROJECTIONS used, not predictions of results.

build_lineups input schema
{
  "type": "object",
  "required": [
    "sport"
  ],
  "properties": {
    "site": {
      "enum": [
        "dk",
        "fd",
        "yahoo"
      ],
      "type": "string",
      "description": "Contest site (default dk). 'players' as a list works for dk only; fd and yahoo need the site's raw CSV text."
    },
    "rules": {
      "type": "object",
      "properties": {
        "preset": {
          "enum": [
            "gpp",
            "cash"
          ],
          "type": "string",
          "description": "[NHL/NFL] Rule preset (default gpp)."
        },
        "stacks": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2
          },
          "description": "[NHL] Stack classes as [[n_units, players_each], ...], e.g. [[2,3]] = two 3-man line stacks."
        },
        "stack_pp": {
          "type": "boolean",
          "description": "[NHL] Power-play units count as stack units (default false; much slower)."
        },
        "min_teams": {
          "type": "integer",
          "maximum": 9,
          "minimum": 0,
          "description": "[NFL/NBA] Min distinct teams."
        },
        "util_no_d": {
          "type": "boolean",
          "description": "[NHL] DraftKings: UTIL may not be a defenseman."
        },
        "bring_back": {
          "type": "integer",
          "maximum": 2,
          "minimum": 0,
          "description": "[NFL] Players from the QB's opponent."
        },
        "cool_top_k": {
          "type": "integer",
          "maximum": 3,
          "minimum": 0,
          "description": "[NHL/NFL/NBA/MLB] Rest the K most-used players in each lineup (0 = off)."
        },
        "d_pp1_only": {
          "type": "boolean",
          "description": "[NHL] Defensemen only from the first power-play unit."
        },
        "strategies": {
          "type": "array",
          "items": {
            "type": "object"
          },
          "description": "[NHL] Pattern mix [{name, share}]; names: lineD_lineG_D, lineD_lineD_G, lineD_lineD_SAMEGAME_G, line_lineG_DD_different_games."
        },
        "overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL/NFL/NBA/MLB] Max players a new lineup may share with ANY earlier lineup."
        },
        "qb_stack_rb": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "[NFL] RBs from the QB's team."
        },
        "qb_stack_te": {
          "type": "integer",
          "maximum": 1,
          "minimum": 0,
          "description": "[NFL] TEs from the QB's team."
        },
        "qb_stack_wr": {
          "type": "integer",
          "maximum": 3,
          "minimum": 0,
          "description": "[NFL] WRs from the QB's team."
        },
        "stack_lines": {
          "type": "boolean",
          "description": "[NHL] Forward lines / D pairings count as stack units (default true)."
        },
        "qb_stack_any": {
          "type": "integer",
          "maximum": 4,
          "minimum": 0,
          "description": "[NFL] Pass-catchers (WR/TE) from the QB's team in the lineup."
        },
        "enforce_stack": {
          "type": "boolean",
          "description": "[NHL/NFL/MLB] Require the stacks."
        },
        "primary_stack": {
          "type": "integer",
          "maximum": 6,
          "minimum": 0,
          "description": "[MLB] Hitters from the primary stack team (default 4)."
        },
        "starters_only": {
          "type": "boolean",
          "description": "[MLB] Only probable starting pitchers when the file marks them (default true)."
        },
        "pitcher_rotate": {
          "type": "boolean",
          "description": "[MLB] Rotate pitchers across lineups (default true)."
        },
        "skill_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max shared skill players with any earlier lineup."
        },
        "user_max_games": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Max distinct games (0 = off)."
        },
        "user_max_teams": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Max distinct teams (0 = off)."
        },
        "user_min_games": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NBA] Min distinct games (0 = off)."
        },
        "user_min_teams": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[MLB] Min distinct teams."
        },
        "cooldown_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NHL/NFL/NBA/MLB] Players used in the last K lineups sit out the next lineup."
        },
        "max_rb_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max RBs from one team."
        },
        "max_wr_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max WRs from one team."
        },
        "secondary_stack": {
          "type": "integer",
          "maximum": 6,
          "minimum": 0,
          "description": "[MLB] Hitters from a second stack team (default 0 = none)."
        },
        "build_around_qbs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[NFL] QB names/ids; the batch is split evenly between them, each locked in."
        },
        "forward_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max shared forwards with any earlier lineup."
        },
        "min_skater_teams": {
          "type": "integer",
          "maximum": 9,
          "minimum": 0,
          "description": "[NHL] Min distinct skater teams."
        },
        "passing_core_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NFL] Max shared QB + pass-catchers with any earlier lineup."
        },
        "qb_rotate_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NFL] Do not reuse a QB within the last K lineups."
        },
        "unit_overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max stack units shared with any earlier lineup (default 1)."
        },
        "dst_vs_qb_exclude": {
          "type": "boolean",
          "description": "[NFL] No defense facing your QB."
        },
        "goalie_overlap_cap": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max goalie-side overlap with any earlier lineup."
        },
        "min_unique_players": {
          "type": "integer",
          "maximum": 3,
          "minimum": 1,
          "description": "[NHL/NFL/NBA/MLB] Each lineup needs at least this many players not in any earlier lineup."
        },
        "min_unique_skaters": {
          "type": "integer",
          "maximum": 8,
          "minimum": 0,
          "description": "[NHL] Skaters in each lineup that no earlier lineup used."
        },
        "consecutive_primary": {
          "type": "boolean",
          "description": "[MLB] Primary stack must be consecutive in the batting order (needs orders)."
        },
        "build_around_goalies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[NHL] Goalie names/ids; the batch is split evenly between them, each locked in."
        },
        "max_players_per_team": {
          "type": "integer",
          "maximum": 9,
          "minimum": 1,
          "description": "[NHL/NFL/NBA] Max players from one team."
        },
        "no_skaters_vs_goalie": {
          "type": "boolean",
          "description": "[NHL] No skater facing your goalie (the goalie-vs-skater rule)."
        },
        "pitcher_oppo_exclude": {
          "type": "boolean",
          "description": "[MLB] No hitters facing your pitcher (default true)."
        },
        "stack_teams_distinct": {
          "type": "boolean",
          "description": "[NHL] Each stack from a different team."
        },
        "build_around_pitchers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "[MLB] Pitcher names/ids; the batch is split evenly between them, each locked in."
        },
        "consecutive_secondary": {
          "type": "boolean",
          "description": "[MLB] Same for the secondary stack."
        },
        "declared_batters_only": {
          "type": "boolean",
          "description": "[MLB] Only hitters with a confirmed batting order (needs orders; default false)."
        },
        "declared_skaters_only": {
          "type": "boolean",
          "description": "[NHL] Only skaters on a line or power play."
        },
        "max_forwards_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[NHL] Max forwards from one team."
        },
        "stack_cooldown_window": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0,
          "description": "[NHL/NFL/MLB] Teams stacked in the last K lineups are not stacked again."
        },
        "goalie_needs_own_stack": {
          "type": "boolean",
          "description": "[NHL] Your goalie's team must supply a stack."
        },
        "max_stack_exposure_pct": {
          "type": "integer",
          "maximum": 100,
          "minimum": 1,
          "description": "[NHL/NFL/MLB] Max % of lineups any one team may be the stack team (100 = no cap)."
        },
        "confirmed_starters_only": {
          "type": "boolean",
          "description": "[NHL] Only goalies marked as the starter (Line=1 / Starting)."
        },
        "dst_vs_attacker_exclude": {
          "type": "boolean",
          "description": "[NFL] No skill player facing your defense."
        },
        "user_max_players_per_team": {
          "type": [
            "integer",
            "null"
          ],
          "description": "[MLB] Max players from one team."
        }
      },
      "description": "Sport-specific rules, using the web app's option names. Each is tagged with the sports it applies to; a rule for another sport is an error. get_lineup_example(sport) lists the ones for that sport.",
      "additionalProperties": false
    },
    "sport": {
      "enum": [
        "nhl",
        "nfl",
        "nba",
        "mlb"
      ],
      "type": "string"
    },
    "example": {
      "type": "string",
      "description": "Use a bundled sample slate instead of players (names from list_lineup_examples, or just the sport). Live lookups are skipped."
    },
    "players": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "position",
              "team",
              "salary"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Site player id (the number in 'Name (id)'). Default: name."
              },
              "pp": {
                "type": "integer",
                "description": "NHL only: power-play unit 1-2."
              },
              "line": {
                "type": "integer",
                "description": "NHL only: forward line 1-4 / D pair 1-3; on a goalie, 1 = confirmed starter."
              },
              "name": {
                "type": "string"
              },
              "team": {
                "type": "string",
                "description": "Team abbreviation."
              },
              "salary": {
                "type": "integer"
              },
              "status": {
                "type": "string",
                "description": "Injury status code as the site shows it (Q, O, IL...). 'O'/'OUT'/'IL' players are excluded."
              },
              "opponent": {
                "type": "string",
                "description": "Opponent team abbreviation. Needed for rules that look at the opponent (goalie-vs-skater, bring-back, pitcher-vs-hitters, game counts)."
              },
              "position": {
                "type": "string",
                "description": "Site position, e.g. 'C', 'LW', 'SP', '1B/OF', 'PG/SG', 'RB', 'DST'."
              },
              "projection": {
                "type": "number",
                "description": "Your projected fantasy points. A player list has no site AvgPointsPerGame to fall back on, so every player needs this unless the top-level `projections` map covers them."
              }
            }
          }
        }
      ],
      "description": "EITHER the raw salary CSV text exactly as exported from the contest site (DraftKings 'Download players' / FanDuel players list / Yahoo export; a Classic contest), OR a list of player objects (site dk only)."
    },
    "n_lineups": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "Lineups to build (default 10, max 20: diversity cuts make each extra lineup slower and the free server is small)."
    },
    "min_salary": {
      "type": "integer",
      "minimum": 0,
      "description": "Lineups must spend at least this much."
    },
    "projections": {
      "type": "object",
      "description": "Your own projections as {player name or id: points}; overrides the file's AvgPointsPerGame for those players. Names are matched case-insensitively.",
      "additionalProperties": {
        "type": "number"
      }
    },
    "live_lookups": {
      "type": "boolean",
      "description": "NHL line combos / starting goalies and MLB batting orders / probable pitchers from the public sites the web page uses (default false: skipped; sample slates always skip). Can fail or be slow; a failure is reported, the solve still runs."
    },
    "lock_players": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Players (name or id) that must be in every lineup."
    },
    "wait_seconds": {
      "type": "integer",
      "maximum": 45,
      "minimum": 0,
      "description": "How long to wait inside this call (default 25)."
    },
    "exclude_players": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Players (name or id) to leave out."
    },
    "max_exposure_pct": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Any one player may appear in at most this % of the lineups (100 = no cap)."
    },
    "exclude_out_players": {
      "type": "boolean",
      "description": "Drop players the file marks OUT/IL (default true, as the web page does)."
    }
  }
}
build_lineups annotations
{
  "title": "Build DFS lineups",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_lineup_result — Get a lineup result
Advertised by the server during the last successful anonymous check.
Advertised read-only

Fetch the result of a build_lineups job that returned status 'running'. Waits up to wait_seconds; call again while status is 'running'. Jobs expire 15 minutes after they finish.

get_lineup_result input schema
{
  "type": "object",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string"
    },
    "wait_seconds": {
      "type": "integer",
      "maximum": 45,
      "minimum": 0
    }
  },
  "additionalProperties": false
}
get_lineup_result annotations
{
  "title": "Get a lineup result",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

2 advertised

try_sample_slate — Try a sample slate

Advertised by the server during the last successful anonymous check.

Build lineups from a bundled past slate to see what the tool does.

sport
nhl, nfl, nba or mlb. (required)
build_lineups_from_my_csv — Build lineups from my DraftKings/FanDuel/Yahoo salary file

Advertised by the server during the last successful anonymous check.

Paste the salary CSV text from a Classic contest and your rules.

sport
nhl, nfl, nba or mlb. (required)
site
dk, fd or yahoo (default dk).
csv
The salary CSV text, exactly as exported. (required)
preferences
Rules in plain words: stacks, exposure, locks, exclusions, number of lineups.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (36 of 36 checks answered)

  1. 2026-11-18: 4 of 4 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 4 of 4 checks answered
  9. 2026-11-26: 4 of 4 checks answered
  10. 2026-11-27: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1031 ms
95th percentile latency
1154 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1168 ms · 5 tool(s), 2 prompt(s)
  • · probe · passed · 893 ms · metadata changed · 5 tool(s), 2 prompt(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http dfs-lineup-optimizer-mcp https://nhl-lineup-optimizer.kindoflost.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add dfs-lineup-optimizer-mcp --url https://nhl-lineup-optimizer.kindoflost.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable dfs-lineup-optimizer-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "dfs-lineup-optimizer-mcp": {
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "dfs-lineup-optimizer-mcp": {
      "type": "streamableHttp",
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start dfs-lineup-optimizer-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "dfs-lineup-optimizer-mcp": {
      "type": "http",
      "url": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http dfs-lineup-optimizer-mcp https://nhl-lineup-optimizer.kindoflost.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://nhl-lineup-optimizer.kindoflost.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "dfs-lineup-optimizer-mcp": {
      "serverUrl": "https://nhl-lineup-optimizer.kindoflost.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like DFS Lineup Optimizer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run DFS Lineup Optimizer MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing