Open MCP server for AI agents to query the OpenGolfAPI dataset (16,908 US golf courses). All data is ODbL licensed and open.
npm install -g @opengolfapi/mcp-serverAdd to your MCP client config:
{
"mcpServers": {
"opengolfapi": {
"command": "opengolfapi-mcp"
}
}
}search_courses(query, state?, lat?, lng?, radius_mi?)— find courses by name, state, or locationget_course(id)— full course record with scorecard (par + handicap index per hole)get_tees(id)— all tee sets with ratings, slopes, and yardagesget_climate(id)— monthly climate normals for the course locationget_nearby(id)— nearby POIs (hotels, restaurants, airports)
MIT