get-weather
Fetch and display current weather information for a specified location using wttr.in. Use when the user asks for weather conditions, forecasts, or temperature information.
Install
mkdir -p .claude/skills/get-weather && curl -L -o skill.zip "https://mcp.directory/api/skills/download/33" && unzip -o skill.zip -d .claude/skills/get-weather && rm skill.zipInstalls to .claude/skills/get-weather
About this skill
Get Weather
Fetch current weather information for any location using the wttr.in service.
When to Use This Skill
Use this skill when:
- User asks for current weather conditions
- User requests temperature information
- User needs weather forecast
- User wants to know weather for a specific city or location
- User asks about meteorological conditions
Process
Step 1: Identify Location
Extract the location from the user's request:
- City name (e.g., "London", "New York")
- City with country (e.g., "Paris, France")
- Airport code (e.g., "LAX")
- Coordinates (e.g., "~Eiffel+Tower")
Step 2: Fetch Weather Data
Use curl to fetch weather from wttr.in:
curl "wttr.in/LOCATION?format=j1"
The service returns JSON with:
- Current conditions
- Temperature (Celsius and Fahrenheit)
- Humidity
- Wind speed and direction
- Weather description
- Forecast data
Step 3: Parse and Format Output
Extract relevant information:
- Current temperature
- Weather condition (sunny, cloudy, rainy, etc.)
- Humidity percentage
- Wind speed
- "Feels like" temperature
Step 4: Present Results
Display weather information in a clear format:
- Location name
- Current conditions
- Temperature (both C and F)
- Additional details (humidity, wind)
- Brief forecast if requested
Examples
Example 1: Simple Weather Query
User Input: "What's the weather in Seattle?"
Process:
- Extract location: "Seattle"
- Fetch:
curl "wttr.in/Seattle?format=j1" - Parse JSON response
- Format output
Expected Output:
Weather in Seattle:
Currently: Partly cloudy
Temperature: 15°C (59°F)
Feels like: 13°C (55°F)
Humidity: 65%
Wind: 10 km/h NW
Example 2: International Location
User Input: "How's the weather in Tokyo, Japan?"
Process:
- Extract location: "Tokyo"
- Fetch:
curl "wttr.in/Tokyo?format=j1" - Parse response
- Format for display
Expected Output:
Weather in Tokyo:
Currently: Clear
Temperature: 22°C (72°F)
Feels like: 22°C (72°F)
Humidity: 45%
Wind: 15 km/h E
Example 3: Weather with Forecast
User Input: "What's the weather going to be like in Miami tomorrow?"
Process:
- Extract location: "Miami"
- Fetch:
curl "wttr.in/Miami?format=j1" - Parse current and forecast data
- Present both current and tomorrow's forecast
Expected Output:
Current Weather in Miami:
Currently: Sunny
Temperature: 28°C (82°F)
Feels like: 31°C (88°F)
Humidity: 70%
Wind: 12 km/h SE
Tomorrow's Forecast:
High: 29°C (84°F)
Low: 24°C (75°F)
Condition: Partly cloudy
Chance of rain: 20%
Best Practices
- Always include both Celsius and Fahrenheit for temperature
- Handle location variations (abbreviations, alternate spellings)
- Provide "feels like" temperature when available
- Include humidity and wind for complete picture
- Use clear, readable formatting
- Handle errors gracefully (invalid locations, network issues)
Common Pitfalls
- Ambiguous locations: "Paris" could be Paris, France or Paris, Texas. Ask for clarification or default to most common.
- Invalid locations: Service may not recognize very small towns. Suggest nearby major city.
- Network failures: If wttr.in is unavailable, inform user and suggest trying again later.
- Encoding issues: Replace spaces with
+in URLs (e.g., "New York" → "New+York")
Dependencies
curlcommand-line tool- Internet connection
- wttr.in service availability
API Details
wttr.in URL formats:
- JSON output:
wttr.in/LOCATION?format=j1 - Plain text:
wttr.in/LOCATION - Weather codes:
wttr.in/LOCATION?format=%C+%t
No API key required. Free service with reasonable rate limits.
Error Handling
Location Not Found:
Error: Could not find location "Xyz123"
Please check spelling or try a nearby major city.
Network Error:
Error: Unable to fetch weather data
Please check your internet connection and try again.
Service Unavailable:
Error: Weather service temporarily unavailable
Please try again in a few moments.
You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversAccess official Microsoft Docs instantly for up-to-date info. Integrates with ms word and ms word online for seamless wo
Web Fetcher uses Playwright for reliable data web scraping and extraction from JavaScript-heavy websites, returning clea
Leverage OpenAI o3 Search for advanced web results, outperforming Bing AI and other engines with unrivaled AI search cap
Integrate with Reddit API to fetch posts, comments, and subreddit data for content curation and analysis.
Search and analyze biomedical literature with PubMed integration. Access entre pubmed data for dynamic scientific queryi
Access NASA APIs for astronomy images, satellite data, Mars rover photos, and more via a unified TypeScript-powered inte
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.