qweather-mcp
v2.1.0a qweather mcp server
Values you need
| Variable | What it is | |
|---|---|---|
QWEATHER_API_BASE | required secret | Your qweather api host |
QWEATHER_API_KEY | required secret | Your qweather api key |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add qweather-mcp -e 'QWEATHER_API_BASE=<QWEATHER_API_BASE>' -e 'QWEATHER_API_KEY=<QWEATHER_API_KEY>' -- npx -y qweather-mcp@1.0.12Add to
claude_desktop_config.json{
"mcpServers": {
"qweather-mcp": {
"args": [
"-y",
"qweather-mcp@1.0.12"
],
"command": "npx",
"env": {
"QWEATHER_API_BASE": "<QWEATHER_API_BASE>",
"QWEATHER_API_KEY": "<QWEATHER_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"qweather-mcp": {
"args": [
"-y",
"qweather-mcp@1.0.12"
],
"command": "npx",
"env": {
"QWEATHER_API_BASE": "<QWEATHER_API_BASE>",
"QWEATHER_API_KEY": "<QWEATHER_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "QWEATHER_API_BASE",
"id": "qweather-api-base",
"password": true,
"type": "promptString"
},
{
"description": "QWEATHER_API_KEY",
"id": "qweather-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"qweather-mcp": {
"args": [
"-y",
"qweather-mcp@1.0.12"
],
"command": "npx",
"env": {
"QWEATHER_API_BASE": "${input:qweather-api-base}",
"QWEATHER_API_KEY": "${input:qweather-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.qweather-mcp]
command = "npx"
args = ["-y", "qweather-mcp@1.0.12"]
env = { "QWEATHER_API_BASE" = "<QWEATHER_API_BASE>", "QWEATHER_API_KEY" = "<QWEATHER_API_KEY>" }For AI agents
- Ask the user for: QWEATHER_API_BASE, QWEATHER_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get-weather-now, get-weather-forecast, get-minutely-precipitation, get-hourly-forecast, get-weather-warning, get-weather-indices, get-air-quality, get-air-quality-hourly, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json