@davincibets/mcp-server 1.3.2 → 1.4.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 +3 -3
- package/dist/index.js +17 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Your key looks like: `dvb_live_a3f2...` — copy it immediately (shown once).
|
|
|
16
16
|
|
|
17
17
|
#### Claude Desktop
|
|
18
18
|
|
|
19
|
-
Edit `~/.config/Claude/claude_desktop_config.json` (
|
|
19
|
+
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `~/.config/Claude/claude_desktop_config.json` (Linux) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
20
20
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
@@ -193,7 +193,7 @@ Get verified win rates, ROI, and historical performance from settled predictions
|
|
|
193
193
|
|
|
194
194
|
| Tier | Per Hour | Per Day | Who |
|
|
195
195
|
|------|----------|---------|-----|
|
|
196
|
-
| Personal |
|
|
196
|
+
| Personal | 100 | 500 | $14.99/mo subscribers |
|
|
197
197
|
| Partner | 500 | 10,000 | Marketing agencies (DVB-Social) |
|
|
198
198
|
| Internal | Unlimited | Unlimited | Da Vinci Bets systems |
|
|
199
199
|
|
|
@@ -224,7 +224,7 @@ Contact support@davincibets.io for partner API key provisioning.
|
|
|
224
224
|
## Requirements
|
|
225
225
|
|
|
226
226
|
- Node.js 18+
|
|
227
|
-
- A Da Vinci Bets premium subscription ($
|
|
227
|
+
- A Da Vinci Bets premium subscription ($14.99/mo)
|
|
228
228
|
- An API key from Settings → API tab
|
|
229
229
|
|
|
230
230
|
## Development
|
package/dist/index.js
CHANGED
|
@@ -1122,7 +1122,7 @@ async function apiFetch(opts) {
|
|
|
1122
1122
|
Authorization: `Bearer ${API_KEY}`,
|
|
1123
1123
|
Accept: opts.raw ? "image/png" : "application/json",
|
|
1124
1124
|
},
|
|
1125
|
-
signal: AbortSignal.timeout(opts.raw ?
|
|
1125
|
+
signal: AbortSignal.timeout(opts.raw ? 50_000 : 15_000),
|
|
1126
1126
|
});
|
|
1127
1127
|
}
|
|
1128
1128
|
catch {
|
|
@@ -1196,12 +1196,20 @@ function formatRateLimit(rl) {
|
|
|
1196
1196
|
// ─── Server Setup ───────────────────────────────────────────────────────────
|
|
1197
1197
|
const server = new McpServer({
|
|
1198
1198
|
name: "Da Vinci Bets",
|
|
1199
|
-
version: "1.
|
|
1199
|
+
version: "1.4.1", // keep in sync with package.json
|
|
1200
1200
|
});
|
|
1201
1201
|
// ─── Tool: get_predictions ──────────────────────────────────────────────────
|
|
1202
1202
|
server.tool("get_predictions", "Fetch AI-powered sports predictions filtered by sport, market, team, and confidence. " +
|
|
1203
1203
|
"Returns predictions with win probabilities, odds, edge values, confidence tiers, and game IDs. " +
|
|
1204
|
-
|
|
1204
|
+
// Markets are named generically on purpose. This string is baked into a
|
|
1205
|
+
// PUBLISHED npm package, so it cannot track the live suppression state the
|
|
1206
|
+
// way the web copy now does (lib/constants/suppressed-markets.ts): a paused
|
|
1207
|
+
// market would leave a stale claim in every installed copy until the next
|
|
1208
|
+
// release. The API itself already returns only what we publish, so naming
|
|
1209
|
+
// no specific market is both accurate and stable. All four spread cells
|
|
1210
|
+
// have been paused since June 2026.
|
|
1211
|
+
"Covers NBA, NFL, NHL, and MLB. The markets returned are whichever we are " +
|
|
1212
|
+
"currently publishing; the response reflects live coverage. " +
|
|
1205
1213
|
"Use the team parameter to find predictions for a specific team (e.g., 'Lakers', 'NYY', 'Chiefs'). " +
|
|
1206
1214
|
"Game IDs from results can be used with get_pick_card to render shareable images.", {
|
|
1207
1215
|
sport: z
|
|
@@ -1759,8 +1767,10 @@ server.tool("get_batch_cards", "Render multiple pick cards and return permanent
|
|
|
1759
1767
|
}
|
|
1760
1768
|
});
|
|
1761
1769
|
// ─── Tool: get_performance ──────────────────────────────────────────────────
|
|
1762
|
-
server.tool("get_performance", "Get a snapshot of current active predictions across sports
|
|
1763
|
-
"Shows prediction counts, confidence distribution, and available coverage."
|
|
1770
|
+
server.tool("get_performance", "Get a snapshot of current active predictions across sports. " +
|
|
1771
|
+
"Shows prediction counts, confidence distribution, and available coverage. " +
|
|
1772
|
+
"Note: when market is omitted the underlying API defaults to moneyline — " +
|
|
1773
|
+
"pass market explicitly for spread/totals snapshots.", {
|
|
1764
1774
|
sport: z
|
|
1765
1775
|
.enum(["NBA", "NFL", "NHL", "MLB"])
|
|
1766
1776
|
.optional()
|
|
@@ -1827,9 +1837,9 @@ server.tool("get_track_record", "Get verified win rates, ROI, and historical per
|
|
|
1827
1837
|
"Includes current streak and recent settled picks. " +
|
|
1828
1838
|
"Public endpoint — does not count against your API rate limit.", {
|
|
1829
1839
|
sport: z
|
|
1830
|
-
.enum(["NBA", "NFL", "NHL", "MLB"])
|
|
1840
|
+
.enum(["NBA", "NFL", "NHL", "MLB", "TENNIS", "TENNIS_ATP", "TENNIS_WTA"])
|
|
1831
1841
|
.optional()
|
|
1832
|
-
.describe("Filter to a specific sport. Omit for all."),
|
|
1842
|
+
.describe("Filter to a specific sport. Omit for all. TENNIS collapses both tours."),
|
|
1833
1843
|
days: z
|
|
1834
1844
|
.number()
|
|
1835
1845
|
.int()
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davincibets/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"mcpName": "io.github.DaVinciPicks/davincibets-mcp",
|
|
5
5
|
"description": "MCP server for Da Vinci Bets — AI sports predictions in your AI assistant",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"bin": {
|
|
9
|
-
"davincibets-mcp": "
|
|
9
|
+
"davincibets-mcp": "dist/index.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc",
|
|
18
18
|
"dev": "tsx src/index.ts",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
19
|
+
"prepublishOnly": "bash scripts/check-version-sync.sh && npm run build"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
22
|
"mcp",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/DaVinciPicks/davincibets-mcp"
|
|
34
|
+
"url": "git+https://github.com/DaVinciPicks/davincibets-mcp.git"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=18.0.0"
|