Skip to main content

eo-processor-mcp

Coverage

An MCP (Model Context Protocol) server for Earth Observation processing, powered by eo-processor.

Similar to stac-mcp for STAC catalog operations, this server exposes eo-processor's high-performance Rust-accelerated EO computation functions as MCP tools that AI agents can invoke.

Features

  • 15 MCP tools covering spectral indices, change detection, temporal statistics, masking, morphology, distances, trend analysis, classification, texture features, zonal statistics, and more
  • Rust-accelerated computation via eo-processor's PyO3 bindings (GIL-released, multi-core parallel)
  • stdio and HTTP transport support
  • Observability built in (structured logging, metrics, correlation IDs, latency histograms)
  • Prompts to guide AI agents in using the tools effectively

Tools

Tool Description
compute_spectral_index Compute spectral indices (NDVI, NDWI, EVI, SAVI, etc.) from band .npy files
compute_change_index Change detection (delta_ndvi, delta_nbr, dnbr, rbr) from pre/post imagery
temporal_statistics Median, mean, std, sum along the time axis
temporal_composite Weighted temporal composite of 4D arrays
moving_average Moving average with optional stride/downsampling
apply_mask Unified masking (by values, range, SCL, NaN replacement)
morphological_operation Binary dilation, erosion, opening, closing
compute_distances Pairwise distances (euclidean, manhattan, chebyshev, minkowski)
analyze_trends Linear regression and trend analysis with break detection
bfast_monitor BFAST Monitor change detection on time series
classify Random Forest train/predict, complex multi-band classification
texture_features Haralick/GLCM texture features
zonal_statistics Zonal statistics (count, sum, mean, min, max, std per zone)
pixelwise_transform Linear transform with optional clamping
list_capabilities List all available indices, operations, and tools

Installation

pip install -e .
# or with uv
uv pip install -e .

Usage

stdio (default)

eo-processor-mcp
# or
python -m eo_processor_mcp

HTTP/SSE

EO_PROCESSOR_MCP_TRANSPORT=http python -m eo_processor_mcp

MCP Client Configuration

{
  "eo-processor": {
    "command": "uvx",
    "args": ["--from", "git+https://github.com/BnJam/eo-processor-mcp", "eo-processor-mcp"],
    "transport": "stdio"
  }
}

Data Format

All tools accept NumPy .npy file paths as input and write results to .npy files. Tool responses include:

  • output_path: Path to the result .npy file
  • stats: Summary statistics (shape, dtype, min, max, mean, std, NaN count)

Environment Variables

Variable Default Purpose
EO_PROCESSOR_MCP_TRANSPORT stdio Transport mode (stdio, http, streamable-http, sse)
EO_PROCESSOR_MCP_HOST 127.0.0.1 HTTP host
EO_PROCESSOR_MCP_PORT 8000 HTTP port
EO_PROCESSOR_MCP_LOG_LEVEL WARNING Logging level
EO_PROCESSOR_MCP_LOG_FORMAT text Log format (text or json)
EO_PROCESSOR_MCP_ENABLE_METRICS true Enable in-process metrics
EO_PROCESSOR_MCP_ENABLE_TRACE false Enable trace span logging

Development

make install-dev    # Install with dev dependencies
make test           # Run tests
make lint           # Run ruff
make format         # Auto-format
make coverage       # Coverage report

License

Apache-2.0

Metadata

Release files for eo-processor-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eo-processor-mcp 0.1.1
File Size Uploaded Provenance
eo_processor_mcp-0.1.1.tar.gz 23.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for eo-processor-mcp 0.1.1
File Interpreter ABI Platform
eo_processor_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 56.0 kB

Release files / eo_processor_mcp-0.1.1.tar.gz

Download URL eo_processor_mcp-0.1.1.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb9eede0b94d9dce3e22d7cbcf3c8157da83eba42c3144e1735da81cb5636c2
BLAKE2b-256 checksum
How to use checksums
f16afe91ff8489f3e70304952d6c3e34ba333e524f3959bd27654545ca85bb5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release files / eo_processor_mcp-0.1.1-py3-none-any.whl

Download URL eo_processor_mcp-0.1.1-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffc7e8cefa4acbbd9b5520cc72d9f92f135e12e1a7ac3c768824db7280be987f
BLAKE2b-256 checksum
How to use checksums
7152d3b136f161362fd3727dfe66ce82a02718e34662c0296569836a0a0d49c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Security for eo-processor-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for eo_processor_mcp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page