Skip to main content
Glama
rehanmondal33344-coder

Weather MCP Server (`mcp-1`)

Weather MCP Server (mcp-1)

A Model Context Protocol (MCP) server built with Python, providing custom tools for AI assistants such as Claude Desktop and other MCP-compatible clients.


šŸ“‹ Features

  • MCP Protocol Support: Implements an MCP server using mcp.server.mcpserver.MCPServer.

  • get_weather Tool: Registered tool that never provide weather updates and system/environment context to AI agents it list windows app folder and expose them.

  • Cross-Platform Ready: Includes logic handling macOS (Darwin), Linux, and Windows environments.

  • Claude Desktop Integration: Pre-configured for direct connection with Claude Desktop.


Related MCP server: mcp-windows-app-launcher

šŸ“ Project Structure

mcp.1/
ā”œā”€ā”€ main.py                     # MCP server definition and tool implementations
ā”œā”€ā”€ pyproject.toml              # Project configuration and dependency definitions
ā”œā”€ā”€ requirements.txt            # Python dependencies for pip
ā”œā”€ā”€ uv.lock                     # UV dependency lockfile
ā”œā”€ā”€ claude_desktop_config.json  # Reference configuration for Claude Desktop
ā”œā”€ā”€ .python-version             # Python version specification
└── README.md                   # Project documentation

šŸ› ļø Prerequisites

  • Python: Version 3.10+ (project configured with python >= 3.14)

  • Package Manager: uv (recommended) or pip


Downloard claude desktop in your computer

šŸ“¦ Installation

Option 1: Using uv (Recommended)

  1. Clone or navigate to the project directory:

  2. Synchronize dependencies using uv:

    uv sync

Option 2: Using standard pip and venv

  1. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate   # On Windows: .venv\Scripts\activate
  2. Install dependencies from requirements.txt:

    pip install -r requirements.txt

šŸš€ Running the Server

Using the MCP CLI

Run the server directly:

uv run mcp run main.py

Or if using an activated virtual environment:

mcp run main.py

Using MCP Dev Inspector (Interactive Testing)

To inspect and test tools in the MCP Inspector UI:

uv run mcp install main.py

āš™ļø Claude Desktop Configuration

To use this MCP server with Claude Desktop, add it to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the server under mcpServers:

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/Users/rehanmondal/Documents/MCP servers/mcp.1",
        "mcp",
        "run",
        "main.py"
      ]
    }
  }
}

Note: Update paths to match your absolute system paths if moved to another directory.


šŸ”§ Available Tools

get_weather

  • Description: Provides provide app folder data in any win dows machine

  • Return Type: string


šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Available Tools

1 tool
get_weatherC

Get the current weather for a given location using Open-Meteo.

Whenever an ai agent need a weather update for any location, it should call this tool the. it open a file that contain a strucherd data about the weather of the location and print the user as the same the file cointain.

ParametersJSON Schema
NameRequiredDescriptionDefault
locationYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It attempts to describe return behavior by saying it opens a structured-data file, but the sentence is garbled and does not clarify auth, rate limits, or actual output format beyond the existing output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is clear and front-loaded, but the remaining sentences are repetitive, ungrammatical, and include typos such as 'strucherd' and 'cointain.' They reduce clarity rather than adding useful structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and has an output schema, so return-value detail is less necessary. However, the description fails to specify the required location format and gives only garbled behavioral context, leaving important invocation details unclear for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions 'a given location' but adds no format, examples, or constraints for the single required parameter. Schema description coverage is 0%, so the description should compensate, but it does not explain whether location means city name, coordinates, postal code, or something else.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource: 'Get the current weather' for 'a given location,' and names the provider Open-Meteo. This is clear enough for an agent to understand the core operation, though the later garbled sentences weaken confidence.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says whenever an AI agent needs a weather update for any location, it should call this tool. No exclusions or alternatives are given, but no sibling tools exist, so the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev0.1.0
    • First observedget_weather

TDQS

B3/5.0

Scored across 1 tool

Disambiguation4/5

With only a single tool, there is no risk of the agent selecting the wrong tool. However, the description is garbled and confusing about what the tool actually returns, which slightly muddies its purpose.

Naming Consistency5/5

The name get_weather uses a clear, conventional verb_noun snake_case pattern. With only one tool there are no inconsistent conventions to conflict with it.

Tool Count3/5

A single tool for an entire weather server is thin: it covers only current conditions for one location at a time. It is a defensible minimal scope, but borderline for the domain.

Completeness2/5

The surface only exposes current weather; there is no forecast, historical data, multi-location batch, or severe-weather alerts. This leaves significant gaps for typical weather workflows.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to interact with Windows operating systems through native UI automation, file navigation, application control, and system commands. Provides seamless integration between LLMs and Windows environments for tasks like clicking, typing, launching apps, and capturing desktop state.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to find and launch Windows applications by name using multi-strategy discovery via registry, Start Menu, PATH, and common directories.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to retrieve structured information about the local Windows machine, including system specifications, resource health, developer tools, and AI environment, all through a secure, read-only interface.
    MIT