MCP Server
Connect AI assistants to GolfCourseAPI with the MCP server
Connect Claude, Cursor, VS Code and other AI assistants to GolfCourseAPI over MCP. Search courses, look up tee box ratings and scorecards, and find courses near a location, all from a chat.
The GolfCourseAPI MCP server lets AI assistants use golf course data through the Model Context Protocol, an open standard for connecting assistants to tools. Once it's connected, you can ask for things like "What are the slope ratings for every tee at Pebble Beach?" and the assistant calls the API for you.
What you can do
Tools
The server exposes three read-only tools:
search_courses: find courses by course or club name.get_course: get one course with every tee box's course, slope and bogey ratings, front and back nine ratings, yardages and hole-by-hole data.find_courses_near: find courses near a latitude and longitude, nearest first. Needs a Pro or Enterprise plan.
An assistant usually finds a course id with search_courses or find_courses_near, then calls get_course for the details. That's two requests from your quota. See the Tool reference for parameters and outputs.
Endpoint
The hosted server speaks MCP's Streamable HTTP transport at:
https://mcp.golfcourseapi.com/mcp
Every request must carry your API key as Authorization: Bearer <your API key>. See Authentication.
How it works
- It's a thin layer over the API. The MCP server stores no course data and no keys. Each tool call is forwarded to the GolfCourseAPI with the API key your client sent.
- Your quota and plan apply. Each tool call is one API request, counted against your daily limit like any other request. Plan-gated endpoints, such as proximity search, stay gated. Connecting and listing tools don't call the API, so they're free.
- Same data as the REST API. Tool outputs match the responses documented in the API docs.
Ready? Start with Connect a client.
Something not working the way this page describes? .