io.github.golf-data/golf
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.golf-data/golfSearch for golf courses in Palm Springs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Golf Intelligence, by Stracka
Golf Intelligence, by Stracka. Proprietary StrackaGolf course data for developers building a golf app, updated daily. Search is free. Scorecards, GPS, and 3D greens are available via API.
Golf Intelligence provides proprietary StrackaGolf course data, updated daily. Learn more at golfintelligence.com.
This repository is the installable Cursor / Grok Bot plugin with handle
golf. The Cursor marketplace application source is the public GitHub URL:
https://github.com/golf-data/golf
Marketplace reviewers can submit that URL at cursor.com/marketplace/publish. The catalog title is Golf Intelligence, by Stracka.
The bundled mcp.json connects to the hosted MCP at
https://mcp.golfintelligence.com/mcp over Streamable HTTP, so installing the
plugin never depends on a local Node build. Your console credentials travel as
the X-GI-Client-ID and X-GI-Active-Token headers, filled from the plugin
variables declared in .cursor-plugin/plugin.json.
Earlier releases launched node against a plugin-relative dist/index.js.
Cursor does not expand the Agent Plugins ${PLUGIN_ROOT} variable, so that
placeholder reached Node literally and the connector failed with
Cannot find module '.../${PLUGIN_ROOT}/dist/index.js'. The hosted connector
removes that failure mode entirely.
mcp.stdio.json keeps the local stdio server for offline and development use.
It is not auto-discovered; copy its golf entry into .cursor/mcp.json (using
${workspaceFolder} in a checkout) or point mcpServers at it. Any local
stdio config must use ${CURSOR_PLUGIN_ROOT}, never ${PLUGIN_ROOT}. The
committed dist/index.js bundle ships in the repository and in the MCPB
package, so the stdio path works without running a build first.
The official MCP Registry name is io.github.golf-data/golf. The registry
does not accept a bare golf name. Cursor, Agent Plugins, and Claude Code
plugin handles remain golf.
Get API access
Sign in at console.golfintelligence.com without a password: enter your email on the login page, request a verification code, then enter the code after it is sent. Create an API Account and configure the plugin's two required variables:
GI_CLIENT_ID: your Client IDGI_ACTIVE_TOKEN: your Active Token
The Active Token is exchanged for a short-lived bearer token. It is not a
bearer token; do not paste a bearer token into GI_ACTIVE_TOKEN.
Use credentials from your own console account. This project does not provide demo tokens.
Plans are monthly and can be upgraded or downgraded self-serve in the console:
Tester: $49/month for 100 credits/month.
Starter: $399/month for 10,000 credits/month.
For billing, credits, plans, login, or credential help, email support@golfintelligence.com. For course data updates, email data@golfintelligence.com.
Related MCP server: Korea Ground-Truth MCP
Tools and credits
Always search first. search_course_groups is free. Before every paid call,
the user must explicitly confirm the stated cost; the server refuses paid tools
unless confirm_spend=true.
Tool | What it returns | Credits |
| Course-group search results | 0 |
| Scorecard data | 1 |
| Mapped course geometry and coordinates | 2 |
| Detailed course-group data | 3 |
| Portrait or square green slope image | 1 |
Authentication
The local stdio server and legacy per-user HTTP credential headers exchange the configured credentials with:
POST https://api.golfintelligence.com/auth/authenticateToken
grant_type=client_credentials
code=<GI_ACTIVE_TOKEN>
client_id=<GI_CLIENT_ID>It sends the returned access_token as Authorization: Bearer <access_token>,
caches it only in memory, and refreshes once after an HTTP 401. Credentials are
never logged.
The hosted MCP additionally implements OAuth 2.1 authorization-code flow with S256 PKCE for ChatGPT. Its dedicated authorization page accepts each user's own console Client ID and Active Token, validates them with Golf Intelligence, and binds that account to encrypted access and refresh tokens. See docs/OPENAI-CHATGPT-OAUTH.md for discovery URLs, OpenAI portal settings, reviewer steps, and deployment secrets.
Streamable HTTP
The hosted MCP is available via the official MCP Streamable HTTP transport at:
https://mcp.golfintelligence.com/mcpThe production HTTP entrypoint serves that transport at /mcp and a health
check at /health. For OpenAI Apps domain verification it also serves
GET /.well-known/openai-apps-challenge as text/plain when
OPENAI_APPS_CHALLENGE_TOKEN (or OPENAI_APPS_CHALLENGE) is set; otherwise
that path returns 404. Start the HTTP server locally with:
npm run build
PORT=3000 npm run start:httpIt binds to 0.0.0.0:$PORT. The existing node dist/index.js stdio entrypoint
and all plugin packages remain unchanged.
The HTTP service accepts Golf Intelligence identity in either of these forms:
An OAuth bearer token issued by this service after the user signs in with their own GI account.
Legacy
X-GI-Client-IDandX-GI-Active-Tokenheaders supplied together on every MCP request by existing plugin installs.
There is deliberately no server-wide GI_CLIENT_ID / GI_ACTIVE_TOKEN
fallback. The HTTP entrypoint ignores those environment variables, so an
anonymous caller cannot inherit a deployment account or spend its credits.
Missing or invalid OAuth returns HTTP 401 with an OAuth protected-resource
challenge. The Active Token is an exchange credential and must not be sent as
an Authorization: Bearer value.
Every tool explicitly advertises these MCP annotations:
readOnlyHint: true— each tool only retrieves course data.openWorldHint: false— no tool writes to public or external systems.destructiveHint: false— no tool deletes, overwrites, publishes, or sends anything.idempotentHint: truefor free search.idempotentHint: falsefor paid tools because every repeated paid invocation can consume credits again.
These sentences can also be used as the annotation justifications in the
OpenAI submission form. Paid lookups still require confirm_spend=true at the
same credit costs documented above.
Container deployment
Dockerfile builds both transports without embedding credentials.
fly.toml configures a small Fly.io service and checks /health. Before the
first deploy, confirm that the globally unique Fly app name is available (or
change app), then configure the OAuth secrets documented in
docs/OPENAI-CHATGPT-OAUTH.md and deploy. At minimum:
fly volumes create oauth_state --region ord --size 1
fly secrets set OAUTH_ENCRYPTION_KEY="$(openssl rand -base64 32)"
fly secrets set OAUTH_ISSUER=https://mcp.golfintelligence.com
fly secrets set OPENAI_APPS_CHALLENGE_TOKEN=...
fly deployThe mounted volume stores OAuth replay/rotation state, not GI credentials. Run one Machine for this file-backed state store.
Do not configure a shared GI account for hosted HTTP callers. If
GI_CLIENT_ID / GI_ACTIVE_TOKEN exist for a separate bootstrap or stdio
workflow, they do not authorize HTTP requests.
Set OPENAI_APPS_CHALLENGE_TOKEN to the token shown in OpenAI Platform domain
verification. Do not commit that token. After deploy,
GET https://mcp.golfintelligence.com/.well-known/openai-apps-challenge
should return the token as text/plain.
Tool names and descriptions are baked into the deployed bundle, so the hosted
MCP keeps serving the previous copy until it is redeployed. Redeploy before
refreshing the marketplace listing, and follow docs/RELEASE.md for the full
order across Fly, the marketplace, and the MCP Registry.
Repository layout
.cursor-plugin/plugin.json— Cursor marketplace manifest and required variablesplugin.json— Agent Plugins open-standard manifest (handlegolf).claude-plugin/plugin.json— Claude Code / Cowork plugin manifest (handlegolf)server.json— official MCP Registry metadata (io.github.golf-data/golf)manifest.json— MCPB bundle manifest for the stdio Node server.github/workflows/publish-mcp.yml— publishesio.github.golf-data/golfto the official MCP Registry via GitHub OIDCmcp.json— bundledgolfconnector pointing at the hosted MCP endpointmcp.stdio.json— optional local stdio configuration for offline developmentskills/golf/SKILL.md— workflow and spend-confirmation guidancedocs/SMOKE-CHECKLIST.md— post-deploy and post-publish verification stepsdocs/RELEASE.md— Fly redeploy, GitHub release, and registry publish runbooksrc/— TypeScript MCP server and API clientdist/index.js— committed stdio ESM bundle used by installersdist/http.js— committed Streamable HTTP ESM bundle used by the containerDockerfileandfly.toml— production HTTP container and Fly.io service
For development with Node.js 18 or newer:
npm install
npm test
npm run build
npm run pack:mcpbpack:mcpb uses the official @anthropic-ai/mcpb pack CLI to produce golf.mcpb and writes its SHA-256 into server.json. GitHub Releases host that asset at https://github.com/golf-data/golf/releases/download/v1.0.2/golf.mcpb.
The plugin code is available under the MIT License. Golf Intelligence API data remains subject to the terms at golfintelligence.com.
This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-use APIs for agents: web research, data lookups, and metered endpoints billed to credits.
Discover and pay for APIs with USDC credits. No wallet, no gas, MCP-native marketplace.
Discover and call 2,000+ x402 machine-payable services through one graded API key + gateway.
Deterministic company, entity and location lookups for agents - per call, x402 or API key.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides a single MCP endpoint for 90+ tools across 42 backend servers (search, legal, domain, etc.) with per-call credit billing and a single API key.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to verify Korean ground-truth data through MCP and REST, including business registration, addresses, corporations, apartment trade prices, and statutes, metered with prepaid credits.-
- AlicenseNot gradedqualityCmaintenanceEnables querying official Rural Environmental Registry (CAR) data for properties, supporting read-only lookups with pay-per-use prepaid credits.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying official INCRA land coordinates via a read-only, hosted MCP tool with prepaid per-query credit.MIT