propline-mcp 0.43.0 → 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 +3 -1
- package/dist/http.js +48 -1
- package/dist/http.js.map +1 -1
- package/dist/index.js +48 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,6 +39,8 @@ 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) |
|
|
43
|
+
| `propline_get_book_accuracy` | Sportsbook accuracy report — how well each book prices props, vs the market (free) |
|
|
42
44
|
| `propline_get_event_stats` | Raw box-score stats (free, book-agnostic) |
|
|
43
45
|
| `propline_get_event_context` | Game conditions a prop settles under — probable pitchers, lineup flag, home-plate umpire, first-pitch weather (free) |
|
|
44
46
|
| `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. |
|
|
@@ -56,7 +58,7 @@ The model uses these tools transparently:
|
|
|
56
58
|
|
|
57
59
|
## Hosted endpoint (no install)
|
|
58
60
|
|
|
59
|
-
The same
|
|
61
|
+
The same 32 tools are served over **Streamable HTTP** at
|
|
60
62
|
|
|
61
63
|
```
|
|
62
64
|
https://mcp.prop-line.com/mcp
|
package/dist/http.js
CHANGED
|
@@ -238,6 +238,15 @@ var PropLineClient = class {
|
|
|
238
238
|
days: opts.days
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
|
+
getEventIds(sportKey) {
|
|
242
|
+
return this.request(`/v1/sports/${sportKey}/ids`);
|
|
243
|
+
}
|
|
244
|
+
getBookAccuracy(opts = {}) {
|
|
245
|
+
return this.request(`/v1/books/accuracy`, {
|
|
246
|
+
days: opts.days,
|
|
247
|
+
sport: opts.sport
|
|
248
|
+
});
|
|
249
|
+
}
|
|
241
250
|
getFutures(sportKey) {
|
|
242
251
|
return this.request(`/v1/sports/${sportKey}/futures`);
|
|
243
252
|
}
|
|
@@ -343,7 +352,7 @@ var PropLineClient = class {
|
|
|
343
352
|
};
|
|
344
353
|
|
|
345
354
|
// src/server.ts
|
|
346
|
-
var VERSION = "0.
|
|
355
|
+
var VERSION = "0.45.0";
|
|
347
356
|
var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
|
|
348
357
|
var apiKey = process.env.PROPLINE_API_KEY;
|
|
349
358
|
var baseUrl = process.env.PROPLINE_BASE_URL;
|
|
@@ -853,6 +862,44 @@ var tools = [
|
|
|
853
862
|
},
|
|
854
863
|
handler: (args) => client().getResolutionSummary({ days: args.days })
|
|
855
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
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "propline_get_book_accuracy",
|
|
881
|
+
title: "Get sportsbook accuracy report",
|
|
882
|
+
description: "Free-tier endpoint. How well each sportsbook prices player props: each book's closing prop prices are de-vigged and scored (Brier) against the real result and against the other books on the same line. Per book: props scored, brier, consensus_brier, skill_bp (> 0 = closer to the result than the market average) with a 95% interval, verdict (beats_market / trails_market / in_line) and margin_pct (average overround), plus by_sport and by_market breakdowns. Useful for: 'which book prices props most accurately', 'which book has the lowest margin'. A pricing report, never a profit claim or betting edge.",
|
|
883
|
+
inputSchema: {
|
|
884
|
+
type: "object",
|
|
885
|
+
properties: {
|
|
886
|
+
days: {
|
|
887
|
+
type: "number",
|
|
888
|
+
description: "Look-back window, 7-120. Defaults to 30."
|
|
889
|
+
},
|
|
890
|
+
sport: {
|
|
891
|
+
type: "string",
|
|
892
|
+
description: "Optional sport key, e.g. baseball_mlb."
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
required: [],
|
|
896
|
+
additionalProperties: false
|
|
897
|
+
},
|
|
898
|
+
handler: (args) => client().getBookAccuracy({
|
|
899
|
+
days: args.days,
|
|
900
|
+
sport: args.sport
|
|
901
|
+
})
|
|
902
|
+
},
|
|
856
903
|
{
|
|
857
904
|
name: "propline_get_event_stats",
|
|
858
905
|
title: "Get event stats",
|