mcp-weather-server
Overview
The mcp-weather-server is a Python-based server that provides weather data through an API.
To use the mcp-weather-server, you can send requests to the API endpoints to retrieve current weather information, forecasts, and other related data.
- Provides real-time weather data - Supports multiple locations - Easy integration with other applications via API
- Building weather applications that require real-time data.
- Integrating weather information into existing platforms or services.
- Analyzing weather patterns for research purposes.
Add to your AI client
Use these steps to connect mcp-weather-server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-weather-server-thegr1ffyn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-weather-server-thegr1ffyn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-weather-server-thegr1ffyn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-weather-server-thegr1ffyn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-weather-server-thegr1ffyn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-weather-server-thegr1ffyn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-weather-server-thegr1ffyn"
]
}
}
}FAQ
What kind of weather data can I get?
You can get current weather, forecasts, and historical data.
Is there a limit to the number of requests?
Yes, there may be rate limits depending on the usage policy.
How do I get started?
You can get started by cloning the repository from GitHub and following the setup instructions.