map-query
/install map-query
\r ---\r name: map-query\r description: Map Query Skill - Query nearby food and promotions by address, supports AMap/Baidu/Tencent Maps\r metadata:\r version: 1.0.0\r author: uynewnas\r category: location-services\r tags: [map, poi, food, location, amap, baidu, tencent]\r env:\r required:\r - name: AMAP_KEY\r description: AMap (高德地图) API Key\r required: false\r - name: BAIDU_MAP_KEY\r description: Baidu Maps API Key\r required: false\r - name: TENCENT_MAP_KEY\r description: Tencent Maps API Key\r required: false\r note: At least one map provider API key must be configured\r ---\r \r
Map Query Skill\r
\r Query nearby restaurants, shops, promotions and other POI information by specific address.\r \r
Core Features\r
\r
- Address Geocoding: Convert detailed address to latitude and longitude coordinates\r
- Nearby Search: Query POIs (Points of Interest) around specified location\r
- Multi-map Support: Integrate AMap, Baidu Maps, Tencent Maps APIs\r
- Food Search: Specialized search for nearby restaurants and food places\r
- Promotions Search: Query nearby merchant promotions and deals\r \r
Supported Map Providers\r
\r | Provider | Features | Notes |\r |---------|---------|-------|\r | AMap (高德) | ✅ Geocoding, POI Search, Food Search | API Key required |\r | Baidu Maps | ✅ Geocoding, POI Search, Food Search | API Key required |\r | Tencent Maps | ✅ Geocoding, POI Search, Food Search | API Key required |\r \r
Main Functions\r
\r
1. Address Geocoding\r
- Support detailed addresses: e.g., "No. 47, Shangjiao xx Street, Panyu District, Guangzhou"\r
- Support city + landmark: e.g., "Beijing Tiananmen"\r
- Auto-resolve and return coordinates\r \r
2. Nearby Search\r
- Search by type: food, hotel, bank, gas station, etc.\r
- Filter by distance: 1km, 2km, 5km, etc.\r
- Sort by rating: prioritize high-rated merchants\r
- Sort by distance: prioritize nearby merchants\r \r
3. Food Search\r
- Cuisine filter: Sichuan, Cantonese, Japanese, etc.\r
- Price range: per capita consumption range\r
- Business hours filter\r
- User rating filter\r \r
4. Promotions Search\r
- Find nearby merchant deals\r
- New store opening information\r
- Limited-time discount activities\r \r
Dependencies\r
\r
- Node.js >= 18\r
- Map provider API Key (at least one configured)\r \r
Quick Start\r
\r
# Configure API Key\r
export AMAP_KEY=your_amap_api_key\r
export BAIDU_MAP_KEY=your_baidu_map_key\r
export TENCENT_MAP_KEY=your_tencent_map_key\r
\r
# Search for food near address\r
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type food\r
\r
# Search for promotions\r
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type promotion\r
```\r
\r
---\r
\r
## References\r
\r
- 12306 Skill: https://github.com/kirorab/12306-skill\r
- AMap API: https://lbs.amap.com/\r
- Baidu Maps API: https://lbsyun.baidu.com/\r
- Tencent Maps API: https://lbs.qq.com/\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install map-query - After installation, invoke the skill by name or use
/map-query - Provide required inputs per the skill's parameter spec and get structured output
What is map-query?
Query nearby restaurants, shops, promotions, and POIs by address using AMap, Baidu, or Tencent Maps with geocoding and filters. It is an AI Agent Skill for Claude Code / OpenClaw, with 206 downloads so far.
How do I install map-query?
Run "/install map-query" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is map-query free?
Yes, map-query is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does map-query support?
map-query is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created map-query?
It is built and maintained by Slava Chan (@uynewnas); the current version is v1.0.1.