Geocoding & Weather
Geocoding, weather forecasts, and timezone lookups
我该使用它吗
质量与安全性
A
发现(1)
- LOW在 get_weather 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~337token 数(工具定义)
~996 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.26%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"geo": {
"url": "https://geo.memoryapi.org/mcp"
}
}
}远程端点
https://geo.memoryapi.org/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢 只读🟡 写入🔴 删除⚪ 未知
⚪geocode_address(q, lat, lon, limit)
Forward or reverse geocoding using OpenStreetMap Nominatim. Forward: convert an address to lat/lon. Reverse: convert lat/lon to an address.
输入模式
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Address or place name to forward geocode"
},
"lat": {
"type": "number",
"description": "Latitude for reverse geocoding"
},
"lon": {
"type": "number",
"description": "Longitude for reverse geocoding"
},
"limit": {
"type": "number",
"description": "Number of results (max 5)",
"default": 3
}
}
}🟢get_weather(lat, lon, location, days, units)
Current weather and multi-day forecast for any location. Provide coordinates or a city name.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"description": "Latitude"
},
"lon": {
"type": "number",
"description": "Longitude"
},
"location": {
"type": "string",
"description": "City name (geocoded automatically)"
},
"days": {
"type": "number",
"description": "Forecast days (1-7, default 3)",
"default": 3
},
"units": {
"type": "string",
"description": "metric or imperial",
"default": "metric"
}
}
}🟢get_timezone(lat, lon, country, ip)
Get timezone and country information by coordinates, country code/name, or IP address.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"description": "Latitude"
},
"lon": {
"type": "number",
"description": "Longitude"
},
"country": {
"type": "string",
"description": "ISO country code (US, DE) or country name"
},
"ip": {
"type": "string",
"description": "IP address for timezone lookup"
}
}
}推荐提示词
retrieve_data
Get details about [item] from Geocoding & Weather
预期工具:
get_weatherfetch_info
Fetch [information type] using Geocoding & Weather
预期工具:
get_weather社区
证据
最近观测
已验证未记录版本3 个工具
已验证未记录版本3 个工具