drio
Open app

Weather MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Weather MCP Server is a server application that provides weather data using the Model Context Protocol (MCP). It is built with TypeScript and runs on Node.js.

To use the Weather MCP Server, clone the repository, install the dependencies, build the project, and run the server. You can also configure it using environment variables.

  • Fetches and processes weather data. - Utilizes the Model Context Protocol (MCP) SDK. - Built with TypeScript for enhanced type safety. - Configurable via environment variables.
  1. Providing real-time weather updates for applications.
  2. Integrating weather data into other services using MCP.
  3. Building weather-related applications that require reliable data.

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

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

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What programming language is used for Weather MCP Server?

The server is built using TypeScript.

How can I configure the server?

You can configure the server using environment variables in a `.env` file.

Is there a license for this project?

Yes, the project is licensed under the ISC License.