健康助手微服务

一个基于FastMCP的微服务,提供位置、天气、空气质量信息及可选健康报告存储功能。

  • by sh-momina
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 sh-momina/HealthAssistant_MCP_Server

使用说明

健康助手MCP服务器

使用FastMCP的微服务:位置、天气、空气质量+可选的健康报告存储。

特性

  • get_location() → 近似城市和坐标(基于IP)。
  • get_weather(lat, lon) → 当前温度、湿度、风(通过Open Meteo)。
  • get_air_quality(city) → 空气质量站数据(通过OpenAQ)或回退建模数据。
  • summarize_environment(city) → 天气和空气质量综合总结。

设置

  1. 克隆存储库:
    git clone https://github.com/sh-momina/HealthAssistant_MCP_Server.git
    cd SmartRoute_MCP_Server