mcpField
M
My First MCP - Weather Server

My First MCP - Weather Server

Local
github.com/kWAYTVMedia & Design0Updated 33w ago

About My First MCP - Weather Server

My First MCP - Weather Server is a proof-of-concept server for learning how to build MCP servers. It provides weather information for cities and is explicitly not intended for production use.

Key features

  1. 01Provide weather information for cities
  2. 02Demonstrate basic MCP server functionality
  3. 03Run locally with pnpm

Use cases

  1. 01Learn the basics of MCP server development
  2. 02Try a city weather server with an MCP client

MCP support

Exposes city weather information over MCP for use with MCP-compatible clients.

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

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.

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"
      ]
    }
  }
}

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.