Temporal Durable MCP Weather Sample MCP Server

The purpose of this repo is to demonstrate how easy it is to leverage workflows as tools for MCP servers by taking modelcontext.io's weather example

Local serverstdioPython

What is the Temporal Durable MCP Weather Sample MCP server?

The purpose of this repo is to demonstrate how easy it is to leverage workflows as tools for MCP servers by taking modelcontext.io's weather example and making it durable by implementing the MCP tools as Temporal workflows. The temporal durable mcp weather sample mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 1 defined tool rather than through you.

Adding it to your client

pyproject.toml on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • Results — Here we can see Claude is using the tools intelligently to look for weather alerts while getting me weather information:

Configuration

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the temporal durable mcp weather sample mcp server does with a few real requests.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Temporal Durable MCP Weather Sample's toolset — Results — is a fair guide to whether it matches your workflow. It is maintained by Aslan11; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
ResultsHere we can see Claude is using the tools intelligently to look for weather alerts while getting me weather information:

How to install the Temporal Durable MCP Weather Sample MCP server

{
         "mcpServers": {
           "weather": {
             "command": "uv",
             "args": [
               "--directory",
               "/ABSOLUTE/PATH/TO/PARENT/FOLDER/temporal-durable-mcp-weather-sample",
               "run",
               "weather.py"
             ]
           }
         }
       }

Configuration as documented by the project. Restart the client after saving.

Configuration

Example prompts to try

  • Use Temporal Durable MCP Weather Sample to Results.

Frequently asked questions

It connects Temporal Durable MCP Weather Sample to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Results) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Temporal Durable MCP Weather Sample directly.