Supports publishing the weather_service package to PyPI as part of the development workflow
🌦️ weather_service MCP server
Related MCP server: drupal-modules-mcp MCP Server
🧩 Components
📚 Resources
This server implements a simple note-keeping system:
Access individual notes with a custom note:// URI scheme
Each note resource has a name, a description, and a mime type of text/plain.
💡 Prompt
The server provides a single prompt:
summarize-notes: Create a summary of all saved notes
Optional "style" argument controls level of detail (brief/detailed)
Generates a prompt that combines all current notes and style settings
🛠️ Tools
The server implements one tool:
add-note: Add a new note to the server
Takes "name" and "content" as required string arguments.
Updates the server state and notifies clients of resource changes
🚀 Quickstart
📥 Installation
Claude Desktop
For MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json For Windows: %APPDATA%/Claude/claude_desktop_config.json
👨💻 Development
🏗️ Build and publish
To prepare a package for distribution:
Sync dependencies and update lock files:
Build a distribution of packages:
This will create a source and wheel distribution in dist/ directory.
Published to PyPI:
Note: PyPI credentials must be set via environment variables or command flags:
Token:
--tokenorUV_PUBLISH_TOKENOr username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
🔍 Debugging
MCP servers can be difficult to debug because they run over stdio, for the best debugging experience we highly recommend using MCP Inspector .
Using npm , you can launch the MCP Inspector with the following command:
On launch, Inspector will show you the URLs you can visit in your browser and start debugging.