Skip to main content
Glama

HRFCO Service

HRFCOサービス

リアルタイム水文情報照会サービス(MCP Server)

Features

  • 水位、降水量、ダム放流量などリアルタイム水門情報の照会
  • 観測所別詳細情報の照会
  • 時系列データのフィルタリングと統計
  • 観測所の位置情報の照会

Prerequisites

Installation

  1. Install the package:
    git clone https://github.com/kwenhwang/hrfco-service.git cd hrfco_service pip install -e .
  2. Install required dependencies:
    pip install -r requirements.txt
  3. Configure HRFCO API Key:Windows:
    # PowerShell [Environment]::SetEnvironmentVariable("HRFCO_API_KEY", "your-api-key", "User")
    # Command Prompt setx HRFCO_API_KEY "your-api-key"
    または、コントロールパネル>システム>高度なシステム設定>環境変数>ユーザー変数から追加Linux/macOS:
    # Add to ~/.bashrc or ~/.zshrc export HRFCO_API_KEY="your-api-key" # Apply changes source ~/.bashrc # or source ~/.zshrc
    または .env ファイルの生成:
    echo "HRFCO_API_KEY=your-api-key" > .env

構成

  1. Update claude_desktop_config.json :
    { "mcpServers": { "hrfco": { "command": "C:\\Users\\{USERNAME}\\AppData\\Local\\Programs\\Python\\Python313\\python.exe", "args": ["-m", "hrfco_service"], "cwd": "D:\\python\\mcp\\hrfco_service", "env": { "PYTHONPATH": "D:\\python\\mcp\\hrfco_service" } } } }
  2. Cursor Configuration:
    • Open Cursor Settings (Ctrl+,)
    • Navigate to Extensions > Python
    • Update Python Path to your Python installation:
      C:\Users\{USERNAME}\AppData\Local\Programs\Python\Python313\python.exe
    • Set PYTHONPATH in workspace settings:
      { "python.analysis.extraPaths": ["D:/python/mcp/hrfco_service"] }
  3. Ensure HRFCO_API_KEY is set as a system environment variable.

Usage Examples

-
security - not tested
A
license - permissive license
-
quality - not tested

Real-time hydrological information retrieval service that provides water level, precipitation, dam discharge data, and observatory location information.

  1. Features
    1. Prerequisites
      1. Installation
        1. 構成
          1. Usage Examples

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Fetches tide information for any location using latitude and longitude, providing detailed tide data including high/low tides and station information with automatic UTC time zone handling.
              Last updated -
              1
              12
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              This server provides tools for interacting with the NOAA Tides and Currents API, enabling access to water level data, tide predictions, currents data, station information, and astronomical information like moon phases and sun times.
              Last updated -
              15
              3
              4
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              Provides access to real-time water data from the USGS Water Services API, allowing users to fetch instantaneous measurements like stream flow, gage height, temperature, and water quality parameters from thousands of monitoring stations across the US.
              Last updated -
              2
              Python
              • Apple
            • -
              security
              F
              license
              -
              quality
              Provides tools to fetch real-time weather data from the National Weather Service API, allowing users to retrieve weather alerts by state and detailed forecasts by coordinates.
              Last updated -
              42
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/kwenhwang/hrfco-service'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server