MCP Weather Server Setup Guide
@debanshu005
关于 MCP Weather Server Setup Guide
MCP server to get wearer forecast.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
媒体与设计 分类下的更多 MCP 服务器
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality

BibiGPT AI video & audio summarizer
JimmyLvOpenClaw / Claude Code / Codex Agent skill for summarizing videos/audio via BibiGPT CLI (bibi)
评论