graphhopper-automation
它能做什么
这个工具可以帮你自动完成 Graphhopper 中的任务。Graphhopper 是一个路线规划和地图服务。你可以通过 Rube MCP 这个系统来使用它的各项功能。
适用场景
- ✓当你需要找到两个地点之间的最佳路线时。
- ✓当你想计算出行距离或时间时。
- ✓当你需要把地图数据整合到自己的应用中时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/graphhopper-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请使用 Graphhopper 帮我查找从圣保罗到里约热内卢的最佳路线。”
每周 5 个新技能,1 分钟读完。
工作原理
首先,你需要设置好 Rube MCP,并连接你的 Graphhopper 账号。然后,你搜索 Graphhopper 的可用工具,再使用相应的命令来执行任务,比如计算路线。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Graphhopper Automation via Rube MCP
Automate Graphhopper operations through Composio's Graphhopper toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/graphhopper
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Graphhopper connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgraphhopper - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgraphhopper - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Tool Discovery
Always discover available tools before executing workflows:
RUBE_SEARCH_TOOLS
queries: [{use_case: "Graphhopper operations", known_fields: ""}]
session: {generate_id: true}
This returns available tool slugs, input schemas, recommended execution plans, and known pitfalls.
Core Workflow Pattern
Step 1: Discover Available Tools
RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Graphhopper task"}]
session: {id: "existing_session_id"}
Step 2: Check Connection
RUBE_MANAGE_CONNECTIONS
toolkits: ["graphhopper"]
session_id: "your_session_id"
Step 3: Execute Tools
RUBE_MULTI_EXECUTE_TOOL
tools: [{
tool_slug: "TOOL_SLUG_FROM_SEARCH",
arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"
Known Pitfalls
- Always search first: Tool schemas change. Never hardcode tool slugs or arguments without calling
RUBE_SEARCH_TOOLS - Check connection: Verify
RUBE_MANAGE_CONNECTIONSshows ACTIVE status before executing tools - Schema compliance: Use exact field names and types from the search results
- Memory parameter: Always include
memoryinRUBE_MULTI_EXECUTE_TOOLcalls, even if empty ({}) - Session reuse: Reuse session IDs within a workflow. Generate new ones for new workflows
- Pagination: Check responses for pagination tokens and continue fetching until complete
Quick Reference
| Operation | Approach |
|---|---|
| Find tools | RUBE_SEARCH_TOOLS with Graphhopper-specific use case |
| Connect | RUBE_MANAGE_CONNECTIONS with toolkit graphhopper |
| Execute | RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs |
| Bulk ops | RUBE_REMOTE_WORKBENCH with run_composio_tool() |
| Full schema | RUBE_GET_TOOL_SCHEMAS for tools with schemaRef |
Powered by Composio
常见问题
什么是 Rube MCP?
它是一个让 AI 代理(比如 Claude Code)能够使用 Graphhopper 等其他工具和服务的系统,不需要复杂的配置。
我需要有 Graphhopper 账号吗?
需要。你必须通过 Rube MCP 设置好有效的 Graphhopper 连接,才能使用这个工具。
我怎么知道该用哪些命令?
工具总会建议你先使用 `RUBE_SEARCH_TOOLS` 命令,查看有哪些具体的 Graphhopper 任务可用,以及该如何使用它们。
详情
作者的原始描述
Automate Graphhopper tasks via Rube MCP (Composio). Always search tools first for current schemas.
热度
- GitHub 星标
- 77k
- 排名
- #2124
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。