Golf for AI agents — every US course free, plus open contribution, identity & tournaments.
Connect Runs on your machine
claude mcp add mcp-server -e OPENGOLFAPI_KEY=<OPENGOLFAPI_KEY> -- npx -y @opengolfapi/[email protected]
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@opengolfapi/[email protected]"
],
"env": {
"OPENGOLFAPI_KEY": "<OPENGOLFAPI_KEY>"
}
}
}
}
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@opengolfapi/[email protected]"
],
"env": {
"OPENGOLFAPI_KEY": "<OPENGOLFAPI_KEY>"
}
}
}
}
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@opengolfapi/[email protected]"
],
"env": {
"OPENGOLFAPI_KEY": "<OPENGOLFAPI_KEY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OPENGOLFAPI_KEYOptional, secret | Free key (courses.opengolfapi.org/api-keys). Optional — only for contributing/identity. |
Details
| Package | @opengolfapi/[email protected] (NPM, stdio) |
| First published | 11 Jul 2026 |
| Last updated | 11 Jul 2026 |
| Registry name | io.github.opengolfapi/mcp-server |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
