propline-mcp 0.49.3 → 0.51.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
@@ -41,6 +41,10 @@ The model uses these tools transparently:
41
41
  | `propline_get_resolution_summary` | Graded-prop volume + per-sport/market breakdown (free) |
42
42
  | `propline_get_event_ids` | Event id crosswalk — ESPN, MLB gamePk and each book's own event id (free) |
43
43
  | `propline_get_book_accuracy` | Sportsbook accuracy report — how well each book prices props, vs the market (free) |
44
+ | `propline_get_golf_rounds` | A golfer's completed rounds by tour (PGA, DP World, LIV, LPGA, Korn Ferry, Champions) with L5/L10/L20 (free) |
45
+ | `propline_get_golf_tournaments` | Golf tournaments with round data, by tour and season (free) |
46
+ | `propline_get_injuries` | Current injury report for NFL, NCAAF, NBA, WNBA, NHL, MLB (free) |
47
+ | `propline_get_injury_history` | Injury status changes over the last 1-90 days (free) |
44
48
  | `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
45
49
  | `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
46
50
  | `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. |
@@ -58,7 +62,7 @@ The model uses these tools transparently:
58
62
 
59
63
  ## Hosted endpoint (no install)
60
64
 
61
- The same 32 tools are served over **Streamable HTTP** at
65
+ The same 36 tools are served over **Streamable HTTP** at
62
66
 
63
67
  ```
64
68
  https://mcp.prop-line.com/mcp
package/dist/http.js CHANGED
@@ -247,6 +247,32 @@ var PropLineClient = class {
247
247
  sport: opts.sport
248
248
  });
249
249
  }
250
+ getGolfRounds(player, opts = {}) {
251
+ return this.request(`/v1/golf/players/${encodeURIComponent(player)}/rounds`, {
252
+ tour: opts.tour,
253
+ limit: opts.limit,
254
+ since: opts.since
255
+ });
256
+ }
257
+ getGolfTournaments(opts = {}) {
258
+ return this.request(`/v1/golf/tournaments`, {
259
+ tour: opts.tour,
260
+ season: opts.season,
261
+ limit: opts.limit
262
+ });
263
+ }
264
+ getInjuries(sportKey, opts = {}) {
265
+ return this.request(`/v1/sports/${encodeURIComponent(sportKey)}/injuries`, {
266
+ team: opts.team,
267
+ status: opts.status
268
+ });
269
+ }
270
+ getInjuryHistory(sportKey, opts = {}) {
271
+ return this.request(`/v1/sports/${encodeURIComponent(sportKey)}/injuries/history`, {
272
+ days: opts.days,
273
+ player: opts.player
274
+ });
275
+ }
250
276
  getFutures(sportKey) {
251
277
  return this.request(`/v1/sports/${sportKey}/futures`);
252
278
  }
@@ -353,7 +379,7 @@ var PropLineClient = class {
353
379
  };
354
380
 
355
381
  // src/server.ts
356
- var VERSION = "0.49.3";
382
+ var VERSION = "0.51.0";
357
383
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
358
384
  var apiKey = process.env.PROPLINE_API_KEY;
359
385
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -901,6 +927,94 @@ var tools = [
901
927
  sport: args.sport
902
928
  })
903
929
  },
930
+ {
931
+ name: "propline_get_golf_rounds",
932
+ title: "Get a golfer's round history",
933
+ description: "Free-tier endpoint. A golfer's completed rounds, newest first, with strokes, score to par and hole counts (eagles, birdies, pars, bogeys, doubles), plus last-5/10/20 averages. Every player in the field, back to 2024; a round in progress is never included. Filter by tour (pga, dp_world, liv, lpga, korn_ferry, champions). Hole counts are null on DP World, LPGA and some LIV rounds. Useful for: 'Scheffler's last 10 rounds', 'how has Bryson scored on LIV lately'.",
934
+ inputSchema: {
935
+ type: "object",
936
+ properties: {
937
+ player: {
938
+ type: "string",
939
+ description: "Player name (case/accents ignored) or ESPN athlete id."
940
+ },
941
+ tour: {
942
+ type: "string",
943
+ description: "Optional comma-separated tours: pga, dp_world, liv, lpga, korn_ferry, champions. Omit for all."
944
+ },
945
+ limit: { type: "number", description: "Rounds to return, 1-200. Defaults to 20." },
946
+ since: { type: "string", description: "Optional YYYY-MM-DD lower bound." }
947
+ },
948
+ required: ["player"],
949
+ additionalProperties: false
950
+ },
951
+ handler: (args) => client().getGolfRounds(args.player, {
952
+ tour: args.tour,
953
+ limit: args.limit,
954
+ since: args.since
955
+ })
956
+ },
957
+ {
958
+ name: "propline_get_golf_tournaments",
959
+ title: "List golf tournaments with round data",
960
+ description: "Free-tier endpoint. Golf tournaments we hold round data for, newest first, with player and round counts. Filter by tour (pga, dp_world, liv, lpga, korn_ferry, champions) and season.",
961
+ inputSchema: {
962
+ type: "object",
963
+ properties: {
964
+ tour: { type: "string", description: "Optional comma-separated tours." },
965
+ season: { type: "number", description: "Optional season year." },
966
+ limit: { type: "number", description: "1-500. Defaults to 50." }
967
+ },
968
+ required: [],
969
+ additionalProperties: false
970
+ },
971
+ handler: (args) => client().getGolfTournaments({
972
+ tour: args.tour,
973
+ season: args.season,
974
+ limit: args.limit
975
+ })
976
+ },
977
+ {
978
+ name: "propline_get_injuries",
979
+ title: "Get a sport's injury report",
980
+ description: "Free-tier endpoint. The current injury report for NFL, NCAAF, NBA, WNBA, NHL or MLB: each listed player with status (Out, Questionable, Day-To-Day, 15-Day-IL...), status_code, injury, expected return and status_since (when the current status began). Source: ESPN, every 10 minutes. Useful for: 'who is out for the Chiefs', 'which NBA players are questionable tonight' \u2014 check it before trusting a player prop.",
981
+ inputSchema: {
982
+ type: "object",
983
+ properties: {
984
+ sport_key: { type: "string", description: "football_nfl, football_ncaaf, basketball_nba, basketball_wnba, hockey_nhl or baseball_mlb." },
985
+ team: { type: "string", description: "Optional team name or abbreviation, e.g. KC." },
986
+ status: {
987
+ type: "string",
988
+ description: "Optional comma-separated status codes: out, doubtful, questionable, probable, day_to_day, injured_list, suspended, other."
989
+ }
990
+ },
991
+ required: ["sport_key"],
992
+ additionalProperties: false
993
+ },
994
+ handler: (args) => client().getInjuries(args.sport_key, {
995
+ team: args.team,
996
+ status: args.status
997
+ })
998
+ },
999
+ {
1000
+ name: "propline_get_injury_history",
1001
+ title: "Get injury status changes",
1002
+ description: "Free-tier endpoint. Every injury status change in a sport over the last 1-90 days, newest first: old_status -> new_status with the time we saw it (new_status null = came off the report). History starts 2026-10-18. Pair with odds history to see how lines moved on a ruling.",
1003
+ inputSchema: {
1004
+ type: "object",
1005
+ properties: {
1006
+ sport_key: { type: "string", description: "football_nfl, football_ncaaf, basketball_nba, basketball_wnba, hockey_nhl or baseball_mlb." },
1007
+ days: { type: "number", description: "1-90. Defaults to 7." },
1008
+ player: { type: "string", description: "Optional player name (substring match)." }
1009
+ },
1010
+ required: ["sport_key"],
1011
+ additionalProperties: false
1012
+ },
1013
+ handler: (args) => client().getInjuryHistory(args.sport_key, {
1014
+ days: args.days,
1015
+ player: args.player
1016
+ })
1017
+ },
904
1018
  {
905
1019
  name: "propline_get_event_stats",
906
1020
  title: "Get event stats",