JUHE API Marketplace
suryanshp1 avatar
MCP Server

Weather MCP Server

A simple demonstration server for the MCP Python SDK that provides weather alerts for locations, allowing users to query weather information through Claude Desktop or Cursor.

0
GitHub Stars
3/2/2026
Last Updated
MCP Server Configuration
1{
2 "name": "weather",
3 "command": "uv",
4 "args": [
5 "run",
6 "--with",
7 "mcp[cli]",
8 "mcp",
9 "run",
10 "C:\\Users\\Suraj\\Desktop\\Python\\mcp-crash-course\\mcpcrashcourse\\server\\weather.py"
11 ]
12}
JSON12 lines
  1. Home
  2. MCP Servers
  3. mcpcrashcourse

README Documentation

MCP Crash Course

A simple demo of MCP python sdk.

MseeP.ai Security Assessment Badge

Weather Server MCP server

uv commands

start a new project

uv init <project-name>

create a virtual environment

uv venv

activate the virtual environment

uv venv --activate

install the dependencies

uv add <package>
uv add -r requirements.txt
uv sync

run application

uv run app.py

run the development server

uv run dev

build the project

uv run build

Run server using MCP Inspector :

  • Install MCP python sdk
uv add "mcp[cli]"
  • Run mcp inspector
uv run mcp dev server/weather.py

MCP Inspector is up and running at http://127.0.0.1:6274

Add server to claude desktop :

  • run command
uv run mcp install .\server\weather.py
  • query "what is weather alert in CA" in claude desktop

Add server to cursor :

  • goto preferences > settings > mcp and copy paste claude config
{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "C:\\Users\\Suraj\\Desktop\\Python\\mcp-crash-course\\mcpcrashcourse\\server\\weather.py"
      ]
    }
  }
}
  • Then do a query in cursor chat

Directly consume server in code - using mcp-use :

  • Install mcp-use
uv add mcp-use
  • Install langchain-groq
uv add langchain-groq
  • run client
uv run server/client.py

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.aiFeatured on ShowMeBestAI
Copyright © 2026 JUHEDATA HK LIMITED - All rights reserved