propline-mcp 0.54.1 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -48,8 +48,10 @@ The model uses these tools transparently:
48
48
  | `propline_get_golf_tournaments` | Golf tournaments with round data, by tour and season (free) |
49
49
  | `propline_get_injuries` | Current injury report for NFL, NCAAF, NBA, WNBA, NHL, MLB (free) |
50
50
  | `propline_get_injury_history` | Injury status changes over the last 1-90 days (free) |
51
- | `propline_get_referees` | Referee card stats — cards per match, last and next match (EPL, free) |
52
- | `propline_get_referee_matches` | One referee's matches with each team's cards (EPL, free) |
51
+ | `propline_get_referees` | Referee card stats — cards per match, last and next match (32 soccer leagues, free) |
52
+ | `propline_get_referee_matches` | One referee's matches with each team's cards (32 soccer leagues, free) |
53
+ | `propline_get_market_coverage` | Every market each book prices on upcoming games, and on how many (free) |
54
+ | `propline_get_history_coverage` | When each book's odds history starts, per sport (free) |
53
55
  | `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
54
56
  | `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
55
57
  | `propline_get_event_movement` | Line movement + steam detection (sharp-money signal across all books) from the tick history (Hobby+). `since` (e.g. `-6h`) measures from a moment; `include_book_ids` adds book ids. |
package/dist/http.js CHANGED
@@ -161,6 +161,21 @@ var PropLineClient = class {
161
161
  }
162
162
  );
163
163
  }
164
+ /** Order-book depth history for the exchanges. Hobby+. */
165
+ getDepthHistory(sportKey, eventId, opts = {}) {
166
+ return this.request(
167
+ `/v1/sports/${sportKey}/events/${eventId}/odds/depth/history`,
168
+ {
169
+ markets: opts.markets,
170
+ bookmakers: opts.bookmakers,
171
+ from: opts.from,
172
+ to: opts.to,
173
+ interval: opts.interval,
174
+ period: opts.period,
175
+ limit: opts.limit === void 0 ? void 0 : String(opts.limit)
176
+ }
177
+ );
178
+ }
164
179
  /**
165
180
  * Grade placed bets against their closing lines (CLV). Hobby+.
166
181
  * See the propline_grade_clv tool description for the semantics that
@@ -297,6 +312,16 @@ var PropLineClient = class {
297
312
  { since: opts.since, until: opts.until, limit: opts.limit }
298
313
  );
299
314
  }
315
+ getMarketCoverage(sportKey, opts = {}) {
316
+ return this.request(`/v1/coverage/markets`, {
317
+ sport: sportKey,
318
+ days: opts.days,
319
+ periods: opts.periods === void 0 ? void 0 : opts.periods ? "true" : "false"
320
+ });
321
+ }
322
+ getHistoryCoverage(sportKey) {
323
+ return this.request(`/v1/coverage/history`, { sport: sportKey });
324
+ }
300
325
  getFutures(sportKey) {
301
326
  return this.request(`/v1/sports/${sportKey}/futures`);
302
327
  }
@@ -403,7 +428,7 @@ var PropLineClient = class {
403
428
  };
404
429
 
405
430
  // src/server.ts
406
- var VERSION = "0.54.1";
431
+ var VERSION = "0.56.0";
407
432
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
408
433
  var apiKey = process.env.PROPLINE_API_KEY;
409
434
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -617,6 +642,40 @@ var tools = [
617
642
  }
618
643
  )
619
644
  },
645
+ {
646
+ name: "propline_get_depth_history",
647
+ title: "Get order-book depth history",
648
+ description: "Hobby+ endpoint. Order-book depth history for one event on the exchanges (kalshi, polymarket, polymarket_us, prophetx): every recorded change of an outcome's best price, takeable size (liquidity, dollars) and the levels beyond it (depth: [{price, size}], best first). Use it to backtest with the size that was really there. Recorded from 2026-11-10. Paged: when next_from is set, call again with from=next_from. Free tier returns redacted structure.",
649
+ inputSchema: {
650
+ type: "object",
651
+ properties: {
652
+ sport_key: { type: "string" },
653
+ event_id: { type: ["string", "number"] },
654
+ markets: { type: "string", description: "Comma-separated market keys (default h2h,spreads,totals)." },
655
+ bookmakers: { type: "string", description: "Comma-separated subset of kalshi, polymarket, polymarket_us, prophetx. Default all four." },
656
+ from: { type: "string", description: "ISO timestamp; states at or after. Pass next_from here to page." },
657
+ to: { type: "string", description: "ISO timestamp; states at or before." },
658
+ interval: { type: "string", enum: ["30s", "1m", "5m", "15m", "30m", "1h"], description: "Keep the last state per outcome per bucket." },
659
+ period: { type: "string", description: "Game-period filter; omitted = full game, 'all' = every period." },
660
+ limit: { type: "number", description: "States per page (default 5000, max 20000)." }
661
+ },
662
+ required: ["sport_key", "event_id"],
663
+ additionalProperties: false
664
+ },
665
+ handler: (args) => client().getDepthHistory(
666
+ args.sport_key,
667
+ args.event_id,
668
+ {
669
+ markets: args.markets,
670
+ bookmakers: args.bookmakers,
671
+ from: args.from,
672
+ to: args.to,
673
+ interval: args.interval,
674
+ period: args.period,
675
+ limit: args.limit
676
+ }
677
+ )
678
+ },
620
679
  {
621
680
  name: "propline_get_odds_closing",
622
681
  title: "Get opening & closing lines",
@@ -1143,11 +1202,11 @@ var tools = [
1143
1202
  {
1144
1203
  name: "propline_get_referees",
1145
1204
  title: "Get referee card stats",
1146
- description: "Free-tier endpoint. Card stats per referee: graded matches, yellow and red cards, cards per match, last match and next appointment. Premier League (soccer_epl) only today. Useful for: 'which EPL referee gives the most cards', 'who is refereeing Arsenal next' \u2014 check it before a cards prop.",
1205
+ description: "Free-tier endpoint. Card stats per referee: graded matches, yellow and red cards, cards per match, last match and next appointment. 32 soccer leagues (Premier League, La Liga, Serie A, Bundesliga, Ligue 1, MLS, Championship, Eredivisie, Liga MX, Brasileirao, UEFA cups, Libertadores, Sudamericana and others); other sports 404 with available_sports. Useful for: 'which EPL referee gives the most cards', 'who is refereeing Arsenal next' \u2014 check it before a cards prop.",
1147
1206
  inputSchema: {
1148
1207
  type: "object",
1149
1208
  properties: {
1150
- sport_key: { type: "string", description: "soccer_epl (the only sport supported today)." },
1209
+ sport_key: { type: "string", description: "A soccer league key, e.g. soccer_epl, soccer_la_liga, soccer_mls." },
1151
1210
  search: { type: "string", description: "Optional referee name (substring match)." },
1152
1211
  since: { type: "string", description: "Optional start date, YYYY-MM-DD." },
1153
1212
  until: { type: "string", description: "Optional end date, YYYY-MM-DD." }
@@ -1164,11 +1223,11 @@ var tools = [
1164
1223
  {
1165
1224
  name: "propline_get_referee_matches",
1166
1225
  title: "Get a referee's matches",
1167
- description: "Free-tier endpoint. One referee's summary plus their matches, newest first, with each team's yellow and red cards (null until graded) and upcoming appointments. Premier League (soccer_epl) only today. Get exact names from propline_get_referees.",
1226
+ description: "Free-tier endpoint. One referee's summary plus their matches, newest first, with each team's yellow and red cards (null until graded) and upcoming appointments. Same 32 soccer leagues as propline_get_referees. Get exact names from propline_get_referees.",
1168
1227
  inputSchema: {
1169
1228
  type: "object",
1170
1229
  properties: {
1171
- sport_key: { type: "string", description: "soccer_epl (the only sport supported today)." },
1230
+ sport_key: { type: "string", description: "A soccer league key, e.g. soccer_epl, soccer_la_liga, soccer_mls." },
1172
1231
  name: { type: "string", description: "Referee name, e.g. Michael Oliver." },
1173
1232
  since: { type: "string", description: "Optional start date, YYYY-MM-DD." },
1174
1233
  until: { type: "string", description: "Optional end date, YYYY-MM-DD." },
@@ -1183,6 +1242,39 @@ var tools = [
1183
1242
  limit: args.limit
1184
1243
  })
1185
1244
  },
1245
+ {
1246
+ name: "propline_get_market_coverage",
1247
+ title: "Get market coverage by book",
1248
+ description: "Free-tier endpoint. Every market each book is pricing on a sport's games in the next N days, and on how many of those games. Returns the game count and, per book, game_lines and props entries {market, period, events, markets, last_update}. Useful for: 'which books have NFL player props posted', 'does FanDuel price this market yet'. Books post props at different times, so a low events count means not posted on every game yet.",
1249
+ inputSchema: {
1250
+ type: "object",
1251
+ properties: {
1252
+ sport_key: { type: "string", description: "e.g. football_nfl, baseball_mlb." },
1253
+ days: { type: "number", description: "Games starting in the next N days, 1-7. Defaults to 3." },
1254
+ periods: { type: "boolean", description: "Include quarter / half / inning markets. Defaults to false." }
1255
+ },
1256
+ required: ["sport_key"],
1257
+ additionalProperties: false
1258
+ },
1259
+ handler: (args) => client().getMarketCoverage(args.sport_key, {
1260
+ days: args.days,
1261
+ periods: args.periods
1262
+ })
1263
+ },
1264
+ {
1265
+ name: "propline_get_history_coverage",
1266
+ title: "Get odds history coverage by book",
1267
+ description: "Free-tier endpoint. When each book's odds history starts for a sport: history_start, game_lines_start, props_start, latest_event, event count, and whether the book is retired. Useful for: 'how far back do we have Fanatics MLB props'.",
1268
+ inputSchema: {
1269
+ type: "object",
1270
+ properties: {
1271
+ sport_key: { type: "string", description: "e.g. baseball_mlb." }
1272
+ },
1273
+ required: ["sport_key"],
1274
+ additionalProperties: false
1275
+ },
1276
+ handler: (args) => client().getHistoryCoverage(args.sport_key)
1277
+ },
1186
1278
  {
1187
1279
  name: "propline_get_event_stats",
1188
1280
  title: "Get event stats",