propline-mcp 0.44.1 → 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/README.md +2 -1
- package/dist/http.js +18 -1
- package/dist/http.js.map +1 -1
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,7 @@ The model uses these tools transparently:
|
|
|
39
39
|
| `propline_get_mlb_grand_salami` | Synthetic daily MLB Grand Salami — total runs + each book's implied line (free) |
|
|
40
40
|
| `propline_get_nhl_daily_goals_total` | Synthetic daily NHL goals total — hockey's Grand Salami (free) |
|
|
41
41
|
| `propline_get_resolution_summary` | Graded-prop volume + per-sport/market breakdown (free) |
|
|
42
|
+
| `propline_get_event_ids` | Event id crosswalk — ESPN, MLB gamePk and each book's own event id (free) |
|
|
42
43
|
| `propline_get_book_accuracy` | Sportsbook accuracy report — how well each book prices props, vs the market (free) |
|
|
43
44
|
| `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
|
|
44
45
|
| `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
|
|
@@ -57,7 +58,7 @@ The model uses these tools transparently:
|
|
|
57
58
|
|
|
58
59
|
## Hosted endpoint (no install)
|
|
59
60
|
|
|
60
|
-
The same
|
|
61
|
+
The same 32 tools are served over **Streamable HTTP** at
|
|
61
62
|
|
|
62
63
|
```
|
|
63
64
|
https://mcp.prop-line.com/mcp
|
package/dist/http.js
CHANGED
|
@@ -238,6 +238,9 @@ var PropLineClient = class {
|
|
|
238
238
|
days: opts.days
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
|
+
getEventIds(sportKey) {
|
|
242
|
+
return this.request(`/v1/sports/${sportKey}/ids`);
|
|
243
|
+
}
|
|
241
244
|
getBookAccuracy(opts = {}) {
|
|
242
245
|
return this.request(`/v1/books/accuracy`, {
|
|
243
246
|
days: opts.days,
|
|
@@ -349,7 +352,7 @@ var PropLineClient = class {
|
|
|
349
352
|
};
|
|
350
353
|
|
|
351
354
|
// src/server.ts
|
|
352
|
-
var VERSION = "0.
|
|
355
|
+
var VERSION = "0.45.0";
|
|
353
356
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
354
357
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
355
358
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -859,6 +862,20 @@ var tools = [
|
|
|
859
862
|
},
|
|
860
863
|
handler: (args) => client().getResolutionSummary({ days: args.days })
|
|
861
864
|
},
|
|
865
|
+
{
|
|
866
|
+
name: "propline_get_event_ids",
|
|
867
|
+
title: "Get event id crosswalk",
|
|
868
|
+
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'.",
|
|
869
|
+
inputSchema: {
|
|
870
|
+
type: "object",
|
|
871
|
+
properties: {
|
|
872
|
+
sport_key: { type: "string", description: "Sport key, e.g. baseball_mlb." }
|
|
873
|
+
},
|
|
874
|
+
required: ["sport_key"],
|
|
875
|
+
additionalProperties: false
|
|
876
|
+
},
|
|
877
|
+
handler: (args) => client().getEventIds(args.sport_key)
|
|
878
|
+
},
|
|
862
879
|
{
|
|
863
880
|
name: "propline_get_book_accuracy",
|
|
864
881
|
title: "Get sportsbook accuracy report",
|