MCP.so
Sign In

MCP Weather Server Setup Guide

@debanshu005

About MCP Weather Server Setup Guide

MCP server to get wearer forecast.

Basic information

Category

Media & Design

Runtime

python

Transports

stdio

Publisher

debanshu005

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Weather Server Setup Guide?

This is a setup guide for creating and running a weather server using the MCP SDK and uv, a Rust-based Python package manager. It provides a get_current_weather tool that accepts latitude and longitude and returns JSON weather data via the Model Context Protocol. It is intended for developers setting up an MCP-compatible weather service for use with Claude Desktop.

How to use MCP Weather Server Setup Guide?

Create a project folder, initialize a uv project, set up a virtual environment, and install the required packages (mcp[cli] and httpx). Run the server in development mode with mcp dev server.py, then open http://localhost:5173 in a browser. In the MCP Inspector, click Connect, go to the Tools tab, click List Tools, select get_current_weather, and enter latitude and longitude to retrieve weather data.

Key features of MCP Weather Server Setup Guide

  • Uses uv as a fast Python package manager written in Rust
  • Provides a get_current_weather tool for weather data
  • Includes MCP Inspector for interactive testing and debugging
  • Requires Claude Desktop App and a Claude.ai account
  • Server script must be named server.py and located in the project root

Use cases of MCP Weather Server Setup Guide

  • Setting up an MCP server for weather data retrieval
  • Testing MCP tools interactively with the MCP Inspector
  • Integrating weather data into Claude Desktop via the Model Context Protocol

FAQ from MCP Weather Server Setup Guide

What prerequisites are needed for MCP Weather Server Setup Guide?

You need a Claude.ai account, the Claude Desktop App (available for macOS and Windows), a code editor, and uv installed.

How do I install uv?

On macOS use brew install uv; on Windows use winget install --id=astral-sh.uv -e.

What packages does the project require?

Install mcp[cli] and httpx using uv add "mcp[cli]" httpx.

How do I test the server after starting it?

Open http://localhost:5173 in a browser, click Connect in the MCP Inspector, go to the Tools tab, click List Tools, select get_current_weather, and enter a latitude and longitude to see the JSON weather result.

What is the MCP Inspector?

It is a helpful tool for interacting with and debugging MCP tools during development, available via the web interface at localhost:5173.

Comments

More Media & Design MCP servers