Skip to content
MCP server

MCP Server

Golf for AI agents — every US course free, plus open contribution, identity & tournaments.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.5.1
Listing updated
3 days ago

About MCP Server

MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server --env OPENGOLFAPI_KEY='<OPENGOLFAPI_KEY>' -- npx -y @opengolfapi/mcp-server

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@opengolfapi/mcp-server"
      ],
      "env": {
        "OPENGOLFAPI_KEY": "<OPENGOLFAPI_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • OPENGOLFAPI_KEYFree key (courses.opengolfapi.org/api-keys). Optional — only for contributing/identity.

Pricing

Open source

Prices change. Check opengolfapi.org before you buy.

MCP Server FAQ

Is MCP Server free?

Yes. MCP Server is open source, so you can use and self-host it for free.

How do I add MCP Server to Claude Code?

Run this command in your terminal: claude mcp add mcp-server --env OPENGOLFAPI_KEY='<OPENGOLFAPI_KEY>' -- npx -y @opengolfapi/mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers