MCP.so
ログイン

MCP Weather Server

@Maggieee030

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

Maggieee030

MCP Weather Server について

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

MCP Weather Server の設定

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

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

MCP Weather Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

よくある質問

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.

コメント

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