RS

ravinahp/surf-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

19 stars 6 forks 품질 61 트렌드 22MIT

An MCP server for people who surf waves and the web.

개요

MCP server for people who surf waves and the web. https://github.com/user-attachments/assets/0a4453e2-66df-4bf5-8366-8538cda366ed - Fetch tide information for any location using latitude and longitude - Support for date-specific tide queries - Detailed tide data including high/low tides and station information - Automatic time zone handling (UTC) 1. Visit Storm Glass 2. Click "Try for Free" or "Sign In" to create an account 3. Once registered, you'll receive your API key Note on API Usage Limits: - Free tier: 10 requests per day - Paid plans available: - Small: 500 requests/day (€19/month) - Medium: 5000 requests/day (€49/month) - Large: 25,000 requests/day (€129/month) - Enterprise: Custom plans available Choose a plan based on your usage requirements. The free tier is suitable for testing and personal use. Note: We use uv instead of pip since the project uses pyproject.toml for dependency management.

README

원문 README의 일부입니다. 원문 보기.

Surf MCP Server

MCP server for people who surf waves and the web.

Diagram

Video Demo

https://github.com/user-attachments/assets/0a4453e2-66df-4bf5-8366-8538cda366ed

Features

  • Fetch tide information for any location using latitude and longitude
  • Support for date-specific tide queries
  • Detailed tide data including high/low tides and station information
  • Automatic time zone handling (UTC)

Prerequisites

  • Python 3.x
  • Storm Glass API key

Getting Your Storm Glass API Key

  1. Visit Storm Glass
  2. Click “Try for Free” or “Sign In” to create an account
  3. Once registered, you’ll receive your API key

Note on API Usage Limits:

  • Free tier: 10 requests per day
  • Paid plans available:
    • Small: 500 requests/day (€19/month)
    • Medium: 5000 requests/day (€49/month)
    • Large: 25,000 requests/day (€129/month)
    • Enterprise: Custom plans available

Choose a plan based on your usage requirements. The free tier is suitable for testing and personal use.

Installation

  1. Clone the repository:
git clone https://github.com/ravinahp/surf-mcp.git
cd surf-mcp
  1. Install dependencies using uv:
uv sync

Note: We use uv instead of pip since the project uses pyproject.toml for dependency management.

Configure as MCP Server

To add this tool as an MCP server, you’ll need to modify your Claude desktop configuration file. This configuration includes your Storm Glass API key, so you won’t need to set it up separately.

The configuration file location depends on your operating system:

  • MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Add the following configuration to your JSON file:

{
    "surf-mcp": {
        "command": "uv",
        "args": [
            "--directory",
            "/Users/YOUR_USERNAME/Code/surf-mcp",
            "run",
            "surf-mcp"
        ],
        "env": {
            "STORMGLASS_API_KEY": "your_api_key_here"
        }
    }
}

⚠️ IMPORTANT:

  1. Replace YOUR_USERNAME with your actual system username
  2. Replace your_api_key_here with your actual Storm Glass API key
  3. Make sure the directory path matches your local installation

Deployment

Building

To prepare the package:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package:
uv build

This will create distributions in the dist/ directory.

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector with this command:

npx @modelcontextprotocol/inspector uv --directory /path/to/surf-mcp run surf-mcp
GitHub에서 전체 README 보기

설치

npx @modelcontextprotocol/inspector uv --directory /path/to/surf-mcp run surf-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →