Mcp Server Weather
Description
## MCP Server Weather > 基于和风天气API的一个获取实时天气的MCP服务端,使用Java来实现。和风天气API文档:https://dev.qweather.com/docs/api/weather/weather-now/ ## 可用的工具列表 - 获取实时天气 `getWeather` ## 使用方法 1. 下载项目到本地 2. 打包项目,生成jar包 `mvn clean package -Dmaven.test.skip=true` ## Claude使用方法: ```json { "mcpServers": {…
About
## MCP Server Weather > 基于和风天气API的一个获取实时天气的MCP服务端,使用Java来实现。和风天气API文档:https://dev.qweather.com/docs/api/weather/weather-now/ ## 可用的工具列表 - 获取实时天气 `getWeather` ## 使用方法 1. 下载项目到本地 2. 打包项目,生成jar包 `mvn clean package -Dmaven.test.skip=true` ## Claude使用方法: ```json { "mcpServers": { "mcp-server-weather": { "command": "java"…
Details
- Author
- yestarz
- GitHub stars
- 26
- Downloads
- 393
- Categories
- Media
Jump to
- 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.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Mcp Server WeatherCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server weather": {
"mcp-server-weather": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"\u4f60\u7684jar\u5305\u8def\u5f84",
"--weather.api.api-key=YOUR API KEY"
]
}
}
}
}
McpServers
{
"mcp-server-weather": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"\u4f60\u7684jar\u5305\u8def\u5f84",
"--weather.api.api-key=YOUR API KEY"
]
}
}
MCP Server Weather
> 基于和风天气API的一个获取实时天气的MCP服务端,使用Java来实现。和风天气API文档:https://dev.qweather.com/docs/api/weather/weather-now/
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
