MCP.so
ログイン

Weather Server MCP Server

@chaminda360

Weather Server MCP Server について

TypeScript-based MCP server that implements a weather information system.

基本情報

カテゴリ

メディアとデザイン

ランタイム

node

トランスポート

stdio

公開者

chaminda360

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

2

Fetch current weather information

Update weather information

概要

What is Weather Server MCP Server?

It is a TypeScript-based MCP server that implements a weather information system. It demonstrates core MCP concepts by providing resources, tools, and prompts for fetching, updating, and summarizing weather data via an external API.

How to use Weather Server MCP Server?

Install dependencies with npm install, then rename .envexample to .env and set your OPENWEATHER_API_KEY. Build with npm run build. For Claude Desktop, add the server configuration to the claude_desktop_config.json file with the path to the built index.js. For development, use npm run watch for auto-rebuild.

Key features of Weather Server MCP Server

  • Resources representing weather data with weather:// URIs and metadata
  • fetch_weather tool to retrieve current weather for a location
  • update_weather tool to update weather data in server state
  • summarize_weather prompt for generating structured weather summaries
  • JSON mime type for structured data access
  • Integrates with the OpenWeather API via an API key

Use cases of Weather Server MCP Server

  • Fetch current weather information for a given location
  • Update weather data stored in the server state
  • Generate a summary of current weather data for LLM consumption
  • Demonstrate MCP resource, tool, and prompt concepts with a real API

FAQ from Weather Server MCP Server

What API key is required?

An OpenWeather API key, set in the .env file as OPENWEATHER_API_KEY.

How do I debug the server?

Use the MCP Inspector by running npm run inspector.

What transport does this server use?

MCP servers communicate over stdio.

How do I install it for Claude Desktop?

Add the server configuration to the Claude Desktop config file with the path to the built index.js.

コメント

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