
MCP-Weather-Server
一个简单的天气信息mcp服务器,提供城市天气查询功能。,提供城市天气查询功能。
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
MCP Weather Server
一个基于 MCP(Model Context Protocol)的天气信息服务器,提供城市天气查询功能。
功能特点
- 支持查询指定城市的天气信息
- 返回温度和天气状况
- 简单易用的 API 接口
安装
# 克隆仓库
git clone https://github.com/Maggieee030/mcp-weather-server.git
# 进入项目目录
cd mcp-weather-server
# 安装依赖
npm install
使用方法
- 构建项目:
npm run build
- 启动服务器:
npm start
- 使用 MCP Inspector 测试:
npx @modelcontextprotocol/inspector
API 说明
get_weather
获取指定城市的天气信息。
参数:
- city: 城市名称(字符串)
示例:
{
"city": "Beijing"
}
返回:
{
"city": "Beijing",
"temperature": 25,
"condition": "Sunny"
}
许可证
MIT
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_ct6Czu6i
The MCP-Weather-Server by Maggieee030 is an outstanding tool for developers needing real-time weather data integration. Its seamless API and precise documentation make it user-friendly, even for beginners. The server's reliability and accuracy in delivering weather updates are remarkable. Highly recommend!

user_SQZoE5i8
As a dedicated user of the mcp-weather-server, I am thoroughly impressed with its performance and reliability. Created by Maggieee030, this tool offers accurate weather data and a user-friendly interface. The easy-to-navigate start URL and warm welcome message make it accessible for both beginners and experts. Highly recommended for anyone needing dependable weather information.

user_JUDRONWo
As a dedicated user of MCP applications, I find the MCP-Weather-Server absolutely exceptional. Created by Maggieee030, this server provides accurate and timely weather updates, making it an invaluable tool for planning daily activities. The straightforward product description and user-friendly start URL ensure a seamless experience right from the welcoming message. Highly recommended for anyone needing reliable weather information!

user_YcoZ0xDu
As a loyal user of the mcp-weather-server developed by Maggieee030, I am thoroughly impressed with its performance and reliability. The seamless integration and user-friendly interface make it a top choice for weather data management. This tool has significantly improved my workflow, providing accurate and timely weather updates. Highly recommended!

user_hN3hFJA5
I've been using the mcp-weather-server for a while now, and I must say it's incredibly reliable and accurate. Created by Maggieee030, this server provides detailed weather information efficiently. The welcome message is friendly, and the server's performance in delivering updates quickly is impressive. Highly recommend for anyone needing consistent weather data!

user_hXoUZCUz
I've been using mcp-weather-server by Maggieee030 and it has greatly enhanced my weather tracking experience. The server is reliable, fast, and provides comprehensive weather data in a user-friendly manner. I appreciate the clear welcome message and intuitive start URL. Highly recommend this tool for anyone looking for a top-notch weather server.

user_TMMp2RzE
As a dedicated user of the mcp-weather-server, I am thoroughly impressed by its seamless performance and precise weather updates. Maggieee030 has truly outdone themselves with this creation. It efficiently gathers and displays real-time data, ensuring that I am always prepared for any weather condition. Highly recommended for anyone seeking reliable weather information!

user_1fd0dgZm
The mcp-weather-server by Maggieee030 is an outstanding weather application that delivers accurate and real-time weather updates. As a loyal user, I appreciate its seamless user interface and reliable performance. Perfect for everyday use, it keeps me prepared for any weather condition. Highly recommended!