MCP.so
Sign In

Weather MCP Server

@Annihilater

Basic information

Category

Media & Design

License

MIT

Transports

stdio

Author

Annihilater

About Weather MCP Server

No overview available yet

Weather MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-get-weather": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "dist/index.js"
      ]
    }
  }
}

Weather MCP Server 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.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Weather MCP Server?

Weather MCP Server is a lightweight weather information service built with the Model Context Protocol (MCP). It provides current weather conditions for cities worldwide and is designed for easy integration with AI assistants and MCP‑compatible applications.

How to use Weather MCP Server?

Clone the repository, run npm install, then npm run build. Start the server with npx @modelcontextprotocol/inspector node dist/index.js. To use in Cursor, add the configuration "mcp-server-get-weather" to ~/.cursor/mcp.json, specifying the command node and the full path to dist/index.js.

Key features of Weather MCP Server

  • Retrieves current weather by city name
  • Returns temperature, weather description, humidity, and wind speed
  • Falls back to generated data when external API is unavailable
  • Lightweight and simple implementation built with TypeScript
  • Communicates via stdio transport using MCP protocol

Use cases of Weather MCP Server

  • Integrating real‑time weather data into an AI assistant or chatbot
  • Quickly checking weather for a specific city during conversation
  • Providing weather context in automated workflows or decision‑making tools
  • Serving as a demo or reference for MCP server development

Frequently asked questions

1

How does Weather MCP Server obtain weather data?

It uses an external API to fetch live weather data; if the external API is unavailable, it falls back to generated data.

2

What are the system requirements to run this server?

Node.js, npm, and TypeScript are required. The project uses the MCP SDK (`@modelcontextprotocol/sdk`) and Zod for validation.

3

How do I configure Weather MCP Server in Cursor?

Add the following to `~/.cursor/mcp.json`: `"mcp-server-get-weather": { "command": "node", "args": ["<path-to-your-project>/dist/index.js"] }`

4

What transport protocol does the server use?

The server uses stdio transport, as specified in the project structure.

5

Does Weather MCP Server require any authentication or API keys?

No authentication or API keys are mentioned in the documentation.

Comments

More Media & Design MCP servers