anjan-arun/demo-mcp-server
3.1
If you are the rightful owner of demo-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This document provides a comprehensive guide to setting up and running a Model Context Protocol (MCP) server for weather data retrieval using the OpenWeatherMap API.
Demo MCP Server
Pre-requisite
uvpackage manager should be installed- Get the
API Keyfor accessingopenweathermap.orgweather API
How to run locally?
- First, clone this repo and cd into it.
$ git clone https://github.com/anjan-arun/demo-mcp-server.git && cd demo-mcp-server - Sync the dependencies
$ uv sync - Update the API Key in variable -
api_keyofget_weatherin main-weather.py - Run the ACM MCP Server :
$ uv run main-weather.py - Test the MCP Server using Postman or Claude
http://0.0.0.0:8086/mcp