Overview
Weather MCP Server is a Python-based server that implements the Model Context Protocol (MCP) to provide weather information services, utilizing the National Weather Service (NWS) API for fetching weather alerts and forecasts.
To use the Weather MCP Server, clone the repository, install the necessary dependencies, and run the server. Connect it to MCP clients like Claude Desktop to access weather data.
- Weather Tools: Access weather alerts and forecasts based on geographical coordinates. - System Tools: Execute shell commands and monitor system processes. - MCP Integration: Compatible with MCP clients for seamless data access.
- Retrieving current weather alerts for specific states.
- Obtaining weather forecasts for given latitude and longitude.
- Monitoring system resource usage and processes.
Add to your AI client
Use these steps to connect Weather MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"weather-jalateras": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"weather-jalateras": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"weather-jalateras": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"weather-jalateras": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"weather-jalateras": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"weather-jalateras": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-weather-jalateras"
]
}
}
}FAQ
Can I use Weather MCP Server for any location?
Yes! You can get weather information for any location supported by the NWS API.
Is there a graphical interface for this server?
No, it is primarily a command-line tool designed for integration with MCP clients.
How do I contribute to the project?
You can contribute by adding new tools or resources and submitting a pull request on GitHub.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3420,"uuid":"cbdcba54-4d14-4ef8-a081-b6561bf0b3ef","name":"weather","title":"Weather MCP Server","description":"An example weather mcp server in python","avatar_url":"https://avatars.githubusercontent.com/u/1454089?v=4","created_at":"2025-03-19T12:36:07.100Z","updated_at":"2025-03-19T12:44:09.083Z","status":"created","author_name":"jalateras","author_avatar_url":"https://avatars.githubusercontent.com/u/1454089?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/jalateras/weather","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-20 09:54:21\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]