This repository currently hosts a work-in-progress microservice for fetching weather forecasts.
This repository now hosts two functional microservices for fetching weather forecasts:
- US Weather Microservice:
us_mcp_server.pyprovides basic weather data, primarily serving as a testbed for the microservice architecture. - UK Met Office Microservice:
UK_Met_Office_Site_Specific_Forecast_MCP.pyintegrates with the UK Met Office Site-Specific forecast API via the Met Office DataHub (https://datahub.metoffice.gov.uk/) to provide UK-specific weather data and forecast parameters.
To run the US weather microservice:
- Ensure you have Python installed.
- Install any necessary dependencies (if any, typically listed in
pyproject.tomlorrequirements.txt). - Run the server:
python us_mcp_server.py
To run the UK Met Office microservice:
- Ensure you have Python installed.
- Install any necessary dependencies (if any, typically listed in
pyproject.tomlorrequirements.txt). - Set up API Credentials: You will need to obtain API credentials from the Met Office DataHub. Create a
privatedirectory in the project root and add a file namedmet_office_api_key.txtinside it. This file should contain your API key.# Example: private/met_office_api_key.txt YOUR_MET_OFFICE_API_KEY_HERE - Run the server:
python UK_Met_Office_Site_Specific_Forecast_MCP.py
Contributions are welcome as the project evolves. Please open an issue or pull request.
This project is licensed under the MIT License.