Skip to main content

geopera-mcp

The official Model Context Protocol server for the Geopera geospatial data platform. It exposes Geopera operations as MCP tools so an AI agent (Claude Desktop, Claude Code, or your own MCP client) can discover imagery, place and read back orders, run analytics, and more — with the same auth, scopes, and provenance as any other Geopera client.

Each tool is named after its operation id (e.g. orders.archive.place) and proxies the call to POST /v1/op/{operation_id}. The server imports nothing from the backend; it is a standalone client of the same typed surface the Python/TypeScript SDKs and CLI consume.

Install

pip install geopera-mcp

This installs the geopera-mcp console command, which speaks the stdio transport that MCP clients attach to. Requires Python 3.11+.

Run

The server is configured through environment variables. At minimum:

export GEOPERA_API_URL="https://api.geopera.com"
export GEOPERA_API_TOKEN="gpra_..."   # a Geopera API key, or a session token
geopera-mcp

geopera-mcp runs over stdio by default — your MCP client launches it as a subprocess. Set MCP_TRANSPORT=http to serve the streamable-HTTP transport instead (for a hosted deployment).

Wire it into an MCP client

Add a geopera entry under mcpServers. For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "geopera": {
      "command": "geopera-mcp",
      "env": {
        "GEOPERA_API_URL": "https://api.geopera.com",
        "GEOPERA_API_TOKEN": "gpra_your_api_key"
      }
    }
  }
}

Restart the client and the Geopera tools appear. The agent's reach is exactly the scopes on the token — it can do nothing the token could not do directly.

Environment variables

Variable Purpose
GEOPERA_API_URL Geopera API base URL. Default https://api.geopera.com.
GEOPERA_API_TOKEN A gpra_ API key or a session token, sent upstream as Authorization: Bearer.
MCP_TRANSPORT stdio (default) or http.
PORT Port for the http transport.

Documentation

Full docs: docs.geopera.com/api-reference/sdks/mcp.

License

MIT

Release files for geopera-mcp 0.1.0

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

Source distribution (sdist)

Source distribution for geopera-mcp 0.1.0
File Size Uploaded
geopera_mcp-0.1.0.tar.gz 55.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geopera-mcp 0.1.0
File Interpreter ABI Platform
geopera_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:110.9 kB

Release files / geopera_mcp-0.1.0.tar.gz

Download URL geopera_mcp-0.1.0.tar.gz
Size 55.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8768b6d83d17a55bf97e5471d188444da82b98ed02322b8842ae766ed112ad36
BLAKE2b-256 checksum
How to use checksums
73ab4f611310ec9493d876106306a3b98cafa97001acf8ce5cf09ca59d5e7046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / geopera_mcp-0.1.0-py3-none-any.whl

Download URL geopera_mcp-0.1.0-py3-none-any.whl
Size 55.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40bf73a12bae70f2bf525eb14be1a58ddd883443cef7d2ab71b60590d005c92e
BLAKE2b-256 checksum
How to use checksums
2865b88b8244a6a1bd36bfd8bdce61459b39f6b0bedbd1e2794c79a011baa45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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