Skip to main content
Glama

AMap Maps MCP Server

by masx200
Mulan Permissive Software License, Version 2
2

maps_distance

Calculate distances between geographic coordinates for driving, walking, or straight-line routes using AMap Maps data.

Instructions

距离测量 API 可以测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量

Input Schema

NameRequiredDescriptionDefault
originsYes起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度
destinationYes终点经度,纬度,坐标格式为:经度,纬度
typeNo距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量

Input Schema (JSON Schema)

{ "properties": { "destination": { "description": "终点经度,纬度,坐标格式为:经度,纬度", "type": "string" }, "origins": { "description": "起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度", "type": "string" }, "type": { "description": "距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量", "type": "string" } }, "required": [ "origins", "destination" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/masx200/amap-maps-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server