Surfline MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Surfline MCP Server
A Model Context Protocol (MCP) server that provides comprehensive surf forecasts from Surfline's API. Access detailed surf conditions, swell analysis, forecaster insights, tides, and more directly through Claude or any MCP-compatible client.
Features
π Comprehensive Surf Data
Current conditions for 11 Santa Cruz spots (easily extensible to other regions)
Detailed swell breakdown (height, period, direction, power for each swell component)
8-hour hourly forecasts showing how conditions evolve
Expert forecaster observations with AM/PM specific timing advice
Wind conditions (speed, direction, offshore/onshore classification)
Quality ratings (1-5 stars)
π Timing Information
Sunrise, sunset, dawn, and dusk times
Tide schedule with high/low times and heights
All times properly converted to Pacific timezone
π Secure Authentication
Google OAuth integration for secure access
Works seamlessly with claude.ai web and mobile
No Surfline API keys required (uses public endpoints)
Related MCP server: shouldigo-surf-mcp
Quick Start
Prerequisites
Node.js 18+
A Cloudflare account (free tier works)
A Google Cloud project for OAuth (free)
Installation
Clone and install dependencies: ```bash cd surfline-mcp-server npm install ```
Set up Google OAuth:
Go to Google Cloud Console
Create a new OAuth 2.0 Client ID (Web application type)
Add authorized redirect URIs:
Note your Client ID and Client Secret
Create a KV namespace: ```bash npx wrangler kv namespace create OAUTH_KV ``` Update `wrangler.jsonc` with the returned KV ID.
Set secrets: ```bash echo 'YOUR_GOOGLE_CLIENT_ID' | npx wrangler secret put GOOGLE_CLIENT_ID echo 'YOUR_GOOGLE_CLIENT_SECRET' | npx wrangler secret put GOOGLE_CLIENT_SECRET echo $(openssl rand -hex 32) | npx wrangler secret put COOKIE_ENCRYPTION_KEY ```
Deploy: ```bash npm run deploy ```
Connect to Claude
Go to claude.ai
Navigate to Settings β Integrations
Add your deployed worker URL: `https://your-worker-name.your-subdomain.workers.dev/mcp\`
Authenticate with Google
Ask Claude: "How's the surf in Santa Cruz?"
Available Tools
`get_complete_surf_report`
Primary tool - Returns everything in one call:
Forecaster notes with expert observations
Sunrise/sunset times
Tide schedule
Current conditions for all spots
Swell breakdown
8-hour forecasts
Secondary Tools
Individual data fetchers available if you need specific information:
`get_surf_forecast` - Basic spot conditions only
`get_forecaster_notes` - Human observations only
`get_tides` - Tide information only
`get_best_spot` - Ranked recommendations
Spots Covered
North County: Davenport, Waddell Creek, Four Mile, Three Mile
Central: Steamer Lane, Cowells, 26th Ave
East Side: Pleasure Point, Jack's, The Hook
South: Capitola
Data Source
This server uses Surfline's undocumented public API endpoints - the same ones their website uses. No API keys or authentication required for basic forecast data. The endpoints have been stable for years and are widely used by the surf community.
Important: Webcams and premium features are not available through these endpoints.
Extending to Other Regions
To add more spots, edit `src/index.ts` and add to the `SANTA_CRUZ_SPOTS` object:
```typescript const SANTA_CRUZ_SPOTS: Record<string, string> = { "Your Spot Name": "spotIdFromSurfline", // ... }; ```
Find spot IDs by inspecting network requests on surfline.com.
Architecture
Cloudflare Workers: Serverless hosting (free tier: 100k requests/day)
Durable Objects: OAuth state management
KV Storage: Token persistence
Google OAuth: Secure authentication
MCP Protocol: Standard tool interface for AI assistants
Development
Run locally: ```bash npm run dev ```
The server will be available at `http://localhost:8788\`
Test with MCP Inspector: ```bash npx @modelcontextprotocol/inspector ```
License
MIT
Acknowledgments
Surfline for providing accessible surf forecast data
Cloudflare for the MCP and OAuth libraries
The surf community for documenting the API endpoints
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Ask about your website traffic, funnels, SEO and AI agent costs. Sign in with OAuth, no key paste.
Web search, data extraction and controlled browser automation for AI assistants via OAuth.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
WHOOP MCP server for ChatGPT, Claude and any AI agent: get day summary, list recoveries, list sleeps, list workouts, list cycles and get membership in your own WHOOP account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to WHOOP yourself; Cotlet does not store your password and you need no WHOOP API key. About the official WHOOP API: WHOOP has an official developer API (v2, OAuth 2.0, read-only) but no official MCP server (checked 27 Oct 2026). The API returns recovery, sleep, cycles and workouts to an app you register in the WHOOP Developer Dashboard, and an app WHOOP has not approved serves 10 members. Setup and FAQ: https://cotlet.dev/integrations/whoop-api-mcp-server
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides surf forecast data including swell height, period, direction, and wind conditions for any location worldwide using the Open-Meteo Marine API. It also includes tools to find the best day to surf and integrates with MCP clients via a Python server.21-
- AlicenseNot gradedqualityDmaintenanceMCP server for real-time surf conditions at 5,000+ beaches worldwide. Enables checking surf conditions, finding nearest spots, and listing spots via natural language.61 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables checking live tide, swell, and wind data for La Jolla surf spots, with an AI agent that makes judgment calls like a local surfer.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides real-time surf intelligence, including wave quality scoring, beach discovery, session planning, and forecast analysis across 12+ global data sources. It turns AI assistants into surf-savvy copilots for finding the perfect wave.2GPL 3.0