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 henry@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
uv
package manager should be installed- Get the
API Key
for accessingopenweathermap.org
weather 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_key
ofget_weather
in 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