propline-mcp 0.43.0 → 0.45.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/dist/index.js CHANGED
@@ -237,6 +237,15 @@ var PropLineClient = class {
237
237
  days: opts.days
238
238
  });
239
239
  }
240
+ getEventIds(sportKey) {
241
+ return this.request(`/v1/sports/${sportKey}/ids`);
242
+ }
243
+ getBookAccuracy(opts = {}) {
244
+ return this.request(`/v1/books/accuracy`, {
245
+ days: opts.days,
246
+ sport: opts.sport
247
+ });
248
+ }
240
249
  getFutures(sportKey) {
241
250
  return this.request(`/v1/sports/${sportKey}/futures`);
242
251
  }
@@ -342,7 +351,7 @@ var PropLineClient = class {
342
351
  };
343
352
 
344
353
  // src/server.ts
345
- var VERSION = "0.43.0";
354
+ var VERSION = "0.45.0";
346
355
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
347
356
  var apiKey = process.env.PROPLINE_API_KEY;
348
357
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -849,6 +858,44 @@ var tools = [
849
858
  },
850
859
  handler: (args) => client().getResolutionSummary({ days: args.days })
851
860
  },
861
+ {
862
+ name: "propline_get_event_ids",
863
+ title: "Get event id crosswalk",
864
+ description: "Free-tier endpoint. Id crosswalk for one sport: one object per event from 3 days ago to 30 days ahead with PropLine's event id, commence_time, teams (+ team keys/ids), espn_event_id, mlb_game_pk, merged_from_event_ids, and each sportsbook's own event id + link under books. Useful for: 'join PropLine events onto ESPN / the MLB Stats API / a sportsbook's own feed', 'what is DraftKings' id for this game'.",
865
+ inputSchema: {
866
+ type: "object",
867
+ properties: {
868
+ sport_key: { type: "string", description: "Sport key, e.g. baseball_mlb." }
869
+ },
870
+ required: ["sport_key"],
871
+ additionalProperties: false
872
+ },
873
+ handler: (args) => client().getEventIds(args.sport_key)
874
+ },
875
+ {
876
+ name: "propline_get_book_accuracy",
877
+ title: "Get sportsbook accuracy report",
878
+ description: "Free-tier endpoint. How well each sportsbook prices player props: each book's closing prop prices are de-vigged and scored (Brier) against the real result and against the other books on the same line. Per book: props scored, brier, consensus_brier, skill_bp (> 0 = closer to the result than the market average) with a 95% interval, verdict (beats_market / trails_market / in_line) and margin_pct (average overround), plus by_sport and by_market breakdowns. Useful for: 'which book prices props most accurately', 'which book has the lowest margin'. A pricing report, never a profit claim or betting edge.",
879
+ inputSchema: {
880
+ type: "object",
881
+ properties: {
882
+ days: {
883
+ type: "number",
884
+ description: "Look-back window, 7-120. Defaults to 30."
885
+ },
886
+ sport: {
887
+ type: "string",
888
+ description: "Optional sport key, e.g. baseball_mlb."
889
+ }
890
+ },
891
+ required: [],
892
+ additionalProperties: false
893
+ },
894
+ handler: (args) => client().getBookAccuracy({
895
+ days: args.days,
896
+ sport: args.sport
897
+ })
898
+ },
852
899
  {
853
900
  name: "propline_get_event_stats",
854
901
  title: "Get event stats",