MCP Catalogs
Home

gdal-mcp

by JordanGunn·70·Score 48

GDAL MCP provides AI agents with geospatial analysis capabilities through reflection middleware that justifies methodological choices.

developer-toolsai-llmother
8
Forks
2
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

GDAL MCP is a comprehensive Model Context Protocol server that enables AI agents to perform sophisticated geospatial analysis using Python libraries like Rasterio, GeoPandas, and PyProj. Its unique reflection middleware system requires AI to justify methodological decisions before execution, creating a conversation about the 'why' rather than just executing the 'what'. This approach prevents silent failures in geospatial operations, documents methodology for reproducibility, and maintains a 75% cache hit rate by reusing justifications across operations. The server provides 13 production-ready tools for both raster and vector data operations with comprehensive documentation.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Reprojecting geospatial data with proper CRS selection and documented methodology
you:Performing multi-step geospatial analysis with cached reasoning for efficiency
you:Creating audit trails for geospatial operations to ensure methodological correctness
you:What makes GDAL MCP different from other geospatial tools?
you:How does the reflection caching system work?

When to choose this

Choose GDAL MCP when working with geospatial data requires documented methodology for reproducible science, or when AI agents need to understand spatial operations beyond just executing them.

When NOT to choose this

Don't choose GDAL MCP for simple geospatial tasks where methodology justification adds unnecessary overhead, or if you need write access capabilities (currently read-only).

Tools this server exposes

12 tools extracted from the README
  • raster_info

    Inspect metadata of raster files (CRS, resolution, bands, nodata)

  • raster_convert

    Convert raster formats with compression and overviews

  • raster_reproject

    Transform raster to different CRS with reflection

  • raster_stats

    Calculate statistics and generate histograms for raster data

  • raster_query

    Perform spatial window queries on raster data

  • vector_info

    Inspect metadata of vector files (CRS, geometry, attributes)

  • vector_reproject

    Transform vector to different CRS with reflection

  • vector_convert

    Convert vector between different formats (SHP, GPKG, GeoJSON)

  • vector_clip

    Subset vector data spatially

  • vector_buffer

    Create buffer zones around vector geometries

  • vector_simplify

    Simplify geometries while preserving topology

  • vector_query

    Perform spatial/attribute queries on vector data

Comparable tools

qgis-mcprasterio-toolsgeopandas-mcpogr-mcp

Installation

Installation

Via uvx (Recommended)

# Run directly from PyPI
uvx --from gdal-mcp gdal --transport stdio

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "gdal-mcp": {
      "command": "uvx",
      "args": ["--from", "gdal-mcp", "gdal", "--transport", "stdio"],
      "env": {
        "GDAL_MCP_WORKSPACES": "/path/to/your/geospatial/data"
      }
    }
  }
}

FAQ

What makes GDAL MCP different from other geospatial tools?
GDAL MCP's unique reflection middleware requires AI to justify methodological choices before execution, preventing silent failures and creating documented methodology for reproducible geospatial science.
How does the reflection caching system work?
The system caches epistemic reasoning about methodological decisions, achieving 75%+ hit rates when similar operations are repeated later. This knowledge persists across different data types (raster/vector) for efficiency.

Compare gdal-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.