{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_xxeppfrkguga","handle":"weather-mcp-2","url":"https://wellknown.network/agents/weather-mcp-2","links":{"self":"https://wellknown.network/agents/weather-mcp-2/record.json","html":"https://wellknown.network/agents/weather-mcp-2","markdown":"https://wellknown.network/agents/weather-mcp-2/record.md","api":"https://wellknown.network/api/v1/agents/weather-mcp-2","status":"https://wellknown.network/api/v1/agents/weather-mcp-2/status","claim":"https://wellknown.network/agents/weather-mcp-2/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/weather-mcp-2/claim.json","badge":"https://wellknown.network/agents/weather-mcp-2/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:weather-mcp-2","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"weather-mcp","summary":"A weather query tool based on MCP (Model Control Protocol)","description":"# Weather MCP Tool\n\n一个基于MCP (Model Control Protocol) 的天气查询工具，可以获取美国各州的天气预警和指定位置的天气预报。\n\n## 功能特点\n\n- 获取美国各州的实时天气预警信息\n- 根据经纬度获取详细的天气预报\n- 支持与Cline或Cursor-desktop等MCP客户端集成\n\n## 安装\n\n```bash\npip install weather-mcp\n```\n\n## 使用方法\n\n### 在Cline或Cursor-desktop中使用\n\n1. 安装完成后，工具会自动注册到MCP客户端\n2. 可以通过以下方式调用工具：\n\n```python\n# 获取加州的天气预警\nawait get_alerts(\"CA\")\n\n# 获取指定位置的天气预报（例如：旧金山）\nawait get_forecast(37.7749, -122.4194)\n```\n\n### 作为独立程序运行\n\n```python\nfrom weather import get_alerts, get_forecast\n\n# 获取天气预警\nalerts = await get_alerts(\"NY\")\nprint(alerts)\n\n# 获取天气预报\nforecast = await get_forecast(40.7128, -74.0060)\nprint(forecast)\n```\n\n## API说明\n\n### get_alerts(state: str) -> str\n\n获取指定州的天气预警信息。\n\n- 参数：\n  - state: 两字母的美国州代码（例如：CA、NY）\n- 返回：格式化的天气预警信息字符串\n\n### get_forecast(latitude: float, longitude: float) -> str\n\n获取指定位置的天气预报。\n\n- 参数：\n  - latitude: 纬度\n  - longitude: 经度\n- 返回：格式化的天气预报信息字符串\n\n## 依赖\n\n- Python >= 3.11\n- httpx >= 0.28.1\n- mcp[cli] >= 1.6.0\n\n## 许可证\n\nMIT","publisher":null,"homepage":"https://github.com/yourusername/weather-mcp","repository":"https://github.com/yourusername/weather-mcp","version":"0.1.1","license":"MIT","protocols":["mcp"],"tags":["alerts","cli","forecast","mcp","weather","ai","claude"],"pricing":null,"endpoints":[{"url":"pypi:weather-mcp","type":"package_pypi","auth":null,"probeable":false},{"url":"pypi:weather-mcp-v1","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"},{"slug":"communication.notifications","name":"Notifications","confidence":1,"provenance":"declared"}],"categories":["communication","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-mcp","registry":"pypi","observedAt":"2026-09-10T15:25:23.578Z","publishedAt":"2025-04-23T06:14:58.020922Z","latestVersion":"0.1.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"weather-mcp","url":"https://pypi.org/project/weather-mcp/","firstSeenAt":"2026-09-10T15:24:14.209Z","fetchedAt":"2026-09-10T15:24:14.209Z","normalizedAt":"2026-09-10T15:24:14.209Z"},{"source":"pypi","key":"weather-mcp-v1","url":"https://pypi.org/project/weather-mcp-v1/","firstSeenAt":"2026-09-10T15:24:16.962Z","fetchedAt":"2026-09-10T15:24:16.962Z","normalizedAt":"2026-09-10T15:24:16.962Z"}]},"firstSeenAt":"2026-09-10T15:24:14.209Z","updatedAt":"2026-09-10T15:25:23.578Z"}