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