drio
Open app

Weather MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Weather MCP Server is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API.

To use the Weather MCP Server, clone the repository, set up a virtual environment, install the required packages, and run the server using Python.

  • Get weather alerts for a US state. - Get weather forecast for a specific location using latitude and longitude.
  1. Monitoring weather alerts for specific states.
  2. Obtaining weather forecasts for various locations.

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-mcp-server-jackkuo666": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

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-mcp-server-jackkuo666": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "weather-mcp-server-jackkuo666": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

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-mcp-server-jackkuo666": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "weather-mcp-server-jackkuo666": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "weather-mcp-server-jackkuo666": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-server-jackkuo666"
      ]
    }
  }
}

FAQ

What programming language is used for Weather MCP Server?

The server is built using Python.

Is there a way to customize the server settings?

Yes! You can modify the `config.py` file to customize settings like API base URL and logging level.

How can I contribute to the project?

Contributions are welcome! You can submit a Pull Request on the GitHub repository.