MCP.so
登录

weather-service MCP server

@duan-li

关于 weather-service MCP server

Claude Model Context Protocol Weather Server Example

基本信息

分类

媒体与设计

运行时

python

传输方式

stdio

发布者

duan-li

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

1

Adds a new note to the server

概览

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.

FAQ from weather-service MCP server

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.

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.

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.

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.

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.

评论

媒体与设计 分类下的更多 MCP 服务器