Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-book-mcp-server-weather-api-http": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This is a Spring Boot application acting as a Model Context Protocol (MCP) server that provides weather information using the WeatherAPI.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in maps
Open-source toolkit for the QVeris capability routing network: CLI, MCP server, Python SDK, skills, and REST API docs for agents to discover, inspect, call, and audit real-world tools.
Real-time BART departures, trip planning, fares, stations, and advisories.
Hawaii MCP: tours, events, weather, restaurants, and day-plan itineraries across 4 islands.
Real-time SF Muni departures, routes, alerts, vehicle positions, and schedules.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Book Mcp Server Weather Api Http and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This is a Spring Boot application acting as a Model Context Protocol (MCP) server that provides weather information using the WeatherAPI.
Example code from Book What you need to know about MCP servers - with Java and spring-boot examples By Peter Isberg URL: TODO
weather-tool that fetches current weather for a specified city.GET /sse: SSE endpoint for MCP connection.POST /sse: Endpoint for Streamable HTTP clients.POST /message: Endpoint for handling JSON-RPC messages.To build the application, run the following command in the project root:
mvn clean package
This will create an executable JAR file in the target/ directory (e.g., target/weather-tool-0.0.1-SNAPSHOT.jar).
You can run the application using the Maven plugin:
mvn spring-boot:run
Or by running the built JAR file directly:
java -jar target/weather-tool-0.0.1-SNAPSHOT.jar
The server will start on port 8080 by default.
The weather-tool accepts the following parameters:
q (string, required): City name (e.g., "London").key (string, required): Your WeatherAPI key.You can test the tool using a POST request to http://localhost:8080/message:
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "weather-tool",
"arguments": {
"q": "London",
"key": "YOUR_API_KEY"
}
},
"id": 1
}