Skip to main content
Glama

Chuk MCP DEM

Digital Elevation Model Discovery, Retrieval & Terrain Analysis MCP Server -- A comprehensive Model Context Protocol (MCP) server for querying DEM sources, fetching elevation data, and computing terrain derivatives.

This is a demonstration project provided as-is for learning and testing purposes.

Python 3.11+ License: Apache-2.0 Tests: 1231 passed

Features

This MCP server provides access to global elevation data through 6 DEM sources via 25 tools.

All tools return fully-typed Pydantic v2 models for type safety, validation, and excellent IDE support. All tools support output_mode="text" for human-readable output alongside the default JSON.

DEM Sources

Source

Resolution

Coverage

Notes

Copernicus GLO-30 (default)

30m

Global

Void-filled, CC-BY-4.0

Copernicus GLO-90

90m

Global

9x faster downloads, CC-BY-4.0

SRTM v3

30m

60N-56S

May have voids, Public Domain

ASTER GDEM v3

30m

83N-83S

Wider latitude than SRTM, Public Domain

3DEP

10m

USA

LiDAR-derived, highest resolution, Public Domain

FABDEM

30m

Global

Bare-earth (buildings/forests removed), CC-BY-NC-SA-4.0 (non-commercial)

Discovery Tools

1. List Sources (dem_list_sources)

List all available DEM sources:

  • 6 sources with resolution, coverage, and void-fill status

  • Default source identification (Copernicus GLO-30)

2. Describe Source (dem_describe_source)

Get detailed metadata for a DEM source:

  • Resolution, coverage bounds, vertical datum, accuracy

  • Acquisition period, sensors, license

  • LLM-friendly usage guidance

3. Server Status (dem_status)

Check server configuration:

  • Server version, default source, available sources

  • Storage provider and artifact store availability

  • Current tile cache size

4. Capabilities (dem_capabilities)

List full server capabilities for LLM workflow planning:

  • All sources with metadata

  • Available terrain derivatives and analysis tools

  • Output formats, tool count, usage guidance

Download Tools

5. Fetch Elevation (dem_fetch)

Download elevation data for a bounding box:

  • Any of the 6 DEM sources

  • Multi-tile merging for areas spanning multiple tiles

  • Automatic void filling (nearest-neighbour interpolation)

  • Hillshade auto-preview alongside GeoTIFF output

  • Stored in chuk-artifacts with enriched metadata

6. Point Elevation (dem_fetch_point)

Get elevation at a single geographic coordinate:

  • Three interpolation methods: nearest, bilinear (default), cubic

  • Returns elevation with vertical uncertainty estimate

  • Fast single-tile read

7. Multi-Point Elevation (dem_fetch_points)

Get elevations at multiple coordinates in one call:

  • Batch processing with single tile merge

  • Returns per-point elevations and overall range

  • Configurable interpolation method

  • Automatic input normalization for LLM callers (handles string and flat-list formats)

8. Coverage Check (dem_check_coverage)

Check if a DEM source covers a bounding box:

  • Coverage percentage calculation

  • Tile enumeration and size estimation

  • No pixel data transferred -- pure geometry computation

9. Size Estimation (dem_estimate_size)

Estimate download size before fetching:

  • Pixel count and byte size calculation

  • Warnings for large downloads (>=500 MB, >=1 GB)

  • Optional custom resolution target

Terrain Analysis Tools

10. Hillshade (dem_hillshade)

Compute shaded relief from elevation data:

  • Horn's method (1981) with configurable sun azimuth and altitude

  • Vertical exaggeration via z-factor

  • GeoTIFF or PNG output with auto-preview

11. Slope (dem_slope)

Compute slope steepness:

  • Output in degrees or percent

  • Horn's method gradient computation

  • GeoTIFF or PNG output with green-yellow-red colour ramp

12. Aspect (dem_aspect)

Compute slope direction:

  • 0-360 degrees from north, flat areas marked with configurable value

  • GeoTIFF or PNG output with HSV colour wheel

13. Curvature (dem_curvature)

Compute surface curvature (rate of change of slope):

  • Positive values = convex surfaces (ridges), negative = concave (valleys)

  • Zevenbergen-Thorne second derivative method

  • GeoTIFF or PNG output with diverging blue-white-red ramp

14. Terrain Ruggedness (dem_terrain_ruggedness)

Compute Terrain Ruggedness Index (TRI):

  • Mean absolute elevation difference from 8 neighbours (Riley et al. 1999)

  • Values in metres with standard classification (level to extremely rugged)

  • GeoTIFF or PNG output with green-yellow-red ramp

15. Contours (dem_contour)

Generate contour lines at specified elevation intervals:

  • Configurable contour interval (default 100m)

  • Sign-change detection for precise contour placement

  • GeoTIFF or PNG output with terrain background and contour overlay

16. Watershed (dem_watershed)

Compute flow accumulation for hydrological analysis:

  • D8 single-flow-direction algorithm

  • High accumulation values indicate streams and drainage channels

  • GeoTIFF or PNG output with log-scaled blue ramp for stream visualisation

Profile & Viewshed Tools

17. Elevation Profile (dem_profile)

Extract elevation cross-section between two points:

  • Configurable number of sample points (default 100)

  • Returns per-point elevation, distance, total gain and loss

  • Three interpolation methods

18. Viewshed (dem_viewshed)

Compute visible area from an observer point:

  • DDA ray-casting algorithm for line-of-sight analysis

  • Configurable observer height and radius (up to 50 km)

  • Returns visibility percentage and raster artifact

View Tools

Interactive visualisation tools that return structured view content for MCP clients that support rich UI rendering (e.g. Claude Desktop with mcp-views). These tools return structuredContent rather than JSON strings and do not accept output_mode.

19. Elevation Profile Chart (dem_profile_chart)

Render an elevation profile as an interactive chart:

  • Same profile computation as dem_profile with gain/loss statistics in the title

  • Returns a ProfileContent view with labelled x/y axes and filled area

  • Rendered as an interactive line chart in supporting MCP clients

20. DEM Map (dem_map)

Display a DEM analysis area on an interactive map:

  • Renders the bounding box as a GeoJSON polygon overlay on a tiled basemap

  • Configurable basemap: terrain (default), satellite, osm, dark

  • Auto-calculates zoom level from bbox extent

  • Useful for verifying coverage before fetching elevation data

ML-Enhanced Analysis Tools

Tier 2 tools that recognise terrain features using existing terrain derivatives as input. Install with pip install chuk-mcp-dem[ml] for Isolation Forest support.

21. Landform Classification (dem_classify_landforms)

Classify terrain into geomorphological types:

  • 9 landform classes: plain, ridge, valley, plateau, escarpment, depression, saddle, terrace, alluvial fan

  • Rule-based classification using slope, curvature, and TRI thresholds

  • Returns dominant landform and class distribution percentages

22. Anomaly Detection (dem_detect_anomalies)

Detect terrain anomalies using Isolation Forest:

  • Stacks slope, curvature, TRI, and roughness into feature vectors

  • scikit-learn Isolation Forest identifies outlier terrain

  • Returns anomaly score map and labelled anomaly regions with confidence

23. Temporal Change (dem_compare_temporal)

Compute elevation change between two DEM sources:

  • Pixel-aligned subtraction with significance thresholding

  • Volume gained/lost calculation in cubic metres

  • Labelled change regions with mean/max change and gain/loss type

24. Feature Detection (dem_detect_features)

CNN-inspired geomorphological feature detection:

  • Multi-angle hillshade (8 azimuths) with Sobel edge filters

  • Classifies pixels into peak, ridge, valley, cliff, saddle, channel

  • Morphological cleanup and connected component labelling

  • No torch required -- uses scipy convolutional filters only

LLM Interpretation Tool

25. Terrain Interpretation (dem_interpret)

Send any terrain artifact to the calling LLM via MCP sampling for interpretation:

  • Converts GeoTIFF or PNG artifacts to images for the LLM

  • 6 interpretation contexts: general, archaeological survey, flood risk, geological, military history, urban planning

  • Optional specific question about the terrain

  • Requires an MCP client that supports sampling (e.g., Claude Desktop)

  • No additional dependencies -- uses the MCP SDK already installed

Related MCP server: mcp-opentopography

Public Server

A hosted instance is available at https://dem.chukai.io/mcp — no installation required.

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "dem": {
      "url": "https://dem.chukai.io/mcp"
    }
  }
}

Installation

# Install from PyPI
uv pip install chuk-mcp-dem

# Or clone and install from source
git clone <repository-url>
cd chuk-mcp-dem
uv sync --dev

Using pip

pip install chuk-mcp-dem

Environment Setup

# Storage backend (optional, defaults to memory)
export CHUK_ARTIFACTS_PROVIDER=memory    # or: filesystem, s3

# For filesystem storage
export CHUK_ARTIFACTS_PATH=/tmp/dem-artifacts

# For S3 storage
export BUCKET_NAME=my-bucket
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...

Usage

With Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "dem": {
      "command": "uvx",
      "args": ["chuk-mcp-dem"]
    }
  }
}

Or if installed locally:

{
  "mcpServers": {
    "dem": {
      "command": "chuk-mcp-dem"
    }
  }
}

Standalone

# STDIO mode (default, for MCP clients)
uv run chuk-mcp-dem

# HTTP mode (for web access)
uv run chuk-mcp-dem http

Example Queries

Once configured, you can ask Claude questions like:

  • "What DEM sources are available?"

  • "What is the elevation of Mount Rainier's summit?"

  • "Download elevation data for the Grand Canyon area"

  • "Check if Copernicus 30m covers this bounding box"

  • "How big would a 30m DEM download be for the entire state of Colorado?"

  • "Get elevation for these 5 mountain peaks"

  • "Describe the FABDEM source -- how is it different from Copernicus?"

  • "Generate a hillshade map for Mount Rainier"

  • "What's the slope along the trail from A to B?"

  • "Show me what's visible from this viewpoint within 5 km"

  • "Show me an elevation profile chart for a hike from A to B"

  • "Show the Grand Canyon bounding box on a map before I download it"

  • "Compute watershed flow accumulation for this mountain area"

  • "Classify the landforms in this bounding box"

  • "Detect terrain anomalies near Hoover Dam"

  • "Compare elevation between GLO-90 and GLO-30 for Mount St. Helens"

  • "Detect geomorphological features in the Grand Canyon"

Tool Reference

All tools accept an optional output_mode parameter ("json" default, or "text" for human-readable output).

Tool

Description

Key Parameters

dem_list_sources

List all DEM sources

--

dem_describe_source

Detailed source metadata

source

dem_status

Server status

--

dem_capabilities

Full capabilities listing

--

dem_fetch

Download elevation for a bbox

bbox, source, fill_voids

dem_fetch_point

Elevation at a point

lon, lat, interpolation

dem_fetch_points

Elevation at multiple points

points, interpolation

dem_check_coverage

Check source coverage

bbox, source

dem_estimate_size

Estimate download size

bbox, source, resolution_m

dem_hillshade

Compute shaded relief

bbox, azimuth, altitude, z_factor

dem_slope

Compute slope steepness

bbox, units, output_format

dem_aspect

Compute slope direction

bbox, flat_value, output_format

dem_curvature

Compute surface curvature

bbox, source, output_format

dem_terrain_ruggedness

Terrain Ruggedness Index

bbox, source, output_format

dem_contour

Generate contour lines

bbox, source, interval_m, output_format

dem_watershed

Flow accumulation analysis

bbox, source, output_format

dem_profile

Elevation cross-section

start, end, num_points

dem_viewshed

Visibility analysis

observer, radius_m, observer_height_m

dem_profile_chart

Interactive elevation profile chart (view)

start, end, num_points

dem_map

Interactive DEM analysis area map (view)

bbox, source, basemap

dem_classify_landforms

Landform classification

bbox, source, method

dem_detect_anomalies

Anomaly detection (Isolation Forest)

bbox, source, sensitivity

dem_compare_temporal

Elevation change detection

bbox, before_source, after_source

dem_detect_features

Feature detection (CNN-inspired)

bbox, source, method

dem_interpret

LLM terrain interpretation (MCP sampling)

artifact_ref, context, question

dem_fetch

{
  "bbox": [-121.8, 46.7, -121.6, 46.9],     # [west, south, east, north]
  "source": "cop30",                          # optional (default: cop30)
  "fill_voids": true,                         # optional (default: true)
  "resolution_m": null,                       # optional: target resolution in metres
  "output_crs": null                          # optional: output CRS
}

dem_fetch_point

{
  "lon": -121.7603,                           # longitude
  "lat": 46.8523,                             # latitude
  "source": "cop30",                          # optional
  "interpolation": "bilinear"                 # optional: nearest, bilinear, cubic
}

dem_fetch_points

{
  "points": [                                 # nested array of [lon, lat] numeric pairs
    [-121.7603, 46.8523],
    [-105.6836, 40.2548],
    [-112.1871, 36.0544]
  ],
  "source": "cop30",                          # optional
  "interpolation": "bilinear"                 # optional
}

dem_check_coverage

{
  "bbox": [-121.8, 46.7, -121.6, 46.9],
  "source": "srtm"                            # check SRTM coverage for this area
}

dem_estimate_size

{
  "bbox": [-109.05, 37.0, -102.05, 41.0],    # Colorado
  "source": "cop30",
  "resolution_m": 90                          # optional: coarser for faster download
}

Architecture

server.py                         # CLI entry point (sync)
  +-- async_server.py             # Async server setup, tool registration
       +-- tools/discovery/       # list_sources, describe, status, capabilities
       +-- tools/download/        # fetch, fetch_point, fetch_points, coverage, size
       +-- tools/analysis/        # hillshade, slope, aspect, curvature, tri, contour, watershed, profile, viewshed, profile_chart, map, landforms, anomalies, temporal, features
       +-- core/dem_manager.py    # Cache, URL construction, download pipeline
            +-- core/raster_io.py # COG read, merge, sample, terrain, PNG

Built on top of chuk-mcp-server, this server uses:

  • Async-First: Native async/await with sync rasterio wrapped in asyncio.to_thread()

  • Type-Safe: Pydantic v2 models with extra="forbid" for all responses

  • Efficient I/O: Cloud-Optimized GeoTIFF (COG) reading via S3

  • Smart Caching: LRU tile cache (100 MB total, 10 MB per item)

  • Multi-Tile Merging: Automatic merge for bounding boxes spanning multiple 1-degree tiles

  • Void Filling: Nearest-neighbour interpolation for SRTM/ASTER voids

  • Interpolation: Nearest, bilinear, and bicubic methods for point queries

  • Auto-Preview: Hillshade PNG auto-generated alongside every GeoTIFF fetch

  • Artifact Storage: Pluggable storage via chuk-artifacts (memory, filesystem, S3)

  • Retry with Backoff: Tenacity-based retry (3 attempts, exponential backoff)

  • Dual Output: All tools support output_mode="text" for human-readable responses

  • License Warnings: Automatic warnings when using FABDEM (CC-BY-NC-SA-4.0 non-commercial)

  • View Tools: Interactive profile charts and maps via chuk-view-schemas for MCP clients that support rich UI

See ARCHITECTURE.md for design principles and data flow diagrams. See SPEC.md for the full tool specification with parameter tables. See ROADMAP.md for development status and planned features.

Development

Setup

# Clone the repository
git clone <repository-url>
cd chuk-mcp-dem

# Install with uv (recommended)
uv sync --dev

# Or with pip
pip install -e ".[dev]"

Running Tests

make test              # Run 1231 tests
make test-cov          # Run tests with coverage
make coverage-report   # Show coverage report

Code Quality

make lint      # Run linters
make format    # Auto-format code
make typecheck # Run type checking
make security  # Run security checks
make check     # Run all checks (lint, typecheck, security, test)

Building

make build         # Build package
make docker-build  # Build Docker image
make docker-run    # Run Docker container

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

License

Apache License 2.0 -- See LICENSE for details.

Acknowledgments

Available Tools

25 tools
dem_aspectB

Compute aspect (slope direction) for a bounding box.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) flat_value: Value for flat areas (default -1) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Aspect raster artifact with values in degrees (0-360)

Inputs: bbox (required), source, flat_value, output_mode, +1 more.

dem_capabilitiesB

Get full server capabilities including sources, terrain derivatives, analysis tools, and output formats.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: Complete server capabilities

Inputs: output_mode.

dem_check_coverageB

Check if a DEM source fully covers a bounding box before downloading.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source to check output_mode: "json" or "text"

Returns: Coverage percentage, tile count, and estimated download size

Inputs: bbox (required), source, output_mode.

dem_classify_landformsA

Classify terrain into landform types (ridge, valley, plateau, etc.).

Rule-based classification using slope, curvature, and terrain ruggedness. Landform classes: plain, ridge, valley, plateau, escarpment, depression, saddle, terrace, alluvial_fan.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) method: Classification method (currently "rule_based" only) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Landform classification map with class distribution

Inputs: bbox (required), method, source, output_mode, +1 more.

dem_compare_temporalA

Compare elevation between two DEM sources/epochs to detect change.

Computes the difference (after - before) and identifies significant change regions. Useful for detecting erosion, deposition, construction, or mining activity.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 before_source: DEM source for earlier epoch (default: srtm, year 2000) after_source: DEM source for later epoch (default: cop30, year 2021) significance_threshold_m: Minimum change to flag (default 1.0m) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Change map with volume statistics and significant regions

Inputs: bbox (required), output_mode, after_source, before_source, +2 more.

dem_contourA

Generate contour lines at specified elevation intervals for a bounding box.

Contour lines are rasterised: contour pixels contain their elevation level value, non-contour pixels are NaN. PNG output shows contours overlaid on a terrain-coloured background.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interval_m: Elevation interval between contour lines in metres (default 100) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Contour raster artifact with contour count and elevation range

Inputs: bbox (required), source, interval_m, output_mode, +1 more.

dem_curvatureB

Compute surface curvature (profile curvature) for a bounding box.

Curvature measures the rate of change of slope. Positive values indicate convex surfaces (ridges), negative values indicate concave surfaces (valleys), and near-zero values indicate planar surfaces.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Curvature raster artifact with value range in 1/m

Inputs: bbox (required), source, output_mode, output_format.

dem_describe_sourceA

Get detailed metadata for a specific DEM source including resolution, coverage bounds, vertical datum, accuracy, and LLM usage guidance.

Args: source: DEM source ID (cop30, cop90, srtm, aster, 3dep, fabdem) output_mode: "json" for structured data, "text" for human-readable summary

Returns: Detailed source metadata including LLM guidance

Inputs: source, output_mode.

dem_detect_anomaliesA

Detect terrain anomalies that don't fit the natural landscape.

Uses Isolation Forest on slope/curvature/TRI feature vectors to find outlier terrain. Catches anthropogenic features, data artefacts, or unusual geological features.

Requires scikit-learn: pip install chuk-mcp-dem[ml]

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) sensitivity: Detection sensitivity 0-1 (lower = fewer, default 0.1) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Anomaly score map with detected anomaly regions

Inputs: bbox (required), source, output_mode, sensitivity, +1 more.

dem_detect_featuresB

Detect discrete terrain features using CNN-inspired multi-angle hillshade.

Generates 8 hillshades at different sun angles, applies Sobel edge filters to each (mimicking CNN convolutional layers), then classifies pixels into feature types based on edge consensus, slope, and curvature.

Feature types: peak, ridge, valley, cliff, saddle, channel.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) method: Detection method (currently "cnn_hillshade") output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Feature map artifact with detected feature list and summary

Inputs: bbox (required), method, source, output_mode, +1 more.

dem_estimate_sizeA

Estimate download size for a DEM area before fetching.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source resolution_m: Target resolution (None = native) output_mode: "json" or "text"

Returns: Estimated dimensions, pixel count, and download size

Inputs: bbox (required), source, output_mode, resolution_m.

dem_fetchB

Download elevation data for a bounding box. Returns a GeoTIFF artifact with auto-generated hillshade PNG preview.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) resolution_m: Target resolution in metres (None = native) output_crs: Output CRS (None = native EPSG:4326) fill_voids: Interpolate nodata pixels (default True) output_mode: "json" or "text"

Returns: Artifact reference with elevation range and preview

Inputs: bbox (required), source, fill_voids, output_crs, +2 more.

dem_fetch_pointB

Get elevation at a single geographic point.

Args: lon: Longitude (-180 to 180) lat: Latitude (-90 to 90) source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation in metres with uncertainty estimate

Inputs: lat (required), lon (required), source, output_mode, +1 more.

dem_fetch_pointsA

Get elevations at multiple geographic points in a single request.

Args: points: Nested array of [lon, lat] numeric pairs, e.g. [[9.19, 45.62], [9.28, 45.63], [9.30, 45.61]] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation for each point with range statistics

Inputs: points (required), source, output_mode, interpolation.

dem_hillshadeB

Compute hillshade (shaded relief) for a bounding box using Horn's method.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) azimuth: Sun azimuth in degrees from north (default 315) altitude: Sun altitude in degrees above horizon (default 45) z_factor: Vertical exaggeration factor (default 1.0) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Hillshade raster artifact with value range 0-255

Inputs: bbox (required), source, azimuth, altitude, +3 more.

dem_interpretA

Interpret a terrain artifact using the calling LLM via MCP sampling.

Sends a rendered PNG of any terrain artifact to the client LLM for natural language interpretation. The LLM receives the image and a context-specific prompt, then returns its analysis.

Requires an MCP client that supports the sampling/createMessage capability (e.g., Claude Desktop).

Available contexts: general, archaeological_survey, flood_risk, geological, military_history, urban_planning.

Args: artifact_ref: Reference to any stored terrain artifact context: Interpretation context (default "general") question: Optional specific question about the terrain output_mode: "json" or "text"

Returns: LLM interpretation with identified features

Inputs: artifact_ref (required), context, question, output_mode.

dem_list_sourcesA

List all available DEM data sources with resolution, coverage, and vertical datum.

Use this to discover which elevation datasets are available before fetching data.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: List of available DEM sources with metadata

Inputs: output_mode.

dem_mapB
Read-only

Show a DEM analysis area on an interactive map. Renders the bounding box on a terrain, satellite, osm, or dark basemap.

Inputs: bbox (required), source, basemap.

dem_profileB

Extract an elevation profile along a line between two points.

Args: start: Start point [lon, lat] end: End point [lon, lat] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) num_points: Number of sample points (default 100, minimum 2) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation profile with distance, gain, loss, and per-point data

Inputs: end (required), start (required), source, num_points, +2 more.

dem_profile_chartB
Read-only

Extract an elevation profile between two points and render it as an interactive chart showing distance vs elevation.

Inputs: end (required), start (required), source, num_points, +1 more.

dem_slopeB

Compute slope steepness for a bounding box.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) units: Slope units (degrees or percent) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Slope raster artifact with value range

Inputs: bbox (required), units, source, output_mode, +1 more.

dem_statusB

Get server status including version, available sources, and storage configuration.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: Server status information

Inputs: output_mode.

dem_terrain_ruggednessA

Compute Terrain Ruggedness Index (TRI) for a bounding box.

TRI measures the mean absolute elevation difference between a cell and its 8 neighbours (Riley et al. 1999). Values are in metres.

Classification: 0-80m level, 81-116m nearly level, 117-161m slightly rugged, 162-239m intermediately rugged, 240-497m moderately rugged, 498-958m highly rugged, 959+m extremely rugged.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: TRI raster artifact with values in metres

Inputs: bbox (required), source, output_mode, output_format.

dem_viewshedB

Compute viewshed (visible area) from an observer point.

Args: observer: Observer location [lon, lat] radius_m: Analysis radius in metres (max 50000) source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) observer_height_m: Observer height above ground in metres (default 1.8) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Viewshed raster artifact with visible percentage

Inputs: observer (required), radius_m (required), source, output_mode, +2 more.

dem_watershedA

Compute watershed flow accumulation for a bounding box.

Uses the D8 algorithm to compute flow direction and accumulation. High accumulation values indicate streams and drainage channels. Useful for hydrological analysis and flood risk assessment.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Flow accumulation raster artifact with value range in cells

Inputs: bbox (required), source, output_mode, output_format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 25 tools

    Disambiguation4/5

    Most tools are cleanly separable by resource and action: fetch vs point sampling, coverage vs size estimation, and individual terrain derivatives are distinct. Some ambiguity remains among metadata/status tools (list_sources, describe_source, capabilities, status) and between profile vs profile_chart or classify_landforms vs detect_features, but descriptions generally clarify.

    Naming Consistency4/5

    All tools use snake_case with a consistent dem_ prefix, making names predictable. There is minor variation between verb-led names (dem_fetch, dem_classify_landforms) and noun-led derivative names (dem_slope, dem_aspect), but no mixed casing or chaotic convention.

    Tool Count3/5

    With 25 tools, the server is heavy for an MCP surface even though many tools are genuinely useful for DEM analysis. The breadth is justified by the domain, but the count is high enough that grouping or consolidation would improve usability.

    Completeness5/5

    The tool set covers the full DEM workflow: source discovery, coverage and size checks, raster and point fetching, terrain derivatives, advanced analyses, temporal comparison, visualization, and LLM interpretation. No major domain gap is apparent.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to autonomously discover, stream, and compute satellite analytics from free government Earth-observation catalogs such as Sentinel-2, Landsat, and Copernicus DEM, with zero API keys or configuration. It supports place-name geocoding, STAC scene search, cloud-native COG streaming for spectral indices, elevation profiles, SAR flood detection, and sandboxed custom geospatial scripts.
      29
      16
      Apache 2.0