demo-mcp-server

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

  1. uv package manager should be installed
  2. Get the API Key for accessing openweathermap.org weather API

How to run locally?

  1. First, clone this repo and cd into it.
    $ git clone https://github.com/anjan-arun/demo-mcp-server.git && cd demo-mcp-server
    
  2. Sync the dependencies
    $ uv sync
    
  3. Update the API Key in variable - api_key of get_weather in main-weather.py
  4. Run the ACM MCP Server :
    $ uv run main-weather.py
    
  5. Test the MCP Server using Postman or Claude
    http://0.0.0.0:8086/mcp