Skip to main content
Glama
bobby169

Weather MCP Server

by bobby169

天气 MCP 服务器

该项目是一个提供天气信息的模型上下文协议(MCP)服务器。

特征

  • 获取特定纬度和经度的当前天气预报。

  • 获取美国某个州的天气预警。

Related MCP server: Weather MCP Server

设置

  1. 安装依赖项:

    pnpm install
  2. 构建服务器:

    pnpm run build

运行服务器

该服务器设计为由 MCP 客户端(例如 Claude for Desktop)运行。

要配置 Claude for Desktop(或类似的 MCP 客户端)使用此服务器,您需要将其指向已构建的服务器。典型的配置包括:

  • 命令node

  • 参数["/ABSOLUTE/PATH/TO/YOUR/PROJECT/mcptest/build/index.js"]

/ABSOLUTE/PATH/TO/YOUR/PROJECT/替换为系统上mcptest目录的实际绝对路径。

例如,如果您的项目位于/Users/bohe/Desktop/mcptest ,则参数将是["/Users/bohe/Desktop/mcptest/build/index.js"]

有关如何添加和配置 MCP 服务器的具体说明,请参阅 MCP 客户端的文档。

发展

  • 源代码位于src目录中。

  • 主要的服务器逻辑位于src/index.ts中。

  • 构建输出位于build目录中。

MCP 配置

.vscode/mcp.json文件可供 VS Code 识别并可能调试此 MCP 服务器。

Install Server
F
license - not found
B
quality
D
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 Servers

View all related MCP servers

Related MCP Connectors

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

  • NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.

  • A Model Context Protocol server for Wix AI tools

View all MCP Connectors

Appeared in Searches

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/bobby169/mcp-server-weather'

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