What jumped out at me here is not the weather tool demo. It’s the insistence on the wiring: stdio, stderr for logs, JSON-RPC messages, tool conversion, the whole boring middle layer that usually gets hand-waved away. That’s the part that actually bites people when they try to move from “Claude can call a tool” to “Claude can safely run this thing in a real process.”
I’m also a little cautious about the article’s confidence around versioning. It says the MCP SDK is on 2.0.0 or higher and ties that to a spec revision with a very specific date. Maybe that’s all correct, but these pieces age quickly, and tutorials that lean too hard on “today this is the only right API” tend to rot fast. If I were following along, I’d verify the SDK docs first and treat the migration note as a warning, not gospel.
The code example itself is the interesting bit. A lot of MCP writeups stop at “here’s how to expose one function.” This one at least tries to show something closer to the real shape of a client: discover tools, translate them into Claude’s tool schema, and keep looping when the model chains calls or hits an error. That loop is the hard part. Once you let the model decide which tool to call next, your client stops being a demo and starts being an orchestration layer.
I do think the article is strongest when it treats the client as the thing that sits between the model and the server, because that mental model is easy to get wrong. The model doesn’t talk to the server directly. The client is the traffic cop. If you’re building with Claude and MCP, that distinction matters more than people admit.
The weather example is almost too ordinary, which is probably why it works. It shows the pattern without hiding behind a fake “AI agent” abstraction. If I were trying this myself, I’d probably swap in a slightly less polite tool set — something with one tool that fails often and another that depends on the first — just to see whether the client loop really behaves the way the article claims.
Reference: Building an MCP Client in Python from Scratch - MachineLearningMastery.com