MCP.so
ログイン

MCP Weather Server

@Maggieee030

MCP Weather Server について

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

基本情報

カテゴリ

メディアとデザイン

ランタイム

node

トランスポート

stdio

公開者

Maggieee030

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

コメント

「メディアとデザイン」の他のコンテンツ