HRFCO Service

by kwenhwang

Integrations

  • Supports configuration of API keys and environment variables through .env files for secure access to the hydrological data API.

  • Provides integration with GitHub for installation and version control of the hydrological data service.

HRFCO Service

Real-time hydrological information inquiry service (MCP Server)

Features

  • Real-time hydrological information such as water level, precipitation, and dam discharge
  • View detailed information by observatory
  • Time series data filtering and statistics
  • Observatory location information query

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"
    Or add it in Control Panel > System > Advanced System Settings > Environment Variables > User VariablesLinux/macOS:
    # Add to ~/.bashrc or ~/.zshrc export HRFCO_API_KEY="your-api-key" # Apply changes source ~/.bashrc # or source ~/.zshrc
    Or create a .env file:
    echo "HRFCO_API_KEY=your-api-key" > .env

Configuration

  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. Configuration
          1. Usage Examples

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              Provides weather forecast data for locations in China using the HeFeng Weather API, with real-time, hourly, or daily forecasts and location-based queries.
              Last updated -
              1
              7
              2
              TypeScript
            • 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
              11
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables Claude to query comprehensive geologic data from the Macrostrat API, including geologic units, columns, minerals, and timescales through natural language.
              Last updated -
              6
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
              Last updated -
              Python
              MIT License

            View all related MCP servers

            ID: mhy7vwgcte