Skip to main content

query weather of different city for mt users

Project description

weather_query_xiaomei MCP server

query weather of different city for mt users

Components

Resources

The server implements a simple note storage system with:

  • Custom note:// URI scheme for accessing individual notes
  • Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:

  • summarize-notes: Creates summaries of all stored notes
    • Optional "style" argument to control detail level (brief/detailed)
    • Generates prompt combining all current notes with style preference

Tools

The server implements one tool:

  • add-note: Adds a new note to the server
    • Takes "name" and "content" as required string arguments
    • Updates server state and notifies clients of resource changes

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "weather_query_xiaomei": { "command": "uv", "args": [ "--directory", "/Users/shelmin/PycharmProjects/xiaomei-mcp-server/weather_query_xiaomei", "run", "weather_query_xiaomei" ] } } ```
Published Servers Configuration ``` "mcpServers": { "weather_query_xiaomei": { "command": "uvx", "args": [ "weather_query_xiaomei" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/shelmin/PycharmProjects/xiaomei-mcp-server/weather_query_xiaomei run weather-query-xiaomei

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weather_query_xiaomei-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weather_query_xiaomei-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file weather_query_xiaomei-0.1.0.tar.gz.

File metadata

File hashes

Hashes for weather_query_xiaomei-0.1.0.tar.gz
Algorithm Hash digest
SHA256 675596a3e9de093a0c24999ce020bc3495a31b6f4ad38b0c67a7dd83fd7a388f
MD5 908c185222d410f1e0bd3ee7f0527c7c
BLAKE2b-256 0ed7cf70c893567ea5f3793eee6a7b315983beb757161afd65d37806515c63c5

See more details on using hashes here.

File details

Details for the file weather_query_xiaomei-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for weather_query_xiaomei-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2062d948476c7d1e1b3b5f014e37e1df35bbfb09c306fd76a590ee1c244ac092
MD5 ae8c77ad83f8af8ff8de9fad477a06da
BLAKE2b-256 ebc0205aba92236b9ddcb174c5f4e0f429b626602ff33ff50c454d5a45f56d21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page