propline-mcp 0.49.2 → 0.50.1
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 +2 -0
- package/dist/http.js +68 -7
- package/dist/http.js.map +1 -1
- package/dist/index.js +68 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,8 @@ 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) |
|
|
44
46
|
| `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
|
|
45
47
|
| `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
|
|
46
48
|
| `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
|
@@ -247,6 +247,20 @@ 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
|
+
}
|
|
250
264
|
getFutures(sportKey) {
|
|
251
265
|
return this.request(`/v1/sports/${sportKey}/futures`);
|
|
252
266
|
}
|
|
@@ -353,7 +367,7 @@ var PropLineClient = class {
|
|
|
353
367
|
};
|
|
354
368
|
|
|
355
369
|
// src/server.ts
|
|
356
|
-
var VERSION = "0.
|
|
370
|
+
var VERSION = "0.50.1";
|
|
357
371
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
358
372
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
359
373
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -457,7 +471,7 @@ var tools = [
|
|
|
457
471
|
{
|
|
458
472
|
name: "propline_get_odds",
|
|
459
473
|
title: "Get odds",
|
|
460
|
-
description: "Get live odds. If event_id is supplied, returns full per-event props for that event; otherwise returns bulk game-line odds for the whole sport. Pass markets as a comma-separated list (e.g. 'h2h,spreads,totals' or 'player_points,player_rebounds'). Response includes a bookmakers[] array across every book that carries the requested markets (currently up to
|
|
474
|
+
description: "Get live odds. If event_id is supplied, returns full per-event props for that event; otherwise returns bulk game-line odds for the whole sport. Pass markets as a comma-separated list (e.g. 'h2h,spreads,totals' or 'player_points,player_rebounds'). Response includes a bookmakers[] array across every book that carries the requested markets (currently up to 37 \u2014 sportsbooks: Bovada, DraftKings, FanDuel, Pinnacle, BetMGM, BetRivers, Unibet, Betway, Hard Rock Bet, Fanatics, BetUS, BetOnline.ag, LowVig.ag, 1xBet, TAB AU, ReBet, Fliff, Courtside, Sportzino, Heritage Sports, Jazz Sports, YouWager, Thrillzz; DFS: PrizePicks, Underdog, Sleeper, Dabble, ParlayPlay, DraftKings Pick6; exchanges and prediction markets: Kalshi, Polymarket, Polymarket US, Matchbook, Smarkets, Novig, ProphetX, SX Bet \u2014 coverage varies by sport). Every market carries line_type: 'main', 'alternate' or 'milestone' (an N+ rung such as '3+ Strikeouts'); filter to line_type == 'main' for each book's primary line. Kalshi and Polymarket US rows also set line_type on each outcome. Underdog Fantasy outcomes carry a payout_multiplier on EVERY outcome (1.0 = standard pick, e.g. 1.5 = boost, 0.75 = discount; null means the book is not Underdog) \u2014 keep only payout_multiplier == 1.0 when comparing DFS lines to sportsbook consensus, since filtering on non-null would drop every Underdog line. Each market carries suspended_at: null while on the board, set when that book pulled the market pregame (late scratch, dropped market type) \u2014 its outcomes are then the last quoted legs, not a live price. Treat a suspended market as unbettable and, if several books show it for one player, as a probable scratch. Each BOOKMAKER carries pregame_only: true when the event is live and that book does not price it in play, so its prices are the last pregame quote and will never move again this game. suspended_at cannot show this \u2014 a book with no in-play feed is never polled once the game starts, so nothing goes missing to flag. Exclude pregame_only books when reasoning about a live game; they are still returned because on DFS books that frozen line is what the bet settles against. Each market also carries team: the canonical event team name when the market is scoped to ONE team (a TEAM total), and null for the game total. Both ride the totals key, so NEVER compare totals on (market key, point) alone \u2014 a team total at 0.5 is not a game total at 0.5. Filter team == null for the game total; team matches home_team/away_team exactly. Always null outside totals. Each outcome carries side ('home'/'away'/'draw', null for Over/Under/Yes/No/player legs) so you can pair legs without matching team spellings. Each event carries is_outright (true for a tournament listing with no away side) and, on tennis, tournament + tour (ATP/WTA/Challenger/ITF/\u2026).",
|
|
461
475
|
inputSchema: {
|
|
462
476
|
type: "object",
|
|
463
477
|
properties: {
|
|
@@ -472,7 +486,7 @@ var tools = [
|
|
|
472
486
|
},
|
|
473
487
|
bookmakers: {
|
|
474
488
|
type: "string",
|
|
475
|
-
description: "Comma-separated subset of book keys (bovada, draftkings, fanduel, pinnacle, betmgm, betrivers, unibet, betus, betonlineag, lowvig,
|
|
489
|
+
description: "Comma-separated subset of book keys (bovada, draftkings, fanduel, pinnacle, betmgm, betrivers, unibet, betway, hardrock, fanatics, betus, betonlineag, lowvig, onexbet, tab_au, rebet, fliff, courtside, sportzino, heritage, jazzsports, youwager, thrillzz, prizepicks, underdog, sleeper, dabble, parlayplay, pick6, kalshi, polymarket, polymarket_us, matchbook, smarkets, novig, prophetx, sxbet). Default returns all available."
|
|
476
490
|
},
|
|
477
491
|
period: {
|
|
478
492
|
type: "string",
|
|
@@ -516,7 +530,7 @@ var tools = [
|
|
|
516
530
|
markets: { type: "string" },
|
|
517
531
|
bookmakers: {
|
|
518
532
|
type: "string",
|
|
519
|
-
description: "Comma-separated subset of book keys (
|
|
533
|
+
description: "Comma-separated subset of book keys (bovada, draftkings, fanduel, pinnacle, betmgm, betrivers, unibet, betway, hardrock, fanatics, betus, betonlineag, lowvig, onexbet, tab_au, rebet, fliff, courtside, sportzino, heritage, jazzsports, youwager, thrillzz, prizepicks, underdog, sleeper, dabble, parlayplay, pick6, kalshi, polymarket, polymarket_us, matchbook, smarkets, novig, prophetx, sxbet). Default returns all available."
|
|
520
534
|
},
|
|
521
535
|
from: {
|
|
522
536
|
type: "string",
|
|
@@ -579,7 +593,7 @@ var tools = [
|
|
|
579
593
|
markets: { type: "string" },
|
|
580
594
|
bookmakers: {
|
|
581
595
|
type: "string",
|
|
582
|
-
description: "Comma-separated subset of book keys (
|
|
596
|
+
description: "Comma-separated subset of book keys (bovada, draftkings, fanduel, pinnacle, betmgm, betrivers, unibet, betway, hardrock, fanatics, betus, betonlineag, lowvig, onexbet, tab_au, rebet, fliff, courtside, sportzino, heritage, jazzsports, youwager, thrillzz, prizepicks, underdog, sleeper, dabble, parlayplay, pick6, kalshi, polymarket, polymarket_us, matchbook, smarkets, novig, prophetx, sxbet). Default returns all available."
|
|
583
597
|
},
|
|
584
598
|
period: {
|
|
585
599
|
type: "string",
|
|
@@ -901,6 +915,53 @@ var tools = [
|
|
|
901
915
|
sport: args.sport
|
|
902
916
|
})
|
|
903
917
|
},
|
|
918
|
+
{
|
|
919
|
+
name: "propline_get_golf_rounds",
|
|
920
|
+
title: "Get a golfer's round history",
|
|
921
|
+
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'.",
|
|
922
|
+
inputSchema: {
|
|
923
|
+
type: "object",
|
|
924
|
+
properties: {
|
|
925
|
+
player: {
|
|
926
|
+
type: "string",
|
|
927
|
+
description: "Player name (case/accents ignored) or ESPN athlete id."
|
|
928
|
+
},
|
|
929
|
+
tour: {
|
|
930
|
+
type: "string",
|
|
931
|
+
description: "Optional comma-separated tours: pga, dp_world, liv, lpga, korn_ferry, champions. Omit for all."
|
|
932
|
+
},
|
|
933
|
+
limit: { type: "number", description: "Rounds to return, 1-200. Defaults to 20." },
|
|
934
|
+
since: { type: "string", description: "Optional YYYY-MM-DD lower bound." }
|
|
935
|
+
},
|
|
936
|
+
required: ["player"],
|
|
937
|
+
additionalProperties: false
|
|
938
|
+
},
|
|
939
|
+
handler: (args) => client().getGolfRounds(args.player, {
|
|
940
|
+
tour: args.tour,
|
|
941
|
+
limit: args.limit,
|
|
942
|
+
since: args.since
|
|
943
|
+
})
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
name: "propline_get_golf_tournaments",
|
|
947
|
+
title: "List golf tournaments with round data",
|
|
948
|
+
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.",
|
|
949
|
+
inputSchema: {
|
|
950
|
+
type: "object",
|
|
951
|
+
properties: {
|
|
952
|
+
tour: { type: "string", description: "Optional comma-separated tours." },
|
|
953
|
+
season: { type: "number", description: "Optional season year." },
|
|
954
|
+
limit: { type: "number", description: "1-500. Defaults to 50." }
|
|
955
|
+
},
|
|
956
|
+
required: [],
|
|
957
|
+
additionalProperties: false
|
|
958
|
+
},
|
|
959
|
+
handler: (args) => client().getGolfTournaments({
|
|
960
|
+
tour: args.tour,
|
|
961
|
+
season: args.season,
|
|
962
|
+
limit: args.limit
|
|
963
|
+
})
|
|
964
|
+
},
|
|
904
965
|
{
|
|
905
966
|
name: "propline_get_event_stats",
|
|
906
967
|
title: "Get event stats",
|
|
@@ -970,7 +1031,7 @@ var tools = [
|
|
|
970
1031
|
{
|
|
971
1032
|
name: "propline_get_event_movement",
|
|
972
1033
|
title: "Get line movement & steam",
|
|
973
|
-
description: "Line movement + steam detection from the snapshot tick history. Per (book, market, outcome): opening line, latest line, signed implied-probability shift, point shift, direction. The steam[] array flags outcomes that multiple books moved the same direction \u2014 the classic sharp-money signal, computed across all
|
|
1034
|
+
description: "Line movement + steam detection from the snapshot tick history. Per (book, market, outcome): opening line, latest line, signed implied-probability shift, point shift, direction. The steam[] array flags outcomes that multiple books moved the same direction \u2014 the classic sharp-money signal, computed across all 37 books PropLine polls. When a book moves the line itself, that outcome's prob_shift is null and direction is 'line_moved' (excluded from the steam signal). No pull-only odds API can produce this. Each outcome carries outcome_id (the id /odds and webhooks use); steam rows carry team (team totals) plus open_point/latest_point. Hobby+ full; free tier redacted.",
|
|
974
1035
|
inputSchema: {
|
|
975
1036
|
type: "object",
|
|
976
1037
|
properties: {
|
|
@@ -982,7 +1043,7 @@ var tools = [
|
|
|
982
1043
|
},
|
|
983
1044
|
bookmakers: {
|
|
984
1045
|
type: "string",
|
|
985
|
-
description: "Comma-separated subset of book keys (
|
|
1046
|
+
description: "Comma-separated subset of book keys (bovada, draftkings, fanduel, pinnacle, betmgm, betrivers, unibet, betway, hardrock, fanatics, betus, betonlineag, lowvig, onexbet, tab_au, rebet, fliff, courtside, sportzino, heritage, jazzsports, youwager, thrillzz, prizepicks, underdog, sleeper, dabble, parlayplay, pick6, kalshi, polymarket, polymarket_us, matchbook, smarkets, novig, prophetx, sxbet). Default returns all available."
|
|
986
1047
|
},
|
|
987
1048
|
period: {
|
|
988
1049
|
type: "string",
|