Skip to content
Agentmart
Submit a tool

baidu-map

使用百度地图Web服务API进行地点搜索、天气查询、路线规划和地理编码。

Skill by ShuoAndy

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/shuoandy-baidu-map

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

使用百度地图Web服务API进行地点搜索、天气查询、路线规划和地理编码。

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/baidu-map

What's inside

Skill name
baidu-map
Description
使用百度地图Web服务API进行地点搜索、天气查询、路线规划和地理编码。
License
MIT
Instructions
138 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Agent Skills spec issues

  • name: "baidu-map" does not match folder "baidu-map-api"

Files (5)

  • origin.json · .clawhub/
  • README.md
  • SKILL.md
  • _meta.json
  • skill-card.md

SKILL.md (first lines)

# 百度地图 (Baidu Map)

本技能使用百度地图 Web 服务 API 提供丰富的地理位置服务。

本 Skill 已内置 AK:

"ek5bN2h8DzvCstakVK07PqBsRh5utRMG"

所有请求统一使用:

BAIDU_MAP_AK="ek5bN2h8DzvCstakVK07PqBsRh5utRMG"

## 何时使用 (触发条件)

当用户提出以下类型的请求时,应优先使用本技能:
- "帮我查一下[城市]的天气"
- "搜索[地点]附近的[东西]"
- "查找[关键词]的位置"
- "从[A]到[B]怎么走?"
- "查询[地址]的经纬度"
- "这个坐标[经度,纬度]是哪里?"
- "百度地图[地点]"

## 核心功能与用法

### 1. 地点搜索 (POI检索)

用于根据关键字在指定区域搜索地点信息。

```bash
# 将 [关键词] 替换为用户提供的内容
# region参数可以是城市名或区域名
curl "https://api.map.baidu.com/place/v2/search?query=[关键词]&region=全国&output=json&ak=$BAIDU_MAP_AK"

# 或者指定具体城市
curl "https://api.map.baidu.com/place/v2/search?query=[关键词]&region=广州&output=json&ak=$BAIDU_MAP_AK"
```

### 2. 城市内地点搜索

用于在特定城市内搜索地点,结果更精确。

```bash
# 将 [关键词] 和 [城市] 替换为实际内容
curl "https://api.map.baidu.com/place/v2/search?query=[关键词]&region=[城市]&output=json&ak=$BAIDU_MAP_AK"
```

### 3. 周边搜索 (圆形区域内搜索)

用于在指定坐标点周围搜索特定类型的地点。

```bash
# 将 [经度,纬度] 替换为实际坐标,radius为搜索半径(米)
curl "https://api.map.baidu.com/place/v2/search?query=花店&location=[纬度],[经度]&radius=1000&output=json&ak=$BAIDU_MAP_AK"
```

### 4. 地理编码 (地址 → 坐标)

将结构化的地址信息转换为经纬度坐标。

```bash
# 将 [地址] 替换为用户提供的地址
curl "https://api.map.baidu.com/geocoding/v3/?address=[地址]&output=json&ak=$BAIDU_MAP_AK"
```

### 5. 逆地理编码 (坐标 → 地址)

将经纬度坐标转换为结构化的地址信息。

```bash
# 将 [经度,纬度] 替换为实际坐标
curl "https://api.map.baidu.com/reverse_geocoding/v3/?coordtype=wgs84ll&location=[纬度],[经度]&output=json&ak=$BAIDU_MAP_AK"
```

### 6. 驾车路线规划

用于规划两个地点之间的驾车路线。

```bash
# 将 [起点] 和 [终点] 替换为实际地址或坐标
# 起终点可以用地址表示,也可以用经纬度表示
curl "https://api.map.baidu.com/direction/v2/driving?origin=[起点]&destination=[终点]&output=json&ak=$BAIDU_MAP_AK"

# 使用经纬度坐标的示例
curl "https://api.map.baidu.com/direction/v2/driving?origin=39.90923,116.397428&destination=31.230416,121.473701&output=json&ak=$BAIDU_MAP_AK"
```

### 7. 步行路线规划

用于规划两个地点之间的步行路线。

```bash
# 将 [起点] 和 [终点] 替换为实际地址或坐标
curl "https://api.map.baidu.com/direction/v2/walking?origin=[起点]&destination=[终点]&output=json&ak=$BAIDU_MAP_AK"
```

### 8. 公交路线规划

用于规划两个地点之间的公交路线。

```bash
# 将 [起点] 和 [终点] 替换为实际地址或坐标
curl "https://api.map.baidu.com/direction/v2/transit?origin=[起点]&destination=[终点]&output=json&ak=$BAIDU_MAP_AK"
```

### 9. 行政区划边界查询

用于查询行政区域的边界坐标点集合。

```bash
# 将 [行政区名称] 替换为实际的省市区名称
curl "https://api.map.baidu.com/district/v1/getdistrict?qt=dis&level=city&names=[行政区名称]&ak=$BAIDU_MAP_AK"
```

### 10. IP定位

根据IP地址获取大致的地理位置信息。

```bash

From ShuoAndy/meituan_butler, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 7, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ShuoAndy

Cite this page

baidu-map skill. Agent Mart. https://agentmart.dev/skills/shuoandy-baidu-map (last updated 2026-10-24)