elevation_polyline

Pack: maptiler · Endpoint: https://gateway.pipeworx.io/maptiler/mcp

“Elevation profile along [route]” / “topographic profile of [path]” / “how hilly is this trail” — elevation samples along a polyline (sequence of lat/lng). Use for hiking elevation gain, cycling grade, trail planning.

Parameters

NameTypeRequiredDescription
coordinatesarrayyes
itemsarrayno
itemsnumberno

Example call

Arguments

{
  "coordinates": [
    [
      -105.2705,
      40.015
    ],
    [
      -105.269,
      40.016
    ],
    [
      -105.2675,
      40.017
    ]
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/maptiler/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"elevation_polyline","arguments":{"coordinates":[[-105.2705,40.015],[-105.269,40.016],[-105.2675,40.017]]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('elevation_polyline', {
  "coordinates": [
    [
      -105.2705,
      40.015
    ],
    [
      -105.269,
      40.016
    ],
    [
      -105.2675,
      40.017
    ]
  ]
});

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "maptiler": {
      "url": "https://gateway.pipeworx.io/maptiler/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026