Skip to main content
Glama
talya-git

Weather MCP Server

by talya-git

⛅ Weather MCP Server

协议: MCP | Python 3.11+ | 许可证: MIT | 状态: 活跃 ✅

一个健壮的项目,实现了**Model Context Protocol (MCP)**架构——一个由LLM驱动的自主代理,能够获取以色列和美国城市的最新天气预报,在终端聊天界面中提供流畅的自然语言响应。


项目概述

本项目通过授予对外部数据源的访问权限来扩展LLM能力,这些数据源并非原生可用:从缺乏官方公共API的网站检索实时预报。

系统使用两个互补的检索引擎来弥合这一差距:

#

信息来源

机制与技术说明

1

以色列服务器(weather-Israel

浏览器自动化(Playwright): 启动无头浏览器实例,导航至weather2day.co.il/forecast,定位目标城市,提取页面内容,并直接将其提供给LLM进行分析(RAG方法)。

2

美国服务器(weather-USA

官方API REST调用: 一个轻量级服务器,向National Weather Service (NWS)官方API执行直接REST请求。

Host层编排整个流程:将服务器连接到语言模型,动态暴露可用工具,并管理对话循环,直到模型产生准确的响应。


工作流架构

User: "What's the weather in Tel Aviv?"
    │
    ▼
Host ◄──► LLM autonomously selects and executes tools
    │
    ▼
Israel Server (Sequential pipeline):
open ──► enter("Tel Aviv") ──► select ──► get_content
    │
    ▼
Content analysis (RAG) by LLM
    │
    ▼
✨ Final response generated in natural language
-
license - not tested
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • Get US weather forecasts, active alerts, and current observations.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/talya-git/Project_Weather_Mcp2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server