Back to directory
yestarz/mcp-server-weather

yestarz/mcp-server-weather

@yestarz

基于和风天气API的一个获取实时天气的MCP服务端,使用Java来实现。

weatherqweathermcpjavaspring-aireal-time天气和风天气context

Installation & Configuration

{
  "mcpServers": {
    "mcp-server-weather": {
      "command": "java",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-jar",
        "mcp-server-weather-0.0.1-SNAPSHOT.jar",
        "--weather.api.api-key=YOUR_API_KEY"
      ]
    }
  }
}

Information

Transport
stdio
Language
Java
Created
2026/6/14
Updated
2026/6/15