Weather icon

Weather

Createdhu-qi

Expose weather data via an API that is directly callable by AI assistants.

About

Weather provides a FastAPI-based API for retrieving weather information, specifically designed for integration with AI assistants through its Machine Callable Program (MCP) interface. Leveraging the HeWeather API as its data source, it offers functionalities such as querying weather by city name, generating JWT tokens for authentication, and a dedicated MCP interface for seamless AI interaction. The service is easily deployable via Docker and configurable through environment variables, making it a versatile solution for developers looking to incorporate weather data into AI-powered applications.

Key Features

  • Implements an MCP interface for direct invocation by AI assistants.
  • Supports querying weather information by city name.
  • Supports Bearer Token authentication.
  • 0 GitHub stars
  • Provides JWT token generation and verification for secure access.
  • Uses HeWeather API as a data source.

Use Cases

  • Integrating weather information into AI chatbot responses.
  • Automating weather data retrieval for AI-powered applications.
  • Creating AI workflows that react based on current weather conditions.
Craft Better Prompts with AnyPrompt