OpenWeather MCP Server for Cursor 11 tools — connect in under 2 minutes
Cursor is an AI-first code editor built on VS Code that integrates LLM-powered coding assistance directly into the development workflow. Its Agent mode enables autonomous multi-step coding tasks, and MCP support lets agents access external data sources and APIs during code generation.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install OpenWeather and 2,500+ MCP Servers from a single visual interface.




{
"mcpServers": {
"openweather": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
}
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About OpenWeather MCP Server
Connect to OpenWeather APIs and access global weather data through natural conversation.
Cursor's Agent mode turns OpenWeather into an in-editor superpower. Ask Cursor to generate code using live data from OpenWeather and it fetches, processes, and writes. all in a single agentic loop. 11 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.
What you can do
- Current Weather — Get real-time temperature, humidity, wind, pressure, visibility and conditions for any location
- Hourly Forecast — 48-hour hourly forecast with temperature, precipitation probability and UV index
- Daily Forecast — Up to 16-day daily forecast with min/max temperatures and weather descriptions
- Weather Alerts — Active severe weather warnings and alerts for any location
- Air Quality — Current AQI and 4-day forecast with pollutant concentrations (PM2.5, PM10, O3, NO2, CO)
- Historical Weather — Weather conditions for any past date
- Sun Times — Sunrise and sunset times for any location
- Geocoding — Convert city names to coordinates and vice versa
The OpenWeather MCP Server exposes 11 tools through the Vinkius. Connect it to Cursor in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect OpenWeather to Cursor via MCP
Follow these steps to integrate the OpenWeather MCP Server with Cursor.
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
Save the file
Cursor will automatically detect the new MCP server
Start using OpenWeather
Open Agent mode in chat and ask: "Using OpenWeather, help me...". 11 tools available
Why Use Cursor with the OpenWeather MCP Server
Cursor AI Code Editor provides unique advantages when paired with OpenWeather through the Model Context Protocol.
Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context
Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards
MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment
VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools
OpenWeather + Cursor Use Cases
Practical scenarios where Cursor combined with the OpenWeather MCP Server delivers measurable value.
Code generation with live data: ask Cursor to generate a security report module using live DNS and subdomain data fetched through MCP
Automated documentation: have Cursor query your API's tool schemas and generate TypeScript interfaces or OpenAPI specs automatically
Infrastructure-as-code: Cursor can fetch domain configurations and generate corresponding Terraform or CloudFormation templates
Test scaffolding: ask Cursor to pull real API responses via MCP and generate unit test fixtures from actual data
OpenWeather MCP Tools for Cursor (11)
These 11 tools become available when you connect OpenWeather to Cursor via MCP:
geocode
Returns the top 5 matching locations with their coordinates, country codes and state names. Use these coordinates with other weather tools. Convert a city name to coordinates
get_air_quality
5, PM10, O3, NO2, SO2, CO, NH3). AQI scale: 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor. Requires lat/lon coordinates. Get current air quality index for a location
get_air_quality_forecast
Each data point includes AQI level (1-5 scale) and concentrations of PM2.5, PM10, O3, NO2, SO2, CO and NH3. Get 4-day air quality forecast for a location
get_current_weather
Requires either city name (e.g. "London", "São Paulo") or latitude/longitude coordinates. Get current weather conditions for a location
get_daily_forecast
Each day includes min/max temperature, humidity, wind, UV index, precipitation probability and weather description. Requires lat/lon coordinates. Get daily weather forecast for up to 16 days
get_forecast
Each data point includes temperature, humidity, wind, pressure and weather description. Optionally set the number of days (1-5). Requires either city name or lat/lon. Get 5-day/3-hour weather forecast
get_historical_weather
Returns temperature, humidity, wind, pressure and weather description for the requested date. Requires lat/lon and date in YYYY-MM-DD format. Get historical weather data for a specific date
get_hourly_forecast
Each hour includes temperature, humidity, wind, UV index, precipitation probability and weather description. Requires lat/lon coordinates. Use geocode to find coordinates for a city name. Get hourly weather forecast using One Call API
get_sun_times
Returns the exact times and the sun's elevation angle at sunrise/sunset. Requires lat/lon coordinates. Get sunrise and sunset times for a location
get_weather_alerts
Returns alert type, severity, description, start and end times. Requires lat/lon coordinates. Useful for monitoring severe weather conditions. Get active weather alerts for a location
reverse_geocode
Returns the city, state, country and postal code for the given coordinates. Convert coordinates to a city name
Example Prompts for OpenWeather in Cursor
Ready-to-use prompts you can give your Cursor agent to start working with OpenWeather immediately.
"What's the current weather in São Paulo?"
"What's the 7-day forecast for Tokyo?"
"Is the air quality good in Beijing right now?"
Troubleshooting OpenWeather MCP Server with Cursor
Common issues when connecting OpenWeather to Cursor through the Vinkius, and how to resolve them.
Tools not appearing in Cursor
Server shows as disconnected
OpenWeather + Cursor FAQ
Common questions about integrating OpenWeather MCP Server with Cursor.
What is Agent mode and why does it matter for MCP?
Where does Cursor store MCP configuration?
mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.Can Cursor use MCP tools in inline edits?
How do I verify MCP tools are loaded?
Connect OpenWeather with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect OpenWeather to Cursor
Get your token, paste the configuration, and start using 11 tools in under 2 minutes. No API key management needed.
