elevation
Pack: opentopodata · Endpoint: https://gateway.pipeworx.io/opentopodata/mcp
Elevation at points. Up to 100 locations per request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
locations | array | yes | Array of {lat, lon} (up to 100). Single object also accepted. |
items | object | no | |
dataset | string | no | Default “srtm90m”. |
samples | number | no | Optional: interpolate N samples between first and last point. |
format | string | no | json (default) | geojson |
Example call
curl -X POST https://gateway.pipeworx.io/opentopodata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"elevation","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"opentopodata": {
"url": "https://gateway.pipeworx.io/opentopodata/mcp"
}
}
}
See Getting Started for client-specific install steps.