$npx skillfedfor your agent

python-cmr

Python wrapper to the NASA Common Metadata Repository (CMR) API.

Worth itPyPI Python ModulesReleased Sep 2024160.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_cmr-0.13.0-py3-none-any.whl
v0.13.0 · released 2024-09-13 · Python <4.0.0,>=3.8.1 · 3 runtime deps: python-dateutil, requests, typing-extensions

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and directly solves the problem of querying NASA's earth science metadata repository. It's well-suited for researchers and developers working with satellite data who want to avoid manual API construction. The permissive MIT license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with three common runtime dependencies (python-dateutil, requests, typing-extensions).
  • Actively maintained since its adoption from the original author, with recent commits and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2024-09-13 (700 days) · last repo commit 2026-07-20 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 160,058 downloads/mo, #10,675 on PyPI

Verify before relying

pip install python-cmr

from cmr import CollectionQuery, GranuleQuery

api = CollectionQuery()
collections = api.archive_center("LP DAAC").keyword("AST_L1*").get(5)

api = GranuleQuery()
granules = api.short_name("AST_L1T").point(-112.73, 42.5).get(3)
  • Whether all CMR API parameters are covered by the current version or if some require direct API calls
  • Performance characteristics when retrieving large result sets (e.g., the 25,000 granule example mentioned)
  • Whether authentication tokens are required for all queries or only certain datasets
Same gist for agents: .md · .json

What it is and what it does

Python CMR is a wrapper library for NASA's EOSDIS Common Metadata Repository API that simplifies querying earth science metadata. It provides query builder classes (CollectionQuery, GranuleQuery, ToolQuery, ServiceQuery, VariableQuery) that let you filter by geographic bounds, temporal ranges, platform, instrument, archive center, and other criteria without manually constructing URLs or handling encoding. The library validates input before sending requests and returns results as JSON-accessible Python dictionaries by default, though it supports multiple output formats including XML, CSV, KML, and others.

The package is designed for researchers and developers who need to discover and access earth observation data from NASA's archive. You chain filter methods together to build queries, then call get() to retrieve results. It handles the details of URL construction and parameter validation, reducing the chance of malformed requests. The library supports both the operational CMR and UAT environments, and can work with authentication tokens for restricted access.

Use it for

  • Discover satellite imagery collections by archive center and keyword to identify available datasets for your research area
  • Query granules (individual data files) by geographic point or bounding box to find observations covering a specific location
  • Filter granules by temporal range and platform to retrieve data from a specific satellite during a particular time period
  • Retrieve cloud cover and instrument metadata to programmatically select the highest-quality observations for analysis
  • Batch download granule metadata in multiple formats (JSON, XML, CSV, KML) for integration into data processing pipelines
  • Search for tools and services available in the CMR to discover processing capabilities alongside the raw data

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and directly solves the problem of querying NASA's earth science metadata repository. It's well-suited for researchers and developers working with satellite data who want to avoid manual API construction. The permissive MIT license poses no restrictions.

Install

python-cmr on PyPI

Before you install

Low friction: pure Python wheel with three common runtime dependencies (python-dateutil, requests, typing-extensions). Actively maintained since its adoption from the original author, with recent commits and no known vulnerabilities.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install python-cmr

from cmr import CollectionQuery, GranuleQuery

api = CollectionQuery()
collections = api.archive_center("LP DAAC").keyword("AST_L1*").get(5)

api = GranuleQuery()
granules = api.short_name("AST_L1T").point(-112.73, 42.5).get(3)

Verify before relying

  • Whether all CMR API parameters are covered by the current version or if some require direct API calls
  • Performance characteristics when retrieving large result sets (e.g., the 25,000 granule example mentioned)
  • Whether authentication tokens are required for all queries or only certain datasets

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.8.1
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
python-dateutilrequeststyping-extensions
MaintenanceActively maintained 700 days since the last release
Last repo commit
First released
Downloads160,058 / month, #10,675 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleFramework :: IPythonIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: python_cmr-0.13.0-py3-none-any.whl

Tags

Capabilities
NASA CMR API wrapperearth science metadata querygranule collection searchEOSDIS data discoverygeospatial data catalogsatellite metadata accessearth observation search
Topics
nasa-apiearth-sciencegeospatial

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “NASA CMR API wrapper”

  • python-cmrProvides a Python wrapper around NASA's Common Metadata Repository…
  • earthaccessearthaccess searches, downloads, and streams NASA Earth science data…
  • fprime-fppFPP is a modeling language and compiler for the F Prime flight…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also earthaccess · earthengine-api · datacube · sentinelhub · skyfield · fastkml · sgp4 · xee · pystac-client · pymap3d