Skip to main content
Glama

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

Related MCP server: Weather Server

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 Variables

    Linux/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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    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.
    3
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides global weather query services with features including real-time weather, weather forecasting, and multi-city weather comparison.
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to real-time and historical water conditions of the Aare river in Switzerland, including water temperature, flow rates, swimming recommendations, and data from multiple monitoring locations along the river.
    5
    17
    1
    GPL 3.0
  • A
    license
    B
    quality
    C
    maintenance
    Provides access to UK Environment Agency's real-time flood monitoring data, enabling users to check flood warnings, monitor water levels and flow rates, and access historical measurements from monitoring stations across the UK.
    11
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • SABESP: Installations List, official-source lookup. Platform-hosted, pay per query with prepaid cred

  • Receita Federal: NIRF, official-source lookup. Platform-hosted, pay per query with prepaid credit.

  • CPFL: Download via link, official-source lookup. Platform-hosted, pay per query with prepaid credit.

View all MCP Connectors

Latest Blog Posts

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