mcp-weatherapi
Simple implementation of MCP Server for WeatherAPI.com using SpringBoot
Documentation
Weather Service Application
This project is a Spring Boot application that provides weather information by city name using a REST API.
Features
- Fetch current weather details for a given city.
- Built with Java and Kotlin.
- Uses Spring Boot for application development.
- Reactive WebClient for API calls.
- Configurable API properties.
- Logs weather information for debugging purposes.
- Supports JSON responses for easy integration.
- Modular design with DTOs for clean data handling.
Technologies Used
- Java 21
- Kotlin
- Spring Boot 3.4.5
- Maven
- Lombok
- WebClient
Getting Started
Prerequisites
- Java 21 or higher
- Maven 3.8 or higher
Configuration
The application requires API properties to be configured in application.yml
or application.properties.
Below is an example configuration:
weather-api:
base-url: https://api.weatherapi.com/v1
endpoint: /current.json
api-key: YOUR_API_KEYReplace YOUR_API_KEY with your actual API key.
API Endpoints
Frequently asked questions
What is mcp-weatherapi?
mcp-weatherapi is Simple implementation of MCP Server for WeatherAPI.com using SpringBoot
How do I install mcp-weatherapi?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-weatherapi open source?
Yes — it is hosted on GitHub at https://github.com/khalidmnor/mcp-weatherapi.
Related MCP tools
A library for communication with a Minecraft client/server. Built for the Model Context Protocol to enhance AI capabilities. Java-based implementation.
MCP Server for Ghidra Java-based implementation. Trusted by 6400+ developers. Trusted by 6400+ developers. Trusted by 6400+ developers.
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI Trusted by 2800+ developers.
Plugin for JADX to integrate MCP server Java-based implementation. Trusted by 600+ developers. Trusted by 600+ developers.
🤖 The Semantic Engine for Model Context Protocol(MCP) Clients and AI Agents 🔥 Java-based implementation.
The official TypeScript SDK for Model Context Protocol servers and clients Trusted by 10500+ developers. Trusted by 10500+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP