MCP Servers weather and demo service collection

MCP Servers weather and demo service collection

mcp-servers-fist-maestro•byfist-maestro

A collection of MCP services for Cursor IDE that includes a global weather query service and a demo service demonstrating MCP structure and tool registration.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides a weather service for querying global weather data.
  • •Supports real-time weather lookups and 5-day forecasts.
  • •Supports querying weather for multiple cities.
  • •Includes a demo service illustrating MCP service structure with registerable MCP tools.

BEST FOR

  • •Querying current weather and forecasts for cities from within Cursor IDE.
  • •Learning how to structure and build MCP services.

ABOUT MCP-SERVERS-FIST-MAESTRO

MCP Servers weather and demo service collection is cataloged as an MCP server attributed to fist-maestro. A collection of MCP services for Cursor IDE that includes a global weather query service and a demo service demonstrating MCP structure and tool registration. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Servers weather and demo service collection are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this project include more than one MCP service?

Yes, it currently includes a demo service and a weather service.

What weather capabilities does the weather service offer?

Real-time weather queries, 5-day forecasts, multi-city support, and detailed weather information.

What is the demo service for?

It demonstrates the basic structure and development method of an MCP service with simple request-response examples and detailed comments for learning.

Upstream README

View this exact version on GitHub

README.md · eecd837b0af3 · Fetched 2026-11-13 13:42:55 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Servers 项目

基于 Model Context Protocol (MCP) 开发的服务集合,用于支持 Cursor IDE 的智能功能。目前包含示例服务和天气服务。

开发环境要求

  • Node.js >= 16.0.0
  • npm >= 8.0.0
  • TypeScript >= 4.5.0
  • Cursor IDE(最新版本)

项目结构

mcp-servers/
├── src/                    # 源代码目录
│   ├── demo/              # 示例服务
│   │   ├── config/       # 配置层:常量、类型定义
│   │   │   ├── constants.ts    # 常量定义
│   │   │   └── types.ts        # 类型定义
│   │   ├── controllers/  # 控制器层:请求处理
│   │   │   └── GreetingController.ts  # 问候控制器
│   │   ├── service/      # 服务层:业务逻辑
│   │   │   └── GreetingService.ts     # 问候服务
│   │   ├── package.json  # 服务配置文件
│   │   ├── tsconfig.json # TypeScript 配置
│   │   └── index.ts      # 服务入口文件
│   │
│   └── weather/          # 天气服务
│       ├── config/       # 配置层:常量、类型定义
│       │   ├── constants.ts    # 常量定义
│       │   └── types.ts        # 类型定义
│       ├── controllers/  # 控制器层:请求处理
│       │   └── WeatherController.ts  # 天气控制器
│       ├── service/      # 服务层:业务逻辑
│       │   └── WeatherService.ts     # 天气服务
│       ├── package.json  # 服务配置文件
│       ├── tsconfig.json # TypeScript 配置
│       └── index.ts      # 服务入口文件
│
├── build/                  # 编译输出目录
├── node_modules/          # 依赖包
├── package.json           # 项目配置
├── tsconfig.json          # TypeScript 配置
└── README.md             # 项目文档

代码分层架构

项目采用三层架构设计,每个服务都遵循相同的结构模式:

1. 配置层(Config)

位置:服务目录/config/

  • 职责:
    • 定义常量和配置项
    • 声明类型和接口
    • 管理环境变量
  • 主要文件:
    • constants.ts: 常量定义
    • types.ts: 类型定义
  • 特点:
    • 集中管理配置
    • 类型安全
    • 易于维护和修改

2. 控制器层(Controllers)

位置:服务目录/controllers/

  • 职责:
    • 处理 MCP 请求和响应
    • 参数验证和错误处理
    • 调用服务层方法
  • 主要文件:
    • XXXController.ts: 具体业务控制器
  • 特点:
    • 请求参数验证
    • 错误处理和日志
    • 响应格式化

3. 服务层(Service)

位置:服务目录/service/

  • 职责:
    • 实现核心业务逻辑
    • 处理数据转换
    • 调用外部 API
  • 主要文件:
    • XXXService.ts: 具体业务服务
  • 特点:
    • 业务逻辑封装
    • 数据处理和转换
    • 外部服务集成

服务入口(index.ts)

位置:服务目录/index.ts

  • 职责:
    • 初始化服务实例
    • 注册 MCP 工具
    • 处理标准输入输出
  • 特点:
    • 统一的入口点
    • MCP 工具注册
    • 错误处理

开发流程

  1. 新建服务

    mkdir -p src/new-service/{config,controllers,service}
    
  2. 实现各层功能

    • 配置层:定义常量和类型
    • 控制器层:处理请求和响应
    • 服务层:实现业务逻辑
  3. 创建配置文件

    • package.json: 服务依赖和脚本
    • tsconfig.json: TypeScript 配置
  4. 编写入口文件

    • 创建 index.ts
    • 注册 MCP 工具
    • 实现请求处理

快速开始

1. 克隆项目

git clone <repository-url>
cd mcp-servers

2. 安装依赖

npm install

3. 构建项目

# 构建所有服务
npm run build

# 构建单个服务
npm run build:weather  # 构建天气服务
npm run build:demo    # 构建示例服务

4. 配置 MCP

编辑 ~/.cursor/mcp.json 文件:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "/your/path/to/mcp-servers/build/weather/index.js"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "your_api_key_here"
      }
    }
  }
}

5. 启动服务

# 启动天气服务
npm run start:weather

# 启动示例服务
npm run start:demo

可用服务说明

1. 示例服务(Demo)

  • 位置:src/demo/
  • 功能:展示 MCP 服务的基本结构和开发方法
  • 特点:
    • 简单的请求响应示例
    • 基础错误处理
    • 代码注释完善,适合学习

2. 天气服务(Weather)

  • 位置:src/weather/
  • 功能:提供全球天气查询服务
  • 特点:
    • 实时天气查询
    • 5天天气预报
    • 支持多城市查询
    • 详细的天气信息

查看各服务详细文档:

开发指南

创建新服务

  1. 在 src 目录下创建新服务目录
  2. 参考现有服务的目录结构
  3. 实现必要的控制器和服务
  4. 在 package.json 添加相应的构建和启动脚本

调试方法

  1. 使用 console.error() 输出调试信息
  2. 检查 Cursor IDE 的 MCP 日志
  3. 使用 TypeScript 的源码映射功能

测试

# 运行所有测试
npm test

# 运行特定服务的测试
npm run test:weather

常见问题

  1. 服务无法启动

    • 检查端口占用
    • 确认环境变量配置
    • 验证构建输出
  2. API 调用失败

    • 检查 API Key 配置
    • 确认网络连接
    • 查看错误日志
  3. Cursor IDE 无法识别服务

    • 检查 MCP 配置
    • 重启 Cursor IDE
    • 确认服务状态

贡献指南

  1. Fork 项目
  2. 创建特性分支
  3. 提交变更
  4. 推送到分支
  5. 创建 Pull Request

许可证

MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Servers weather and demo service collection from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-servers-fist-maestro)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research