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
Python 3.8+
Installation
Install the package:
git clone https://github.com/kwenhwang/hrfco-service.git cd hrfco_service pip install -e .Install required dependencies:
pip install -r requirements.txtConfigure 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 ~/.zshrcOr create a .env file:
echo "HRFCO_API_KEY=your-api-key" > .env
Configuration
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" } } } }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.exeSet PYTHONPATH in workspace settings:
{ "python.analysis.extraPaths": ["D:/python/mcp/hrfco_service"] }
Ensure
HRFCO_API_KEY
is set as a system environment variable.
Usage Examples
This server cannot be installed
Real-time hydrological information retrieval service that provides water level, precipitation, dam discharge data, and observatory location information.
Related MCP Servers
- AsecurityAlicenseAqualityFetches 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 -114MIT License
- -securityFlicense-qualityProvides 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
- AsecurityFlicenseAqualityProvides 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 -288
- -securityFlicense-qualityProvides global weather query services with features including real-time weather, weather forecasting, and multi-city weather comparison.Last updated -