MCP.so
Sign In

weather-service MCP server

@duan-li

Basic information

Category

Media & Design

Transports

stdio

Author

duan-li

About weather-service MCP server

Claude Model Context Protocol Weather Server Example

weather-service MCP server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-weather-server-example": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

weather-service MCP server tools

1

Adds a new note to the server

Overview

What is weather-service MCP server?

weather-service MCP server is an MCP server that implements a simple note storage system with custom resources, a summarization prompt, and a note-adding tool. It is designed for use with MCP-compatible clients like Claude Desktop.

How to use weather-service MCP server?

Configure the server in your Claude Desktop configuration file (claude_desktop_config.json) using the mcpServers section. For development, use uv --directory <path> run weather-service; for published packages, use uvx weather-service. The server then provides resources, prompts, and tools as defined.

Key features of weather-service MCP server

  • Custom note:// URI scheme for accessing individual notes.
  • Each note resource has name, description, and text/plain mimetype.
  • summarize-notes prompt with optional style argument (brief/detailed).
  • add-note tool that adds notes with name and content.

Use cases of weather-service MCP server

  • Storing and retrieving personal notes via MCP resources.
  • Generating summaries of all stored notes with adjustable detail.
  • Adding new notes programmatically through the add-note tool.

Frequently asked questions

1

What resources does weather-service MCP server provide?

It provides notes accessible via a custom `note://` URI scheme, each with a name, description, and `text/plain` mimetype.

2

What prompts and tools are available?

There is one prompt, `summarize-notes`, which creates a summary of all stored notes with an optional detail level (brief/detailed). There is one tool, `add-note`, which requires `name` and `content` strings.

3

How do I install weather-service MCP server for Claude Desktop?

Add a configuration entry in `claude_desktop_config.json` under `mcpServers`. For development use `uv` with a directory path; for published versions use `uvx` without a directory.

4

How do I build and publish the server?

Use `uv sync` to sync dependencies, `uv build` to create distributions, and `uv publish` to publish to PyPI. You need to set PyPI credentials via environment variables or command flags.

5

How can I debug weather-service MCP server?

Use the MCP Inspector by running `npx @modelcontextprotocol/inspector uv --directory <path> run weather-service` and then accessing the provided URL in your browser.

Comments

More Media & Design MCP servers