Simple MCP Weather Tool
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Simple MCP Weather Toolwhat's the weather in Gdansk, Poland?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Simple MCP Weather Tool for LM Studio
Minimal MCP weather server for LM Studio. Fetches live weather from Open-Meteo. No API key required. Returns structured JSON with location disambiguation.
Use it as a drop-in tool in LM Studio chat, or run the optional Python CLI demo.

Features
MCP stdio server compatible with LM Studio 0.3.17+
Structured JSON weather output (temperature, conditions, humidity, wind, etc.)
Location disambiguation via
country_codeand optionalregionOptional travel-advisor system prompt
Optional CLI agent demo for developers
Related MCP server: MCP Weather Server
Requirements
Python 3.12+
LM Studio 0.3.17+ (for chat integration)
Internet access (Open-Meteo API)
A local model with tool/function calling support
Install
git clone https://github.com/yourname/simple-mcp-weather.git
cd simple-mcp-weather
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtUse with LM Studio
Open LM Studio: Program tab, then Install, then Edit mcp.json
Add the weather server (use absolute paths):
{
"mcpServers": {
"weather": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/mcp_server.py"]
}
}
}See mcp.json.example for a template.
Save. LM Studio will spawn the MCP server automatically.
In chat, enable tools and select a model that supports function calling.
Ask a question, for example:
Is a trip to the Polish seaside a good idea right now?
Czy wyjazd nad morze w Helu to dobry pomysł?
Recommended system prompt
For travel recommendations instead of raw weather data, paste the contents of prompts/travel_advisor.txt into LM Studio's System Prompt field.
Tool: get_weather
Parameter | Required | Description |
| yes | City name, e.g. |
| no | ISO code, e.g. |
| no | Admin region to disambiguate similar city names |
Example output
{
"requested_city": "Hel",
"requested_country_code": "PL",
"requested_region": null,
"resolved_city": "Hel",
"resolved_region": "Pomerania",
"country": "Poland",
"country_code": "PL",
"latitude": 54.60384,
"longitude": 18.80351,
"temperature_c": 17.2,
"apparent_temperature_c": 16.2,
"condition": "overcast",
"humidity_percent": 90,
"precipitation_mm": 0.0,
"wind_speed_kmh": 20.0,
"measured_at": "2026-07-13T14:30"
}Project structure
.
├── mcp_server.py # MCP tool server (LM Studio entry point)
├── mcp.json.example # LM Studio config template
├── prompts/
│ └── travel_advisor.txt # Optional system prompt for chat
├── requirements.txt # Server dependencies
├── requirements-demo.txt # CLI demo dependencies
├── example.env # CLI demo environment template
└── examples/
└── cli-agent/ # Optional Python agent demoOptional CLI demo
A Python agent that connects to LM Studio via the OpenAI-compatible API and calls the MCP server programmatically.
pip install -r requirements-demo.txt
cp example.env .env
python examples/cli-agent/main.py "Is a trip to Hel, Poland a good idea?"See examples/cli-agent/README.md for details.
Troubleshooting
Problem | Fix |
Wrong city / weather from another country | Pass |
Model ignores the tool | Use a model with function calling; set temperature to ~0.1-0.2 |
MCP server not loading | Check absolute paths in |
Region name mismatch | Translated names (e.g. Pomorskie vs Pomerania) are handled; retry with |
License
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI assistants to retrieve current weather, forecasts, and summaries for any global location using the Open-Meteo API, with no API key required.Last updated28Creative Commons Zero v1.0 Universal
- Flicense-qualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.Last updated9
- FlicenseBqualityDmaintenanceProvides current weather conditions and forecasts for any location using the Open-Meteo API.Last updated2
- Alicense-qualityCmaintenanceProvides real-time weather information for any location using the Open-Meteo API, enabling AI models to query current weather data through the Model Context Protocol.Last updated19MIT
Related MCP Connectors
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pi0tr010/Simple-MCP-Weather-Tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server