propline-mcp 0.49.3 → 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 +62 -1
- package/dist/http.js.map +1 -1
- package/dist/index.js +62 -1
- 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;
|
|
@@ -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",
|