Basic information
About π¦οΈ Weather-MCP Server
A MCP server for weather forecast
π¦οΈ Weather-MCP is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by brunolnetto. Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: real-time-alerts, weather-forecast, weather-mcp.
Setup
{
"mcpServers": {
"weather_mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}
{
"mcpServers": {
"weather_mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}
{
"servers": {
"weather_mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}
π¦οΈ Weather-MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather_mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}
π¦οΈ Weather-MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is π¦οΈ Weather-MCP?
Weather-MCP is a FastAPI server that integrates with FastMCP and Pydantic AI to provide real-time weather alerts and forecasts for U.S. locations. It is designed for developers who want to enable natural language weather queries in their AI applications.
How to use π¦οΈ Weather-MCP?
Clone the repository, set up a virtual environment with uv, install dependencies, and set the OPENAI_API_KEY environment variable. Start the server with python weather_server.py β it runs at http://localhost:8000/sse. Interact via a Pydantic AI agent (e.g., agent.run("Are there any weather alerts for California?")) or directly through the FastMCP client.
Key features of π¦οΈ Weather-MCP
- Fetch active weather alerts for any U.S. state.
- Retrieve detailed weather forecasts by latitude and longitude.
- Natural language interaction powered by Pydantic AI.
- Extensible toolset built on FastMCP.
Use cases of π¦οΈ Weather-MCP
- Ask "Are there any weather alerts for California?" and get a real-time summary.
- Request a forecast for a specific coordinate, e.g.,
34.05, -118.25. - Embed weather intelligence into a chatbot or voice assistant with few lines of code.
Frequently asked questions
1 What are the dependencies and runtime requirements?
Python 3.8 or higher, an OpenAI API key (OPENAI_API_KEY), and dependencies installed via uv sync.
2 What data sources does the server use?
The README does not specify the underlying weather data provider; it fetches alerts and forecasts for U.S. locations only.
3 How do I authenticate with the server?
The server itself does not require authentication. It uses the OpenAI API key to power the LLM used for natural language interaction.
4 What are the known limits?
No limits are documented in the README. The tools currently cover U.S. weather alerts and forecasts by coordinates.
5 What transport does the server use?
The server exposes a Server-Sent Events (SSE) endpoint at http://localhost:8000/sse.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In