propline-mcp 0.50.1 → 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 +3 -1
- package/dist/http.js +54 -1
- package/dist/http.js.map +1 -1
- package/dist/index.js +54 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,6 +43,8 @@ The model uses these tools transparently:
|
|
|
43
43
|
| `propline_get_book_accuracy` | Sportsbook accuracy report — how well each book prices props, vs the market (free) |
|
|
44
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
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) |
|
|
46
48
|
| `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
|
|
47
49
|
| `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
|
|
48
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. |
|
|
@@ -60,7 +62,7 @@ The model uses these tools transparently:
|
|
|
60
62
|
|
|
61
63
|
## Hosted endpoint (no install)
|
|
62
64
|
|
|
63
|
-
The same
|
|
65
|
+
The same 36 tools are served over **Streamable HTTP** at
|
|
64
66
|
|
|
65
67
|
```
|
|
66
68
|
https://mcp.prop-line.com/mcp
|
package/dist/http.js
CHANGED
|
@@ -261,6 +261,18 @@ var PropLineClient = class {
|
|
|
261
261
|
limit: opts.limit
|
|
262
262
|
});
|
|
263
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
|
+
}
|
|
264
276
|
getFutures(sportKey) {
|
|
265
277
|
return this.request(`/v1/sports/${sportKey}/futures`);
|
|
266
278
|
}
|
|
@@ -367,7 +379,7 @@ var PropLineClient = class {
|
|
|
367
379
|
};
|
|
368
380
|
|
|
369
381
|
// src/server.ts
|
|
370
|
-
var VERSION = "0.
|
|
382
|
+
var VERSION = "0.51.0";
|
|
371
383
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
372
384
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
373
385
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -962,6 +974,47 @@ var tools = [
|
|
|
962
974
|
limit: args.limit
|
|
963
975
|
})
|
|
964
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
|
+
},
|
|
965
1018
|
{
|
|
966
1019
|
name: "propline_get_event_stats",
|
|
967
1020
|
title: "Get event stats",
|