Skip to main content
Glama

🌊 HRFCO Intelligent Water Search System

AI-friendly Korean water data search system with natural language processing.

πŸš€ Features

  • Natural Language Search: "ν•œκ°• μˆ˜μœ„", "μ„œμšΈ κ°•μš°λŸ‰" β†’ Automatic station discovery

  • Smart Matching: 16 regions + river name mapping + similarity scoring

  • Response Optimization: All responses < 1KB (prevents LLM token overflow)

  • OpenAI Compatible: Ready for ChatGPT Function Calling integration

Related MCP server: USGS Water MCP

πŸ“‘ API Endpoints

  • /.netlify/functions/search-station - Search stations by location name

  • /.netlify/functions/get-water-info - One-stop water information query

  • /.netlify/functions/recommend-stations - Recommend nearby stations

  • /.netlify/functions/openai-functions - OpenAI Function definitions

πŸ”§ Environment Variables

HRFCO_API_KEY=your-api-key-here

πŸ§ͺ Test Examples

# Search stations curl -X POST https://your-site.netlify.app/.netlify/functions/search-station \ -d '{"location_name": "ν•œκ°•", "limit": 3}' # Get water info curl -X POST https://your-site.netlify.app/.netlify/functions/get-water-info \ -d '{"query": "μ„œμšΈ μˆ˜μœ„", "limit": 5}'

πŸ“Š Performance

  • Data Source: 1,366 water level + 742 rainfall observatories

  • Response Size: 346-522 bytes (optimized for LLM)

  • Search Accuracy: 90%+ for Korean location names

  • Response Time: < 3 seconds

Built with TypeScript + Netlify Functions

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

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