mirror-earth-mcp

v0.8.3
mirror-earth-mcp Checked 3 days ago Published 6 days ago

镜像地球气象数据的官方 MCP Python 服务。

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_models

列出镜像地球支持的模型。data_type 可选 forecast、historical 或 archive_forecast。

ParameterTypeDescription
data_type

get_model_details

返回指定模型的内置说明文档和对应 MCP 资源地址。

ParameterTypeDescription
model *string
data_type

list_variables

读取要素目录。frequency 为 hourly、daily 或 monthly;hourly 时必须提供 model。

ParameterTypeDescription
frequency *string
model

get_api_document

读取内置的 API 参考文档。path 为 references 目录下的相对路径, 例如 batch-exports.md(批量导出参数,含历史预报多起报范围模式)、query-parameters.md(查询参数)、 forecast-api.md。

ParameterTypeDescription
path *string

get_weather_description

将自定义 weather_id 转换为中文天气描述,未识别代码返回“未知”。

ParameterTypeDescription
code *

get_forecast

查询指定经纬度的天气预报。

ParameterTypeDescription
latitude *number
longitude *number
accept_pointsboolean
daily
forecast_days
hourly
idempotency_key
models
past_days
temporal_resolution
timezonestring

get_historical_weather

查询 ERA5 历史天气数据。

ParameterTypeDescription
end_date *string
latitude *number
longitude *number
start_date *string
accept_pointsboolean
daily
hourly
idempotency_key
models
timezonestring

get_archive_forecast

查询过去某次模型起报的历史预报数据。

ParameterTypeDescription
forecast_hours *integer
latitude *number
longitude *number
models *array
start_hour *string
accept_pointsboolean
daily
hourly
idempotency_key
timezonestring

get_seamless_weather

查询连续的 ERA5 历史与 ECMWF 预报天气数据。

ParameterTypeDescription
latitude *number
longitude *number
accept_pointsboolean
daily
forecast_days
hourly
idempotency_key
past_days
timezonestring

get_air_quality

查询 CAMS 全球空气质量(污染物浓度与空气质量指数)。 models=["archive_cams"] 时查询某次 CAMS 起报的历史预报:start_hour 为 UTC 起报时间 (仅 00、12 时,例如 2026-11-01T00:00),forecast_hours 最长 120;不能与其他模型混用。

ParameterTypeDescription
latitude *number
longitude *number
accept_pointsboolean
current
forecast_days
forecast_hours
hourly
idempotency_key
models
past_days
start_hour
timezonestring

geocode

根据地名查询经纬度。不会向公开地名服务转发 API Key。

ParameterTypeDescription
query *string
countrycodes
language
limitinteger

reverse_geocode

根据经纬度查询地点地址。不会向公开地名服务转发 API Key。

ParameterTypeDescription
latitude *number
longitude *number
language

get_batch_usage

查询 API Key 当日批量导出用量、剩余额度和活跃任务数。

get_points_account

查看本人会员、赠分、充值分和预留;只接受本人有效 API Key。

estimate_batch_export

创建批量导出前预估数据量。payload 不应包含 estimate_id。 历史预报 domain(archive_*、wn3_cn、wn3_cn_station)可在单个任务中覆盖多个起报时间: time_range.type 使用 forecast,同时提供 start、end(含首尾 UTC 日期)、逗号分隔的 start_hour(例如 "00,12")和正整数 forecast_hours; 不要为每个起报时间拆分任务。

ParameterTypeDescription
payload *object

create_batch_export

创建批量导出任务。请先用 estimate_batch_export 获得 estimate_id。 历史预报 domain(archive_*、wn3_cn、wn3_cn_station)的多起报范围(例如 start_hour="00,12")应在同一个 payload 中提交, 且必须显式提供正整数 forecast_hours;不要为每个起报时间分别建任务。

ParameterTypeDescription
payload *object

get_batch_task

查询批量导出任务状态;完成时会附加下载地址。

ParameterTypeDescription
task_id *string

list_batch_tasks

列出当前 API Key 创建的批量导出任务。

ParameterTypeDescription
pageinteger
page_sizeinteger
status

cancel_batch_task

取消等待中或处理中的批量导出任务。

ParameterTypeDescription
task_id *string

claim_trial_membership

领取 3 天开发者版会员体验。每个用户仅可领取一次,认证方式为 X-API-Key。

get_trial_status

查询当前用户是否已领取过开发者版会员体验。认证方式为 X-API-Key。