MCP.so
Sign In

MCP Weather Server

@Maggieee030

About MCP Weather Server

一个简单的天气信息 MCP 服务器,提供城市天气查询功能。

Basic information

Category

Media & Design

Runtime

node

Transports

stdio

Publisher

Maggieee030

Config

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

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Weather Server?

MCP Weather Server is a weather information server based on the Model Context Protocol (MCP). It provides city weather query functionality, returning temperature and weather conditions for a specified city.

How to use MCP Weather Server?

Clone the repository, install dependencies with npm install, build the project with npm run build, and start the server with npm start. Test the server using MCP Inspector via npx @modelcontextprotocol/inspector. The server exposes a get_weather tool that accepts a city parameter (string) and returns temperature and condition.

Key features of MCP Weather Server

  • Query weather information for a specified city
  • Returns temperature and weather condition
  • Simple API interface via MCP protocol
  • Easy to install and run with Node.js

Use cases of MCP Weather Server

  • Integrate real-time weather data into MCP-compatible AI assistants
  • Provide weather context for conversational agents or automation workflows
  • Test and demonstrate MCP server functionality with a simple tool

FAQ from MCP Weather Server

What runtime does MCP Weather Server require?

It requires Node.js and npm to install and run.

How do I test the server?

Use MCP Inspector by running npx @modelcontextprotocol/inspector after starting the server.

What data does the server return?

It returns the city name, temperature (numeric), and weather condition (string, e.g., "Sunny").

Is there any authentication or transport configuration?

The README does not mention authentication or transport details; it uses the default MCP transport.

Where does the weather data come from?

The README does not specify the data source.

Comments

More Media & Design MCP servers