Mcp Server Weather
@yestarz
关于 Mcp Server Weather
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-weather": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"你的jar包路径",
"--weather.api.api-key=YOUR API KEY"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mcp Server Weather?
Mcp Server Weather is a Java-based MCP server that provides real-time weather data by integrating with the QWeather API. It is intended for developers who want to add live weather queries to AI assistants or applications that support the Model Context Protocol.
How to use Mcp Server Weather?
Download the project, build the JAR with mvn clean package -Dmaven.test.skip=true, then configure it in your MCP client. For Claude Desktop, add the server to mcpServers in your config file, specifying the JAR path and your QWeather API key. For LangChain4J, use the provided StdioMcpTransport builder with the same command‑line arguments.
Key features of Mcp Server Weather
- Fetches real‑time weather data via the QWeather API.
- Exposes a single MCP tool:
getWeather. - Implemented in Java with Spring AI MCP.
- Transport via stdio for easy integration with MCP clients.
- Supports both Claude Desktop and LangChain4J usage.
Use cases of Mcp Server Weather
- Ask an AI assistant “What is the weather in Beijing right now?” and get an instant reply.
- Embed weather queries into a chatbot that uses the MCP protocol.
- Add weather lookup capabilities to a LangChain4J‑powered application.
- Use with Claude Desktop to answer weather‑related questions without manual searches.
FAQ from Mcp Server Weather
What data does Mcp Server Weather return?
It returns current weather conditions, including temperature, feels‑like temperature, wind direction and speed, humidity, precipitation, pressure, visibility, and cloud cover.
What are the runtime dependencies?
Java runtime (JRE) is required to run the JAR, and a valid QWeather API key must be provided via the --weather.api.api-key argument.
How does Mcp Server Weather authenticate?
It uses an API key from the QWeather service, passed as a command‑line argument when starting the server.
Which transport protocol does Mcp Server Weather use?
It uses the stdio transport, making it compatible with any MCP client that supports the standard input/output communication channel.
Can I use it with Claude Desktop?
Yes. Add the server configuration to your Claude Desktop MCP settings file, providing the path to the JAR and your API key.
媒体与设计 分类下的更多 MCP 服务器
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
RustChain MCP
ScottcjnMCP server for RustChain blockchain and BoTTube video platform — AI agent tools for earning RTC tokens. Built on createkr's RustChain SDK.
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
Video Editor MCP server
burningionMCP Interface for Video Jungle
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
评论