# elevation-mcp-server [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/cyanheads/elevation-mcp-server  
**GitHub Stars:** 3  
**npm Downloads (last month):** 972  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/elevation-mcp-server

## Description
Look up elevation worldwide, profile route ascent/descent, grid areas, check terrain line of sight.

## Tools
Capabilities this server exposes over MCP:

- **elevation_get_points** — Ground elevation at 1–100 coordinates, in meters and feet, with the dataset and resolution behind each value
- **elevation_get_profile** — Sample a route at evenly spaced points and summarize distance, ascent, descent, elevation range, and steepest grades
- **elevation_get_grid** — Sample a node grid over a bounding box and report its highest and lowest points, mean elevation, and relief
- **elevation_check_line_of_sight** — Decide whether terrain blocks the sightline between two points, with earth curvature and refraction, and check first Fresnel zone clearance for radio links

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "elevation-mcp-server": {
    "command": "npx",
    "args": ["-y","@cyanheads/elevation-mcp-server"]
  }
}
```

## Documentation

## What elevation-mcp-server does

elevation-mcp-server provides four MCP tools for querying and analyzing terrain. It uses USGS 3DEP data in the United States and Open Topo Data for worldwide coverage. Point lookups return elevations in meters and feet, along with the source dataset and resolution when available.

The server can also sample a route and report total distance, ascent, descent, elevation range, steepest grades, and the locations of high and low points. For an area, it samples a rectangular node grid and calculates its highest point, lowest point, mean elevation, and relief. A line-of-sight tool evaluates terrain between two endpoints and can account for Earth curvature, atmospheric refraction, and first Fresnel-zone clearance for radio links.

## How it works

Coordinates use decimal-degree latitude and longitude in WGS84. Point requests accept one coordinate or an array; the tool processes a validated prefix of larger submissions and reports counts and an offset for continuing the request. Results can identify missing data on individual points rather than treating every request as all-or-nothing.

Route profiles use evenly spaced samples, include both endpoints, and return an optional sample table containing distance, position, elevation, grade, dataset, and resolution. Grid requests define south, west, north, and east boundaries and produce matrices whose rows run from north to south and columns from west to east. Grid nodes are point samples, not cell averages.

Line-of-sight checks return a clear, blocked, or indeterminate verdict, minimum clearance, the limiting point, and the first obstruction when terrain blocks the path. The radio model can additionally assess the first Fresnel zone against a 60% free-space clearance threshold. Results include vertical-reference information, but heights from different datasets are not normalized to a shared datum.

## Setup and configuration

The package is available through npm as `@cyanheads/elevation-mcp-server`, and the repository supports installation through `npx`, Docker, or an MCPB package. MCP clients can connect through STDIO or Streamable HTTP. A public hosted endpoint is available at `https://elevation.caseyjhand.com/mcp`.

Claude Desktop, Cursor, and VS Code have installation links for the server. No API key is required. The server can also be run from a self-hosted deployment using the published package or container distribution.

## Tools and capabilities

- `elevation_get_points` looks up one to 100 processed coordinates per call and reports metric and imperial heights, source data, resolution, and point-level status. Larger submitted arrays expose continuation counts and an offset.
- `elevation_get_profile` samples a two-vertex-or-longer route, calculates distance and elevation changes, and reports grades and extrema. It accepts 2–250 samples, with larger requests capped at 250 by default.
- `elevation_get_grid` samples a 2–25 by 2–25 bounding-box grid, subject to 250 total cells, and returns elevation and dataset matrices plus area statistics.
- `elevation_check_line_of_sight` evaluates paths up to 1,000 km using flat, geometric, optical, or radio models. Observer and target heights, water level, and radio frequency are configurable.

## Limitations and notes

Terrain analysis reflects the underlying elevation source. Buildings and vegetation are represented only when captured by that source. A ridge can fall between line-of-sight samples, so a clear result applies to sampled points; missing samples can produce an indeterminate result. Requests can fail when upstream USGS 3DEP or Open Topo Data services are unavailable, rate-limited, or at a public-instance daily limit.

Elevation references vary by dataset. Public SRTM uses EGM96, while USGS 3DEP commonly uses NAVD88 in the conterminous United States; other references may vary. Returned heights are not transformed to a common datum, and a water-surface value should only be used with a compatible terrain reference.

_Full upstream README: https://allmcps.com/mcp/elevation-mcp-server/readme_

