Opengolfapi MCP Server

Golf, for AI agents - the open data layer for golf. Give your assistant every US golf course (16,845), free, and let it contribute back, sign players in, and run tournaments. Build a whole golf app from a prompt. Its 40 documented tools cover record, dev, competition, key. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-18 · ★ 3 · #183 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Opengolfapi MCP Server

before you install - you'll need

OPENGOLFAPI_KEY is optional or environment-specific per the README.

Claude Code

claude mcp add opengolfapi-mcp-server -- npx -y @opengolfapi/mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "opengolfapi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@opengolfapi/mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @opengolfapi/mcp-server - published under the repo owner's npm scope (@opengolfapi)

registry namespace io.github.opengolfapi is GitHub-verified and matches the repo owner

03 · What Opengolfapi MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can read back your own contributed shots by player or session. Requires a key, read back your own contributed moments (breadcrumbs, swings, putts, conditions…) by player, session, or type. Requires a key, check the status/verdict of a correction you proposed (approved | rejected | needs_info | applied). Requires a key, and create a shareable invite (QR/link).

Capability map

Tools grouped from the project's README - what Opengolfapi MCP Server lets an agent do.

read & search

17 tools - e.g. Search US golf courses by name, US state, or location (lat/lng + radius). Returns matching courses with location, type, par. Free, ODbL data.; Full detail for one course by id: scorecard (par + handicap…

search_courses · get_course · get_tees · get_weather · get_climate · get_nearby…

Record

3 tools - e.g. Record that one user referred another (a REFERRED_BY edge) - build YOUR app's invite loop on the shared graph, namespaced to your app. Needs a key.; Record a player's consent grant (auditable, revocable).…

record_referral · record_consent · record_attempt

Dev

3 tools - e.g. Mint a developer API key bound to an OpenGolf ID (sign in first via request_sign_in_code → complete_sign_in). Returns the key ONCE. First-party rail: no OpenGol; Confirm your OpenGolf ID on an EXISTING…

create_dev_key · link_dev_key · list_dev_keys

Competition

3 tools - e.g. Create a Competition (any OpenMatch format). Requires key.; A Competition + live gross standings (free).; Finalize - run the kernel, store the gross Result. Requires key.

create_competition · get_competition · finalize_competition

Profile

2 tools - e.g. A player's public OpenGolf ID card - name, avatar, links, prefs. Free.; Edit a player's self-asserted profile fields (derived facts can't be set). Requires key (claimed players need their grant).

get_profile · update_profile

Log

1 tool - e.g. Contribute a golf shot to the open OpenShot standard (any launch monitor). Requires a key. Units: speed mph, angles deg, spin rpm, distance yds.

log_shot

Submit

1 tool - e.g. Contribute an Open Connect event from any sensor/wearable/phone. The whole sensor spectrum rides through here - type-specific data goes in payload. Requires a k

submit_moment

Respond

1 tool - e.g. Respond to a correction that came back as needs_info - add a source or explanation and re-open it for review. Requires a key.

respond_to_review

04 · Who maintains Opengolfapi MCP Server

mcp-server is maintained by opengolfapi. It's the only MCP server we track from this author; the repo dates to Apr 2026.

05 · Facts

category
other - ranked #183 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.opengolfapi/mcp-server (active, first published 2026-06-29 · 9 versions)
packages
npm:@opengolfapi/mcp-server

06 · Opengolfapi MCP Server FAQ

Is Opengolfapi MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-18. We re-verify nightly.

What can Opengolfapi MCP Server do?

With this server connected, an agent can read back your own contributed shots by player or session. Requires a key, read back your own contributed moments (breadcrumbs, swings, putts, conditions…) by player, session, or type. Requires a key, check the status/verdict of a correction you proposed (approved | rejected | needs_info | applied). Requires a key, and create a shareable invite (QR/link).

How do I install Opengolfapi MCP Server?

Run `npx -y @opengolfapi/mcp-server`. The README documents one environment variable (OPENGOLFAPI_KEY) to set first. OPENGOLFAPI_KEY is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Opengolfapi MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Opengolfapi MCP Server