A robust Weather MCP Server in TypeScript
Weather MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A robust Weather MCP Server in TypeScript.
Este projeto implementa um pipeline CI/CD completo com GitHub Actions:
Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Once Weather is connected, these are the calls the assistant has available:
get_current_weather — Clima atual de qualquer cidadeget_weather_forecast — Previsão 5 diasget_weather_history — Histórico de consultasget_cache_statistics — Estatísticas do sistemaYou will need 5 environment variables: WEATHER_API_KEY, DATABASE_URL, REDIS_URL, LOG_LEVEL, MCP_MODE. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Weather's toolset — get_current_weather, get_weather_forecast, get_weather_history and 1 more — is a fair guide to whether it matches your workflow. It is maintained by skydeckai; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Weather's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_current_weather | Clima atual de qualquer cidade |
| get_weather_forecast | Previsão 5 dias |
| get_weather_history | Histórico de consultas |
| get_cache_statistics | Estatísticas do sistema |
{
"mcpServers": {
"weather-2": {
"command": "npx",
"args": ["-y", "npm"],
"env": {
"WEATHER_API_KEY": "your-value",
"DATABASE_URL": "your-value",
"REDIS_URL": "your-value",
"LOG_LEVEL": "your-value",
"MCP_MODE": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| WEATHER_API_KEY | Credential the server authenticates with. | Yes |
| DATABASE_URL | Endpoint or connection string the server talks to. | Yes |
| REDIS_URL | Endpoint or connection string the server talks to. | Yes |
| LOG_LEVEL | Configuration value read at startup. | Optional |
| MCP_MODE | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.