Weather MCP server built with mcp-go

Weather MCP server built with mcp-go

mcpserver-jdchjq•byjdchjq

A collection of MCP servers implemented with mcp-go, currently offering a weather server that queries weather data through the QWeather API.

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

WHAT IT DOES

  • •Provides a weather MCP server for querying weather data, backed by the QWeather API.
  • •Can run the MCP server over SSE for remote HTTP streaming calls or over stdio for inter-process communication.
  • •Rewrites custom UnmarshalJSON methods to copy annotation tags into each result's description field so AI can interpret returned results more fully.

BEST FOR

  • •AI assistants that need current weather data through an MCP server.
  • •Scenarios that need to call an MCP weather server remotely over SSE.

ABOUT MCPSERVER-JDCHJQ

Weather MCP server built with mcp-go is cataloged as an MCP server attributed to jdchjq. A collection of MCP servers implemented with mcp-go, currently offering a weather server that queries weather data through the QWeather API. 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 Weather MCP server built with mcp-go 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

How can the weather MCP server be connected?

It supports stdio via a compiled executable and SSE via a running server endpoint for remote invocation.

Upstream README

View this exact version on GitHub

README.md · e8f093d137af · Fetched 2026-11-13 12:24:24 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 SERVER

这是基于 mcp-go 实现的一些 mcp server

server

细节

目前实现的功能有

  • weather 天气相关的功能,用于查询天气数据。底层使用的是和风天气 API

一些补充

目前 mcp-go 没有实现对返回结果进行注释,本项目通过重写自定义类型的 UnmarshalJSON 方法,将注释的 tag 赋值到每个 description 字段中,方便 AI 在获取结果后能充分、正确的解读(一定程度增加了 token 量)

client

使用方式

执行输入参数:
1、configDir
表示配置文件所在目录,路径下的配置文件需要 config/config.yaml 、config/private_key.pem
因为配置比较多,没有改成环境变量的输入方式
2、transport
mcp server 的运行方式,sse 表示采用 http 推流方式运行,stdio 表示采用进程间通信方式运行

客户端配置
1、通过 stdio(进程间通信)方式调用 server
先使用 go build -0 ./bin/weather ./cmd/weather 将程序编译成可执行文件
最后在 command 填入可执行文件的路径,env 配置 go 的相关环境变量

"my-weather-server": {
  "command": "/Users/jundongchen/Documents/go/src/smart-customer/bin/weather",
  "args": [
    "--configDir=/Users/jundongchen/Documents/go/src/smart-customer",
    "--transport=stdio"
  ],
  "env": {
    "GOPATH": "/Users/jundongchen/Documents/go",
    "GOMODCACHE": "/Users/jundongchen/Documents/go/pkg/mod"
  }
}

2、通过 sse 方式调用 server
此方式适用于需要远程调用 mcp server, 在使用前,需要使用go run ./cmd/weather/main.go --configDir=/Users/jundongchen/Documents/go/src/smart-customer -t=sse 运行 mcp server
客户端 mcp json 配置如下:

"my-weather-server-sse": {
  "url": "http://localhost:8080/sse",
  "args": [
    "--configDir=/Users/jundongchen/Documents/go/src/smart-customer",
    "--transport=stdio"
  ],
  "env": {
    "GOPATH": "/Users/jundongchen/Documents/go",
    "GOMODCACHE": "/Users/jundongchen/Documents/go/pkg/mod"
  },
  "transportType": "sse",
},

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 Weather MCP server built with mcp-go 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/mcpserver-jdchjq)

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