import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export function registerWeatherSummaryPrompt(server: McpServer) {
server.prompt(
"weather_summary",
"Get a detailed weather summary and analysis for multiple cities",
async () => {
const promptText = `Provide a comprehensive weather analysis for major cities worldwide.
Please include:
1. Current weather conditions for each city
2. Temperature trends and variations
3. Any notable weather patterns or warnings
4. Seasonal context for each location
5. Comparative analysis between different cities
6. Practical recommendations based on the weather conditions (clothing, activities, etc.)
Use emojis where appropriate to make the summary more engaging and easy to scan.
Focus on cities like Dhaka, New York, London, Tokyo, Dubai, and other major global cities.`;
return {
messages: [
{
role: "user",
content: {
type: "text",
text: promptText
}
}
]
};
}
);
}