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.

评论

媒体与设计 分类下的更多 MCP 服务器