home / mcp / weather api167 mcp server
Provides weather data endpoints by querying Weather Api167 with current, forecast, and other meteorological data.
Configuration
View docs{
"mcpServers": {
"bach-ai-tools-weather_api167": {
"command": "python",
"args": [
"server.py"
],
"env": {
"API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}This MCP server provides access to the Weather Api167 API using stdio transport. It lets you fetch current weather, forecasts, country details, US weather alerts, zones, earthquakes, and air pollution data through a plug-in MCP client workflow.
You can run this MCP server in multiple ways depending on your preferred workflow. Choose the stdio method for local runs or a direct command that integrates with your MCP client. The available run options below start the server and expose the Weather Api167 endpoints through your MCP client.
# Prerequisites
- Python 3.8+ (for direct development runs)
- pip
- uvx (optional but recommended for quick start)
# Install from PyPI
pip install bach-weather_api167
# Or install from source (editable)
pip install -e .Configuration and usage are designed to be practical and straightforward. You can run the server directly, or integrate it into your MCP environment using the provided commands. Environment variables are used to secure API access and control runtime behavior.
Fetch forecast weather data using coordinates, a place name, or a zip code and return multiple timestamps with optional units and language.
Retrieve detailed information for a specified country.
Obtain US weather alert data for a region or area with filtering options such as urgency, severity, and certainty.
Get a list of weather zones for a given US state or all zones if no state is provided.
Fetch near real-time earthquake information for a selected country and date range.
Get current weather data using coordinates, a place name, or a zip code with optional units and language.
Retrieve air pollution data by coordinates or place with an optional data type.