Fetch data from Hong Kong Observatory with MCP. TypeScript MCP server that wraps Hong Kong Observatory (HKO) open-data APIs and exposes them through the Model Context Protocol.
https://github.com/louiscklaw/hko-mcpGive your AI assistants direct access to Hong Kong Observatory data. This TypeScript MCP server transforms HKO's open APIs into a standardized protocol that works seamlessly with Claude, Cline, and other MCP-compatible tools.
Building location-aware applications in Hong Kong? Your AI assistant can now pull current weather conditions, forecasts, and observatory data without you writing API wrappers or handling authentication. The MCP protocol standardizes the interface, so your weather queries work consistently across different AI tools.
Instead of manually fetching weather data or writing custom integrations, you get structured Hong Kong weather context directly in your development workflow.
Instant Weather Context: Ask your AI assistant about current Hong Kong conditions and get real HKO data, not generic weather information. Perfect for building location-specific applications or making weather-aware decisions during development.
Zero API Complexity: The server handles HKO's API authentication, rate limiting, and data formatting. Your AI assistant gets clean, structured responses without you managing HTTP clients or parsing responses.
Development Workflow Integration: Works with tools like Cline for context-aware coding. Building a Hong Kong delivery app? Your AI assistant can reference actual weather conditions while writing route optimization logic.
TypeScript Foundation: Built with modern TypeScript tooling including Vitest testing, ESLint configuration, and proper type definitions. Fork it and extend with additional HKO datasets as needed.
Location-Based App Development: Building apps for Hong Kong users? Your AI assistant can reference current typhoon warnings, temperature ranges, or humidity levels while suggesting UI adaptations or feature implementations.
Weather-Aware Logic: Writing outdoor event scheduling, delivery routing, or construction planning apps? Get real-time weather context during development instead of working with placeholder data.
Regional Data Integration: Combining Hong Kong weather with other local datasets? The MCP interface makes it easy to query weather conditions alongside other Hong Kong-specific data sources.
AI-Assisted Prototyping: When prototyping weather-dependent features, your AI assistant can use actual Hong Kong conditions to suggest realistic test scenarios and edge cases.
Add to your MCP configuration:
{
"mcpServers": {
"hko-mcp": {
"command": "node",
"args": ["<path>/hko-mcp/build/src/main.js"],
"disabled": false
}
}
}
Your AI assistant immediately gains access to Hong Kong Observatory data through simple queries. No API keys to manage, no rate limiting to worry about, no data parsing required.
The server wraps HKO's open data APIs and exposes them through MCP tools that your AI assistant can call directly. Built on the official MCP SDK with proper error handling, caching, and TypeScript types throughout.
The codebase follows modern Node.js patterns with comprehensive testing via Vitest and automated linting. Extend with additional HKO endpoints by adding new tool definitions to the server.
Perfect for developers building Hong Kong-focused applications who want their AI assistants to understand local weather context without the overhead of custom API integrations.