
heyutesting
基于魅族天气API的Model Context Protocol (MCP) 服务器,为AI助手提供实时天气查询功能。
Repository Info
About This Server
基于魅族天气API的Model Context Protocol (MCP) 服务器,为AI助手提供实时天气查询功能。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Weather MCP Server
一个基于魅族天气API的Model Context Protocol (MCP) 服务器,可以为AI助手提供实时天气查询功能。
项目简介
Weather MCP Server 是一个使用 Model Context Protocol 实现的天气查询服务,允许AI助手(如Claude、GPT等)通过工具调用获取实时天气信息。目前支持查询中国主要城市的天气状况,包括实时温度、天气状况、湿度、风力等信息。
功能特点
- 支持查询多个中国城市的实时天气
- 提供详细的天气信息,包括温度、湿度、风向、风力等
- 基于MCP协议,可与支持该协议的AI助手无缝集成
- 使用魅族天气API作为数据源,提供可靠的天气数据
安装
确保您已安装Node.js环境(推荐v16或更高版本),然后按照以下步骤安装:
```bash
克隆仓库
git clone
安装依赖
npm install ```
使用方法
启动服务器:
```bash npm start ```
开发模式(使用nodemon自动重启):
```bash npm run dev ```
支持的城市
目前支持以下城市的天气查询:
- 北京
- 上海
- 武汉
技术栈
- Node.js
- Model Context Protocol SDK (@modelcontextprotocol/sdk)
- node-fetch
- zod(用于参数验证)
许可证
MIT
作者
heyu
Quick Start
Clone the repository
git clone https://github.com/rrriverrain/heyutestingInstall dependencies
cd heyutesting
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.