Opengolfapi MCP Server
by opengolfapiio.github.opengolfapi/mcp-serverv3.5.1
Golf for AI agents — every US course free, plus open contribution, identity & tournaments.
context tax
queued
security
queued
cold start
queued
freshness
Maintained52d ago
Install Opengolfapi MCP server
Install in Claude Code
claude mcp add opengolfapi -e OPENGOLFAPI_KEY='<opengolfapi-key>' -- npx -y @opengolfapi/mcp-serverInstall in Cursor
{
"mcpServers": {
"opengolfapi": {
"command": "npx",
"args": [
"-y",
"@opengolfapi/mcp-server"
],
"env": {
"OPENGOLFAPI_KEY": "<opengolfapi-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"opengolfapi": {
"command": "npx",
"args": [
"-y",
"@opengolfapi/mcp-server"
],
"env": {
"OPENGOLFAPI_KEY": "<opengolfapi-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"opengolfapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@opengolfapi/mcp-server"
],
"env": {
"OPENGOLFAPI_KEY": "<opengolfapi-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"opengolfapi": {
"command": "npx",
"args": [
"-y",
"@opengolfapi/mcp-server"
],
"env": {
"OPENGOLFAPI_KEY": "<opengolfapi-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENGOLFAPI_KEY | — | yes | Free key (courses.opengolfapi.org/api-keys). Optional — only for contributing/identity. |
Freshness
Maintained — last maintenance signal 52d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-18 · 52d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-11 · 3mo ago · official registry · v3.5.1
FAQ
›How do I install the Opengolfapi MCP server in Claude Code?
Run: claude mcp add opengolfapi -e OPENGOLFAPI_KEY='<opengolfapi-key>' -- npx -y @opengolfapi/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Opengolfapi require an API key?
Yes. It expects OPENGOLFAPI_KEY, of which 1 is a secret.
›Can I use Opengolfapi as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Opengolfapi in the official MCP registry?
Yes, as io.github.opengolfapi/mcp-server.
Alternatives to Opengolfapi
Other education & learning MCP servers.