Skip to main content
Glama
VISHAL-MK

MCP Weather Server

by VISHAL-MK

MCP Weather Server

A simple MCP (Model Context Protocol) server built during an Agentic AI Internship. This server demonstrates how MCP can be used to provide tools, resources, and prompts to AI applications.

Features

MCP servers can provide the following functionalities:

Resources

File-like data that can be read by clients, such as API responses or file contents.

Tools

Functions that can be called by Large Language Models (LLMs) with user approval.

Prompts

Pre-written templates that help users accomplish specific tasks efficiently.

Related MCP server: Weather Service MCP

Requirements

  • Python 3.10 or higher

  • uv package manager

  • Python MCP SDK 1.2.0 or higher

  • httpx

Project Setup

1. Install uv

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

2. Initialize the Project

uv init .

3. Install Dependencies

uv add "mcp[cli]" httpx

4. Create the Server File

Create a file named weather.py and add the MCP server implementation.

5. Run the Server

uv run weather.py

Project Structure

.
├── weather.py
├── pyproject.toml
├── uv.lock
├── README.md
└── .gitignore

Learning Outcomes

  • Understanding MCP architecture

  • Building custom MCP tools

  • Integrating APIs using Python

  • Running MCP servers with uv

  • Working with Agentic AI applications

Author

Vishal M K B.E. CSE (AI & ML)

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VISHAL-MK/agentic-AI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server