mcp-poc
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., "@mcp-pocWhat's the weather in London?"
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.
MCP Weather Server POC
A proof of concept MCP (Model Context Protocol) server that integrates with external REST APIs to provide weather information.
Features
hello: Simple greeting tool
get_weather: Get weather by latitude and longitude coordinates
get_weather_by_location: Get weather by city/location name
Related MCP server: weather-mcp-server
Weather Data
This POC uses the Open-Meteo API (free, no API key required):
Forecast data: https://api.open-meteo.com/v1/forecast
Setup
1. Create Virtual Environment (if not already created)
python -m venv venv2. Activate Virtual Environment
On Windows (PowerShell):
(Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned) ; (& .\venv\Scripts\Activate.ps1)On Windows (CMD):
venv\Scripts\activateOn macOS/Linux:
source venv/bin/activate3. Install Dependencies
pip install -r requirements.txtRunning the Server
python server.pyThe server will start and be ready to receive requests from MCP clients.
Usage Examples
In an MCP Client
Get weather by location name
Tool: get_weather_by_location
Parameters:
- location: "London"Response:
Current Weather in London, United Kingdom:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Temperature: 15.2°C
Humidity: 72%
Condition: Partly cloudy
Wind Speed: 12.5 km/h
Time: 2024-06-25T14:30Get weather by coordinates
Tool: get_weather
Parameters:
- latitude: 51.5074
- longitude: -0.1278Simple greeting
Tool: hello
Parameters:
- name: "World"Testing with curl (if exposed via HTTP)
curl http://localhost:8000/tools/call \
-X POST \
-H "Content-Type: application/json" \
-d '{"tool": "get_weather_by_location", "params": {"location": "Tokyo"}}'Supported Weather Codes
The server uses WMO weather codes and interprets them as:
0: Clear sky
1-3: Various cloud coverage
45-48: Fog conditions
51-82: Various precipitation types
95-99: Thunderstorm conditions
Architecture
┌──────────────────┐
│ MCP Client │
└────────┬─────────┘
│
│ (MCP Protocol)
│
┌────────▼─────────────────┐
│ MCP Server (FastMCP) │
│ ┌──────────────────────┐│
│ │ Tools: ││
│ │ - hello ││
│ │ - get_weather ││
│ │ - get_weather_... ││
│ └──────────────────────┘│
└────────┬─────────────────┘
│
│ (REST API)
│
┌────────▼──────────────────┐
│ Open-Meteo API │
│ - Weather Data │
│ - Geocoding │
└───────────────────────────┘Error Handling
The server includes error handling for:
Network timeouts
Connection errors
Invalid locations
HTTP errors
Malformed responses
License
MIT License
Future Enhancements
Add historical weather data
Add weather forecasts (multi-day)
Add severe weather alerts
Add precipitation probability
Support multiple weather providers
Add caching for repeated requests
Add UV index information
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
- Flicense-qualityCmaintenanceA minimal MCP server that provides weather data using Open-Meteo API, designed as a teaching tool for improving AI agent tool interfaces.Last updated
- Alicense-qualityBmaintenanceAn MCP server that wraps the Open-Meteo API to provide current weather, forecasts, and historical data for any location without requiring an API key.Last updatedMIT
- Alicense-qualityCmaintenanceA no-API-key-required MCP server that wraps Open-Meteo APIs to provide geocoding and weather forecast data, enabling city lookups and multi-day forecasts through tools, resources, and prompts.Last updatedMIT
- Flicense-qualityBmaintenanceA minimal MCP server that provides current weather and forecasts for any city using the free Open-Meteo API, no API key required.Last updated17
Related MCP Connectors
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
A basic MCP server to operate on the Postman API.
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/BhavanG/mcp-poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server