---
name: openakita-skills-didi-ride
description: "DiDi ride-hailing service skill. Supports taxi booking, price estimation, route planning (driving/transit/walking/cycling), order management, driver location tracking, and scheduled rides. Use when user expresses any transportation need including ride-hailing, route queries, or commuting."
license: MIT
metadata:
  author: didi
  version: "1.0.0"
requires:
  env: [DIDI_MCP_KEY]
---

# 滴滴出行服务

通过 DiDi MCP Server API 提供打车、路线规划、订单管理等出行能力。

## 快速开始

### 获取 MCP KEY

访问 https://mcp.didichuxing.com/claw 获取 MCP Key，或使用滴滴出行 App 扫码。

### 配置 Key

直接在对话中告诉 Agent 你的 MCP Key，或编辑配置：
export DIDI_MCP_KEY="your_key"

### 依赖

npm install -g mcporter

## 核心能力

- 打车：直接说"打车去[地点]"、"回家"、"上班"
- 查价：查一下从 A 到 B 多少钱
- 查询订单：了解当前订单状态
- 司机位置：司机在哪里、多久到
- 预约出行：15 分钟后打车、明天 9 点去机场
- 路线规划：驾车/公交/步行/骑行
- 取消订单：取消当前订单

## 主流程

1. 地址解析：maps_textsearch
2. 确认起终点
3. 价格预估：taxi_estimate（获取 traceId）
4. 创建订单：taxi_create_order
5. 查询状态：taxi_query_order

## 工具清单

| 领域 | 工具 |
|------|------|
| 打车 | maps_textsearch, taxi_estimate, taxi_create_order, taxi_query_order, taxi_cancel_order |
| 路线 | maps_direction_driving, maps_direction_transit, maps_direction_walking, maps_direction_bicycling |
| 周边 | maps_place_around |

## MCP 调用格式

MCP_URL="https://mcp.didichuxing.com/mcp-servers?key=$DIDI_MCP_KEY"
mcporter call "$MCP_URL" <tool> --args '{"key":"value"}'

## 预置脚本

### scripts/didi_mcp.py
滴滴出行 MCP 客户端，需设置 DIDI_MCP_KEY。

```bash
python3 scripts/didi_mcp.py ride --from "望京SOHO" --to "国贸大厦"
python3 scripts/didi_mcp.py route --from "望京" --to "国贸"
python3 scripts/didi_mcp.py poi --keyword "加油站" --location "116.4,39.9"
python3 scripts/didi_mcp.py price --from "望京" --to "国贸"
```



---
Source attribution: openakita
Original project: https://github.com/openakita/openakita/blob/main/skills/didi-ride/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: openakita
Original project: https://github.com/openakita/openakita/blob/main/skills/didi-ride/SKILL.md
Attribution basis: Source repository record

Fields of work: Sales, Customer Support
Roles: Business Development, Customer Success Manager, Support Agent
Specialties: API
Tools: Mcporter
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 1c9df3ec3501a04a241ba78367d5a4c51b706aa9037134e0b9344bc80cc0e2be
