Map Parser
Parse Google Maps links into stops with coordinates. Geocode, route, and export.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"map-parser": {
"url": "https://mapparser.travel-tracker.org/mcp"
}
}
}遠端端點
https://mapparser.travel-tracker.org/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢parse_map_link(url, useBrowser)
Extract the stops (names and coordinates) of a Google Maps directions link, plus the likely region. Short links are expanded; links that hide stop names are opened in a headless browser, which can take up to a minute.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"description": "Google Maps directions link, full (google.com/maps/dir/...) or short (maps.app.goo.gl/...)"
},
"useBrowser": {
"description": "Force the slower browser mode, e.g. when names come back as coordinates",
"type": "boolean"
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢geocode(query, lat, lng)
Look up a place name or address (forward) or a coordinate (reverse) with OpenStreetMap Nominatim. Returns the "State, Country code" region and the full address.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"description": "Place name or address",
"type": "string",
"minLength": 1
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_route(waypoints, mode)
Distance and travel time through stops in order, per leg and in total, using OpenStreetMap routing (OSRM). Pass the waypoints from parse_map_link.
輸入結構描述
{
"type": "object",
"properties": {
"waypoints": {
"minItems": 2,
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "Stop name",
"type": "string"
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"lat",
"lng"
]
}
},
"mode": {
"description": "Default driving",
"type": "string",
"enum": [
"driving",
"walking",
"cycling"
]
}
},
"required": [
"waypoints"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢export_waypoints(format, url, waypoints)
Turn a Google Maps link or a list of stops into a CSV (import into Google My Maps) or KML (Google Earth, My Maps) file. Returns the file contents.
輸入結構描述
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"csv",
"kml"
]
},
"url": {
"type": "string",
"minLength": 1,
"description": "Google Maps directions link, full (google.com/maps/dir/...) or short (maps.app.goo.gl/...)"
},
"waypoints": {
"description": "Stops to export, when no url is given",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"name"
]
}
}
},
"required": [
"format"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據