Weather MCP Server
Supports direct integration with LangChain through langchain-groq, enabling programmatic consumption of weather data in client applications
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Server what's the weather alert for Los Angeles?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Crash Course
A simple demo of MCP python sdk.
uv commands
start a new project
uv init <project-name>create a virtual environment
uv venvactivate the virtual environment
uv venv --activateinstall the dependencies
uv add <package>
uv add -r requirements.txt
uv syncrun application
uv run app.pyrun the development server
uv run devbuild the project
uv run buildRun server using MCP Inspector :
Install MCP python sdk
uv add "mcp[cli]"Run mcp inspector
uv run mcp dev server/weather.pyMCP Inspector is up and running at http://127.0.0.1:6274
Add server to claude desktop :
run command
uv run mcp install .\server\weather.pyquery "what is weather alert in CA" in claude desktop
Add server to cursor :
goto preferences > settings > mcp and copy paste claude config
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"C:\\Users\\Suraj\\Desktop\\Python\\mcp-crash-course\\mcpcrashcourse\\server\\weather.py"
]
}
}
}Then do a query in cursor chat
Directly consume server in code - using mcp-use :
Install mcp-use
uv add mcp-useInstall langchain-groq
uv add langchain-groqrun client
uv run server/client.pyAvailable Tools
1 toolget_alertsC
Get weather alerts for US state Args: state: Two letter US state code (e.g CA, NY etc)
Inputs: state (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently follows a consistent naming pattern. The tool name 'get_alerts' uses a clear verb_noun format, which would be consistent if more tools were added.
A single tool is too few for a weather server, as it lacks basic operations like getting current conditions, forecasts, or historical data. This severely limits the server's utility and scope.
The tool set is severely incomplete for a weather domain. It only provides alerts for US states, missing essential functions such as retrieving current weather, forecasts, or data for locations outside the US, making it inadequate for typical weather-related tasks.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA basic Model Context Protocol server implementation that demonstrates core MCP functionality including tools and resources. Provides weather alerts through the Weather API and serves as a learning example for MCP development.-
- FlicenseAqualityDmaintenanceDemonstrates creating and connecting an MCP weather server using FastMCP, with support for integration with Claude Desktop, Cursor, and local LLMs to query weather alerts and information.11-
- FlicenseBqualityDmaintenanceA basic MCP server adapted from the official quickstart guide that provides weather data functionality and works with OpenAI chat completions API. Demonstrates MCP server setup with configuration examples for Claude Desktop and development tools.2-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.13 npm-