mcpField
#
#STEP 1: install uv

#STEP 1: install uv

Local
github.com/SageChisangaDeveloper Tools0Updated 77w ago

About #STEP 1: install uv

A weather MCP server example built with FastMCP and httpx, using the National Weather Service API. The README provides setup commands and starter code for developers learning to create an MCP server.

Key features

  1. 01FastMCP server setup
  2. 02Weather API integration with httpx
  3. 03National Weather Service API base URL
  4. 04Project setup with uv

Use cases

  1. 01Learning to scaffold a weather MCP server
  2. 02Starting a Python MCP project with uv

MCP support

The example initializes a FastMCP server named "weather"; the README shows server setup but does not specify exposed tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

#STEP 1: install uv

#curl -LsSf https://astral.sh/uv/install.sh | sh

# Create a new directory for our project

uv init weather

cd weather

# Create virtual environment and activate it

uv venv

source .venv/bin/activate

# Install dependencies

uv add "mcp[cli]" httpx

# Create our server file

touch weather.py

from typing import Any

import httpx

from mcp.server.fastmcp import FastMCP

# Initialize FastMCP server

mcp = FastMCP("weather")

# Constants

NWS_API_BASE = "https://api.weather.gov"

USER_AGENT = "weather-app/1.0"

#Add this file

mkdir -p "~/Library/Application Support/Claude"

touch "~/Library/Application Support/Claude/claude_desktop_config.json"

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.