drio
Open app

weather-service MCP server

Source

Claude Model Context Protocol Weather Server Example

Catalog onlyCatalog onlySTDIO

Overview

The MCP Weather Server is an implementation of the Model Context Protocol that facilitates the management and summarization of weather notes. It serves as a lightweight server to store, retrieve, and summarize notes related to weather data.

To utilize the MCP Weather Server, you install it on your machine, set up your configuration, and use its provided tools to add and summarize notes. You can interact with the server through the note:// URI scheme for accessing specific notes.

  • Custom note storage system with unique URI scheme. - Ability to create summaries of stored notes with adjustable detail levels. - Tool to add new notes with specified names and contents.
  1. Keeping track of daily weather observations and notes.
  2. Summarizing weather patterns for research projects.
  3. Enabling collaborative projects where multiple users can update and review weather notes.

Add to your AI client

Use these steps to connect weather-service MCP server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-weather-server-example-duan-li": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-weather-server-example-duan-li": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-weather-server-example-duan-li": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-weather-server-example-duan-li": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-weather-server-example-duan-li": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-weather-server-example-duan-li": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-server-example-duan-li"
      ]
    }
  }
}

FAQ

What does the 'summarize-notes' prompt do?

It creates summaries of all stored notes with an optional 'style' argument to control the detail level.

How can I add a note to the server?

You can use the 'add-note' command providing a name and content to store a new note.

Is there a user interface for the server?

No, it's primarily operated through commands and the MCP Inspector for debugging and interaction.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":340,"uuid":"c29857fc-121e-457b-b2f9-7d7e3ebcd1a6","name":"mcp-weather-server-example","title":"weather-service MCP server","description":"Claude Model Context Protocol Weather Server Example","avatar_url":"https://avatars.githubusercontent.com/u/1880754?v=4","created_at":"2024-12-13T13:20:28.120Z","updated_at":"2024-12-13T15:09:10.026Z","status":"created","author_name":"duan-li","author_avatar_url":"https://avatars.githubusercontent.com/u/1880754?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/duan-li/mcp-weather-server-example","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]