propline-mcp 0.42.0 → 0.43.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 CHANGED
@@ -45,9 +45,9 @@ The model uses these tools transparently:
45
45
  | `propline_get_event_results` | Pro: graded won/lost/push per prop |
46
46
  | `propline_search_players` | Free: find a player by name fragment → stable `player_id` + every spelling the books use (`known_names`) |
47
47
  | `propline_get_player_history` | Player prop history with resolution; accepts a `player_id`; optional `main_line_only`; entries carry `is_main_line` + `line_moved_in_play` |
48
- | `propline_get_player_games` | Player game log — recent games with every raw box-score stat per game, one call instead of one per event; `opponent` gives head-to-head (last N *meetings*). Raw-stat archive, so it includes games no book priced |
48
+ | `propline_get_player_games` | Player game log — recent games with every raw box-score stat per game, one call instead of one per event; `opponent` gives head-to-head (last N *meetings*). Raw-stat archive, so it includes games no book priced. Accepts a `player_id` in place of the name |
49
49
  | `propline_get_player_trends` | Hit-rate trends — over/under/push splits over last 5/10/20/50 graded games, streak, avg actual (optional `dfs_odds_type` to scope to a PrizePicks flavor) |
50
- | `propline_get_event_ev` | Pro: cross-book +EV with no-vig fair lines (`devig`: multiplicative or shin) |
50
+ | `propline_get_event_ev` | Pro: cross-book +EV with no-vig fair lines (`devig`: multiplicative or shin; `fair_source`: pick the anchor book(s), tried in order) |
51
51
  | `propline_get_event_projections` | Hobby+: market-implied consensus projection per (market, player) |
52
52
  | `propline_get_best_line` | Hobby+: cross-book line shopping — best price per (market, player, line) across all comparable books, `all_prices` sorted best-first; optional `bookmakers` filter |
53
53
  | `propline_list_webhooks` | Streaming Lite+: list webhook subscriptions (read-only, secrets masked) |
package/dist/http.js CHANGED
@@ -302,7 +302,8 @@ var PropLineClient = class {
302
302
  return this.request(`/v1/sports/${sportKey}/events/${eventId}/ev`, {
303
303
  markets: opts.markets,
304
304
  bookmakers: opts.bookmakers,
305
- devig: opts.devig
305
+ devig: opts.devig,
306
+ fair_source: opts.fairSource
306
307
  });
307
308
  }
308
309
  getEventProjections(sportKey, eventId, opts = {}) {
@@ -342,7 +343,7 @@ var PropLineClient = class {
342
343
  };
343
344
 
344
345
  // src/server.ts
345
- var VERSION = "0.42.0";
346
+ var VERSION = "0.43.0";
346
347
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
347
348
  var apiKey = process.env.PROPLINE_API_KEY;
348
349
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -1032,14 +1033,14 @@ var tools = [
1032
1033
  {
1033
1034
  name: "propline_get_player_games",
1034
1035
  title: "Get player game log / H2H",
1035
- description: "A player's recent games with every raw box-score stat per game \u2014 one call instead of one request per event. Use this to answer 'how has X actually performed lately?' and to build L5/L10/L20, season splits and head-to-head yourself. Pass `opponent` for H2H (accepts a full name, nickname or abbreviation \u2014 'Boston Red Sox', 'Red Sox', 'BOS'); the limit applies AFTER that filter, so opponent + limit=10 means the last 10 MEETINGS, not the Boston games among the last 10 games. H2H is not capped to the current season. IMPORTANT: this is the raw box-score archive, NOT graded-prop history \u2014 it covers every game with a box score on file, including games no sportsbook priced, so a 'last 10 games' window here really is the last 10 games (one built from propline_get_player_trends silently skips unpriced games). It carries no line, price or grade; use propline_get_player_trends for hit rates against a posted line. `player_team`/`opponent`/`is_home` are null when the player's side can't be identified, and always for individual sports (tennis, golf, UFC) \u2014 report them as unknown rather than guessing.",
1036
+ description: "A player's recent games with every raw box-score stat per game \u2014 one call instead of one request per event. Use this to answer 'how has X actually performed lately?' and to build L5/L10/L20, season splits and head-to-head yourself. Pass `opponent` for H2H (accepts a full name, nickname or abbreviation \u2014 'Boston Red Sox', 'Red Sox', 'BOS'); the limit applies AFTER that filter, so opponent + limit=10 means the last 10 MEETINGS, not the Boston games among the last 10 games. H2H is not capped to the current season. IMPORTANT: this is the raw box-score archive, NOT graded-prop history \u2014 it covers every game with a box score on file, including games no sportsbook priced, so a 'last 10 games' window here really is the last 10 games (one built from propline_get_player_trends silently skips unpriced games). It carries no line, price or grade; use propline_get_player_trends for hit rates against a posted line. `player_team`/`opponent`/`is_home` are null when the player's side can't be identified, and always for individual sports (tennis, golf, UFC) \u2014 report them as unknown rather than guessing. Accepts a player_id in place of the name; the response carries player_id (null when the player has none yet).",
1036
1037
  inputSchema: {
1037
1038
  type: "object",
1038
1039
  properties: {
1039
1040
  sport_key: { type: "string" },
1040
1041
  player_name: {
1041
1042
  type: "string",
1042
- description: "Player name as it appears in box scores \u2014 e.g. 'Aaron Judge', 'Nikola Jokic'"
1043
+ description: "Player name as it appears in box scores \u2014 e.g. 'Aaron Judge', 'Nikola Jokic' \u2014 or a player_id from propline_search_players, e.g. 'mlb:592450'"
1043
1044
  },
1044
1045
  limit: {
1045
1046
  type: "number",
@@ -1123,6 +1124,10 @@ var tools = [
1123
1124
  type: "string",
1124
1125
  enum: ["multiplicative", "shin"],
1125
1126
  description: "How the anchor's vig is removed. 'multiplicative' (default) divides each implied probability by the booksum; 'shin' solves Shin's insider-trading model, which loads the overround onto the longshot and corrects the favourite-longshot bias \u2014 use it when the user asks about longshot props (anytime TD, first scorer). The response echoes devig_method; say which method the numbers came from."
1127
+ },
1128
+ fair_source: {
1129
+ type: "string",
1130
+ description: "Optional anchor override: one book or a comma-separated list tried IN ORDER per line, from pinnacle, polymarket, kalshi, bovada, smarkets (anything else is a 400). Lines none of them anchor are dropped. Omit for the default order."
1126
1131
  }
1127
1132
  },
1128
1133
  required: ["sport_key", "event_id"],
@@ -1135,7 +1140,8 @@ var tools = [
1135
1140
  {
1136
1141
  markets: args.markets,
1137
1142
  bookmakers: args.bookmakers,
1138
- devig: args.devig
1143
+ devig: args.devig,
1144
+ fairSource: args.fair_source
1139
1145
  }
1140
1146
  );
1141
1147
  return filterByMinEv(res, args.min_ev_pct);