Skip to main content
Glama

My First MCP - Weather Server

A simple Model Context Protocol (MCP) server that provides weather information for any city.

Disclaimer

This is a proof-of-concept implementation meant to demonstrate basic MCP server functionality. It does not include data validation, error handling, rate limiting, or other production-ready features. Use it as a learning resource to understand how to build MCP servers.

Related MCP server: Weather MCP

Installation

  1. Clone the repository

  2. Install dependencies:

pnpm install

Running the Server

  1. Start the server with the inspector:

pnpm ins
  1. The server will be available through the MCP protocol. You can use it with any MCP-compatible client.

Configuration

The server is configured locally to run with:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "-y",
        "tsx",
        "(path-to-the-file)\\index.ts"
      ]
    }
  }
}
A
license - permissive license
Not graded
quality - not tested
D
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

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.
    1

View all related MCP servers

Related MCP Connectors

  • OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

  • Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

  • A Model Context Protocol server for Wix AI tools

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/kWAYTV/my-first-mcp'

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