propline-mcp 0.54.1 → 0.55.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
@@ -297,6 +297,16 @@ var PropLineClient = class {
297
297
  { since: opts.since, until: opts.until, limit: opts.limit }
298
298
  );
299
299
  }
300
+ getMarketCoverage(sportKey, opts = {}) {
301
+ return this.request(`/v1/coverage/markets`, {
302
+ sport: sportKey,
303
+ days: opts.days,
304
+ periods: opts.periods === void 0 ? void 0 : opts.periods ? "true" : "false"
305
+ });
306
+ }
307
+ getHistoryCoverage(sportKey) {
308
+ return this.request(`/v1/coverage/history`, { sport: sportKey });
309
+ }
300
310
  getFutures(sportKey) {
301
311
  return this.request(`/v1/sports/${sportKey}/futures`);
302
312
  }
@@ -403,7 +413,7 @@ var PropLineClient = class {
403
413
  };
404
414
 
405
415
  // src/server.ts
406
- var VERSION = "0.54.1";
416
+ var VERSION = "0.55.0";
407
417
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
408
418
  var apiKey = process.env.PROPLINE_API_KEY;
409
419
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -1143,11 +1153,11 @@ var tools = [
1143
1153
  {
1144
1154
  name: "propline_get_referees",
1145
1155
  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.",
1156
+ 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
1157
  inputSchema: {
1148
1158
  type: "object",
1149
1159
  properties: {
1150
- sport_key: { type: "string", description: "soccer_epl (the only sport supported today)." },
1160
+ sport_key: { type: "string", description: "A soccer league key, e.g. soccer_epl, soccer_la_liga, soccer_mls." },
1151
1161
  search: { type: "string", description: "Optional referee name (substring match)." },
1152
1162
  since: { type: "string", description: "Optional start date, YYYY-MM-DD." },
1153
1163
  until: { type: "string", description: "Optional end date, YYYY-MM-DD." }
@@ -1164,11 +1174,11 @@ var tools = [
1164
1174
  {
1165
1175
  name: "propline_get_referee_matches",
1166
1176
  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.",
1177
+ 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
1178
  inputSchema: {
1169
1179
  type: "object",
1170
1180
  properties: {
1171
- sport_key: { type: "string", description: "soccer_epl (the only sport supported today)." },
1181
+ sport_key: { type: "string", description: "A soccer league key, e.g. soccer_epl, soccer_la_liga, soccer_mls." },
1172
1182
  name: { type: "string", description: "Referee name, e.g. Michael Oliver." },
1173
1183
  since: { type: "string", description: "Optional start date, YYYY-MM-DD." },
1174
1184
  until: { type: "string", description: "Optional end date, YYYY-MM-DD." },
@@ -1183,6 +1193,39 @@ var tools = [
1183
1193
  limit: args.limit
1184
1194
  })
1185
1195
  },
1196
+ {
1197
+ name: "propline_get_market_coverage",
1198
+ title: "Get market coverage by book",
1199
+ 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.",
1200
+ inputSchema: {
1201
+ type: "object",
1202
+ properties: {
1203
+ sport_key: { type: "string", description: "e.g. football_nfl, baseball_mlb." },
1204
+ days: { type: "number", description: "Games starting in the next N days, 1-7. Defaults to 3." },
1205
+ periods: { type: "boolean", description: "Include quarter / half / inning markets. Defaults to false." }
1206
+ },
1207
+ required: ["sport_key"],
1208
+ additionalProperties: false
1209
+ },
1210
+ handler: (args) => client().getMarketCoverage(args.sport_key, {
1211
+ days: args.days,
1212
+ periods: args.periods
1213
+ })
1214
+ },
1215
+ {
1216
+ name: "propline_get_history_coverage",
1217
+ title: "Get odds history coverage by book",
1218
+ 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'.",
1219
+ inputSchema: {
1220
+ type: "object",
1221
+ properties: {
1222
+ sport_key: { type: "string", description: "e.g. baseball_mlb." }
1223
+ },
1224
+ required: ["sport_key"],
1225
+ additionalProperties: false
1226
+ },
1227
+ handler: (args) => client().getHistoryCoverage(args.sport_key)
1228
+ },
1186
1229
  {
1187
1230
  name: "propline_get_event_stats",
1188
1231
  title: "Get event stats",