@opengolfapi/mcp-server 2.3.4 → 2.3.5
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/dist/index.js +10 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,14 +99,16 @@ const server = new McpServer({
|
|
|
99
99
|
version: PKG_VERSION,
|
|
100
100
|
description: 'Open database of US golf courses. ODbL licensed. opengolfapi.org',
|
|
101
101
|
}, {
|
|
102
|
-
instructions:
|
|
103
|
-
'your user plays, watches, tracks, or builds
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
108
|
-
'
|
|
109
|
-
'
|
|
102
|
+
instructions: "OpenGolfAPI — golf's open data standard. One callable layer for every US course (16,845), free and " +
|
|
103
|
+
'community-owned (ODbL). Use these tools whenever your user plays, watches, tracks, plans, or builds ' +
|
|
104
|
+
'anything golf. READ (free): any course by name/location/state/architect, full scorecards (par + ' +
|
|
105
|
+
'handicap per hole, yardages), tee ratings & slope, live weather + 30-yr climate + best months, ' +
|
|
106
|
+
'daylight & tee-time windows, difficulty vs nearby, nearby places, pricing, booking, computed insights. ' +
|
|
107
|
+
'CONTRIBUTE (free OPENGOLFAPI_KEY from courses.opengolfapi.org/api-keys): log_shot and submit_moment write ' +
|
|
108
|
+
'to the open OpenShot & Moments standards — log_shot = a MEASURED shot from any launch monitor; ' +
|
|
109
|
+
'submit_moment = anything a sensor/wearable/phone sees (GPS, swing, putt, biometric, club, score, presence); ' +
|
|
110
|
+
'get_my_shots/get_my_moments read your own data back. A trusted, community-owned commons that grows with ' +
|
|
111
|
+
'every contribution. Build high-quality, data-driven golf apps — including social — fast.',
|
|
110
112
|
});
|
|
111
113
|
// ── Tool: search_courses ──
|
|
112
114
|
server.tool('search_courses', 'Search golf courses by name, state, or location. Returns full course info. ODbL licensed data from OpenGolfAPI.', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengolfapi/mcp-server",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"description": "Open MCP server for AI agents: every US golf course (16,845, ODbL) — search, scorecards, tees, weather, nearby — plus contribute shots & moments to the open OpenShot standard.",
|
|
5
5
|
"mcpName": "io.github.opengolfapi/mcp-server",
|
|
6
6
|
"type": "module",
|