Duan-Li MCP Weather Server

Provides a note storage MCP server with note access, note creation, and note summarization capabilities.
  • other

0

GitHub Stars

other

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "mcp-mirror-duan-li_mcp-weather-server-example": {
      "command": "uvx",
      "args": [
        "weather-service"
      ]
    }
  }
}

You can run the weather-service MCP server to store simple notes, access them via a note:// URI scheme, and generate summarized prompts from your stored notes. This makes it easy to add, access, and summarize notes in a lightweight MCP-enabled environment.

How to use

You interact with the weather-service MCP server through an MCP client. The server exposes a small note storage system where each note has a name, a short description, and a text/plain payload. You can access individual notes via the note:// URI scheme and you can manage notes with the add-note tool. A single summarize-notes prompt lets you generate summaries of all stored notes, with an optional style argument to control detail level (brief or detailed). Use these capabilities to keep a compact, searchable overview of your notes and to create cohesive summaries for quick consumption.

Typical usage patterns include:

  • Add a new note with a name and content using the add-note tool.
  • Retrieve or reference notes via their note:// URI for display or processing in your workflows.
  • Run summarize-notes to produce a consolidated summary of all stored notes, adjusting detail with the style parameter as needed.

How to install

Prerequisites

  • You need an MCP runtime available in your environment (the tooling used by MCP for running servers).
  • Ensure you have access to the weather-service MCP server codebase location on your machine.
  • Confirm you can run the MCP command runner (the runtime that starts stdio servers). Separate instructions may exist for development and published configurations.

Step 1: Prepare runtime

  • Install or verify the MCP runtime tools in your environment (the runtime that accepts stdio commands to start servers).
  • Ensure the tooling is accessible from your command line as you will invoke commands to start the server.

Step 2: Start the server (development)

  • Use the development stdio command shown below to launch the weather-service server in development mode. This runs from your local code directory: uv --directory /Users/<you-user-name>/Codes/GitHub/weather_service run weather-service
Step 3: Start the server (published)
- For a published configuration, start the server with the runtime command shown here:

uvx weather-service


Step 4: Verify startup
- Check the startup logs to confirm the weather-service MCP server is running.
- If available, use the MCP Inspector or equivalent tooling to attach and monitor resource changes as the server starts up.

## Configuration and endpoints

You can configure two MCP server connection methods for weather-service. Each method is listed below with its exact command and arguments.

{ "mcpServers": { "weather-service": { "command": "uv", "args": [ "--directory", "/Users/<you-user-name>/Codes/GitHub/weather_service", "run", "weather-service" ] } } }

{ "mcpServers": { "weather-service": { "command": "uvx", "args": [ "weather-service" ] } } }

## Notes on tools and prompts

Tools provided by the server include add-note, which adds a new note with a name and content, and the summarize-notes prompt, which creates summaries of all stored notes. These tools update the server state and notify connected clients of resource changes.

## Security and troubleshooting

Keep runtime access controlled and monitor resource changes to ensure notes are managed securely. If you encounter startup or connection issues, verify that you are using the exact commands shown for your environment and that the weather-service code path exists at the specified directory.

## Available tools

### add-note

Adds a new note to the server by providing a name and content, updating server state and notifying clients of resource changes.

### summarize-notes

Generates summaries of all stored notes, with an optional style argument to control detail level (brief or detailed).
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational