- Explore MCP Servers
- weather_mcp_server
Weather Mcp Server
What is Weather Mcp Server
weather_mcp_server is a weather query MCP server implemented in pure TypeScript based on the @modelcontextprotocol/sdk.
Use cases
Use cases include providing real-time weather updates for users, integrating weather data into smart home systems, and developing weather-related analytics tools.
How to use
To use weather_mcp_server, first install the dependencies by running ‘npm run build’. Then, start the server using ‘npx @modelcontextprotocol/inspector node dist/index.js’.
Key features
Key features include the creation of server instances using the McpServer class, tool registration through server.tool(), parameter validation with zod, and standardized response formatting.
Where to use
weather_mcp_server can be used in applications that require weather data retrieval, such as mobile apps, web applications, and IoT devices.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Weather Mcp Server
weather_mcp_server is a weather query MCP server implemented in pure TypeScript based on the @modelcontextprotocol/sdk.
Use cases
Use cases include providing real-time weather updates for users, integrating weather data into smart home systems, and developing weather-related analytics tools.
How to use
To use weather_mcp_server, first install the dependencies by running ‘npm run build’. Then, start the server using ‘npx @modelcontextprotocol/inspector node dist/index.js’.
Key features
Key features include the creation of server instances using the McpServer class, tool registration through server.tool(), parameter validation with zod, and standardized response formatting.
Where to use
weather_mcp_server can be used in applications that require weather data retrieval, such as mobile apps, web applications, and IoT devices.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Weather MCP Server
基于@modelcontextprotocol/sdk实现的一个纯TS实现的天气查询MCP server
基本思路
- 使用 McpServer 类创建服务器实例
- 通过 server.tool() 注册工具
- 使用 zod 进行参数验证
- 返回标准化的响应格式
quick start
安装依赖
- npm run build
- npx @modelcontextprotocol/inspector node dist/index.js
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










