MCP Weather Server

Python 3.8+ MCP 1.0 MIT License v1.0.0

A Model Context Protocol server enabling AI models to discover and execute external tools through a web interface. This demo shows simulated responses representing the MCP server functionality.

Developer: Cavin Otieno

API Endpoints

GET / - Web Interface
GET /api/discover - List all available tools
POST /api/execute - Execute a tool with arguments
GET /api/health - Server health check

Available Tools

Try It Out

Response Preview

Select a tool to see a demo response...

Features

🔬
Tool Discovery
⚡
Fast Execution
🔒
Secure
💻
No Dependencies

Run Locally

To use the full MCP server functionality, run locally with Flask:

# Clone the repository
git clone https://github.com/OumaCavin/mcp-weather-server.git
cd mcp-weather-server

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate  # Linux/macOS
# .venv\Scriptsctivate   # Windows

# Install dependencies
pip install flask

# Run the web server
python web_server.py

# Open http://localhost:5000

Developer Attribution

CO
Cavin Otieno
@OumaCavin
cavin.otieno012@gmail.com
MIT License

View on GitHub | GitHub Profile

© Cavin Otieno. All rights reserved.
This project is licensed under the MIT License.