# Spring AI MCP Weather Server Sample with WebMVC Starter This sample project demonstrates how to create an MCP server using the Spring AI MCP Server
Spring AI MCP Weather Server Sample with WebMVC Starter This sample project demonstrates how to create an MCP server using the Spring AI MCP Server Boot Starter
The sample showcases: - Integration with spring-ai-mcp-server-webmvc-spring-boot-starter - Support for both SSE (Server-Sent Events) and STDIO transports - Automatic tool registration using Spring AI's @Tool annotation - Two weather-related tools: - Get weather forecast by location (latitude/longitude) - Get weather alerts by US state
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
{
"mcpServers": {
"weather-starter-webmvc-server": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-Dspring.main.web-application-type=none",
"-Dlogging.pattern.console=",
"-jar",
"/absolute/path/to/mcp-weather-starter-webmvc-server-0.0.1-SNAPSHOT.jar"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
Provides a command-line and API-based coding assistant utilizing OpenAI APIs, function calling, and streaming.
Provides a production-ready template for building Model Context Protocol (MCP) servers with TypeScript.
Provides air quality data from the World Air Quality Index (AQICN) project.
Pay-per-call tools for agents via x402 (USDC on Base): Korean data, doc-to-Markdown, web utilities.
1trip PULSE: 21-tool AI travel planner. Flights, hotels, visa, safety, weather, 120+ cities.
Weather forecasts from 7Timer. No key required.