duan-li_mcp-weather-server-example

duan-li_mcp-weather-server-example

0

The Weather Service is a Model Context Protocol server project designed to manage and summarize notes through a simple storage system. It features a custom URI scheme and tools for adding and summarizing notes, tailored for the MCP infrastructure.

Weather Service MCP Server

The project is a MCP weather server that includes:

Components

Resources

  • Implements a simple note storage system.
  • Provides a custom note:// URI scheme.

Prompts

  • summarize-notes: Creates summaries of all stored notes, with an optional "style" argument for detail level.

Tools

  • add-note: Adds a new note to the server, accepts "name" and "content" as required arguments.

Quickstart

Installation

  • Specific configurations for Claude Desktop on MacOS and Windows.

Development

Building and Publishing

  1. Sync dependencies and update lockfile.
  2. Build package distributions in dist/ directory.
  3. Publish to PyPI.