Overview
What is MCP Clima?
MCP Clima is a Model Context Protocol server that provides current weather information for different cities. It is designed for developers who need to integrate real-time weather data into MCP‑compatible applications.
How to use MCP Clima?
Install dependencies with npm install, build the project with npm run build, then call the get_weather tool by passing a request object with the city name and an optional language parameter to the handleRequest function.
Key features of MCP Clima
- Retrieves current weather for any city.
- Supports Spanish and English languages.
- Similar city suggestions when exact city not found.
- Returns temperature, precipitation, wind speed, condition, and local time.
- Simple single‑tool API with
get_weather.
Use cases of MCP Clima
- Get real‑time weather for a city before traveling.
- Query weather in either Spanish or English.
- Handle misspelled or incomplete city names with fallback suggestions.
- Obtain detailed meteorological data programmatically.
- Integrate into MCP‑based assistants or chatbots.
FAQ from MCP Clima
What tools are available in MCP Clima?
The server provides a single tool called get_weather, which retrieves the current weather for a given city.