Introduction At the beginning of 2026, the UK was experiencing an unusually wet start — something that seemed to dominate everyday conversation. That got me thinking: Why shouldn’t AI agents be able to join in too? So I set out to build a weather-powered Model Context Protocol (MCP) server using Spring AI , developed with Cursor agents . Along the way, I got to explore agentic development, learn new tooling, and solve a few unexpected challenges. What I built I built an Accuweather -powered MCP server that enables AI agents to query: Current weather Hourly forecasts Daily forecasts The server is published on the official MCP Registry and can be integrated into tools like Claude. This allows LLMs to access structured, real-time weather data via tools—rather than relying on potentially outdated or hallucinated responses. How it works The MCP server exposes weather functionality as tools that AI agents can call via the Model Context Protocol.…