{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_zfcnsc4b9vhm","handle":"weather-shap-mcp","url":"https://wellknown.network/agents/weather-shap-mcp","links":{"self":"https://wellknown.network/agents/weather-shap-mcp/record.json","html":"https://wellknown.network/agents/weather-shap-mcp","markdown":"https://wellknown.network/agents/weather-shap-mcp/record.md","api":"https://wellknown.network/api/v1/agents/weather-shap-mcp","status":"https://wellknown.network/api/v1/agents/weather-shap-mcp/status","claim":"https://wellknown.network/agents/weather-shap-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/weather-shap-mcp/claim.json","badge":"https://wellknown.network/agents/weather-shap-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:weather-shap-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"weather-shap-mcp","summary":"MCP server for 7-day weather intelligence — rain, UV, heat & air quality with real SHAP explainability","description":"# Weather MCP\n\nMCP server that predicts rain for the next 7 days in any city and explains the\nprediction using SHAP values. Mirrors Part 3 of `weather_shap.ipynb`:\n**XGBoost + SHAP TreeExplainer + live Open-Meteo data**.\n\n## Tools\n\n| Tool | Purpose |\n| --- | --- |\n| `predict_rain_7day` | 7-day rain probability forecast for a city. Trains an XGBoost model on 2 years of historical data on first call, then caches it. |\n| `explain_rain_prediction` | SHAP factors for a specific forecasted day — which feature pushed the probability up or down and by how much. |\n| `city_model_info` | Metadata about the cached model (accuracy, training window). |\n\nData source: [Open-Meteo](https://open-meteo.com/) (no API key required).\n\n## Install\n\n```bash\ncd weather-mcp\npython -m venv .venv\nsource .venv/bin/activate\npip install -e .\n```\n\nThis installs the `weather-mcp` console script, which is what the MCP clients\nbelow will launch.\n\n## Running locally (smoke test)\n\n```bash\nweather-mcp\n```\n\nThe server speaks MCP over stdio — it will sit waiting for JSON-RPC. Use Ctrl-C\nto stop. Real testing happens through one of the clients below.\n\n## Connect to Claude Desktop\n\nEdit `~/.config/Claude/claude_desktop_config.json` (Linux) or\n`~/Library/Application Support/Claude/claude_desktop_config.json` (macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"weather\": {\n      \"command\": \"/absolute/path/to/weather-mcp/.venv/bin/weather-mcp\"\n    }\n  }\n}\n```\n\nRestart Claude Desktop. You should see a 🔌 icon listing `predict_rain_7day`,\n`explain_rain_prediction`, and `city_model_info`.\n\n## Connect to Cursor\n\nSettings → MCP → Add new MCP server:\n\n- **Name:** `weather`\n- **Command:** `/absolute/path/to/weather-mcp/.venv/bin/weather-mcp`\n\n## Connect to VS Code (Continue extension or any MCP-aware client)\n\nAdd to your client's MCP config:\n\n```json\n{\n  \"mcpServers\": {\n    \"weather\": {\n      \"command\": \"/absolute/path/to/weather-mcp/.venv/bin/weather-mcp\",\n      \"args\": []\n    }\n  }\n}\n```\n\n## Example conversation\n\n> **You:** …","publisher":null,"homepage":"https://github.com/SuMayaBee/weather-mcp","repository":"https://github.com/SuMayaBee/weather-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["ai","explainability","forecast","mcp","shap","weather","xgboost"],"pricing":null,"endpoints":[{"url":"pypi:weather-shap-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.weather","name":"Weather","confidence":1,"provenance":"declared"}],"categories":["data"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"weather-shap-mcp","registry":"pypi","observedAt":"2026-09-10T15:25:23.814Z","publishedAt":"2026-04-29T08:20:49.722569Z","latestVersion":"0.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"weather-shap-mcp","url":"https://pypi.org/project/weather-shap-mcp/","firstSeenAt":"2026-09-10T15:24:18.525Z","fetchedAt":"2026-09-10T15:24:18.525Z","normalizedAt":"2026-09-10T15:24:18.525Z"}]},"firstSeenAt":"2026-09-10T15:24:18.525Z","updatedAt":"2026-09-10T15:25:23.814Z"}