my-weatherstation-mcpserver-example

my-weatherstation-mcpserver-example

0

This project is a simple weather API example that implements a Model Context Protocol (MCP) Server to access data from a private weather station. It is intended as an illustrative example accompanying a blog post.

MCP Server Example

A simple weather api example. The MCP Server calls my private weather station API.

It's the source code of my blog post: https://muench.dev/post/2025-04-das-model-context-protocol-mcp

Requirements

  • Python 3.12
  • uv

Getting started

Clone repository and run:

uv venv
source .venv/bin/activate
uv pip install .
fastmcp run --transport=sse --port=8000 main.py