MCP.so
Sign In

MCP Weather Server

@Maggieee030

Basic information

Category

Media & Design

Transports

stdio

Author

Maggieee030

About MCP Weather Server

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

MCP Weather Server config

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

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

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

Frequently asked questions

1

What runtime does MCP Weather Server require?

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

2

How do I test the server?

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

3

What data does the server return?

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

4

Is there any authentication or transport configuration?

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

5

Where does the weather data come from?

The README does not specify the data source.

Comments

More Media & Design MCP servers