CMR Model Context Protocol
OfficialThe CMR Model Context Protocol (MCP) server enables integration of AI retrievers with NASA's Earthdata Common Metadata Repository (CMR) to search and retrieve datasets. With this server, you can:
Search datasets based on specific criteria or keywords
Filter results by date range using
startdateandstopdateparametersNarrow searches by specifying a particular DAAC (Distributed Active Archive Center), such as NSIDC or PO.DAAC
Use AI agents (like Claude or ChatGPT) to interact with CMR and fetch relevant datasets
Provides access to NASA's Common Metadata Repository (CMR) for Earthdata Search, allowing users to query and retrieve dataset metadata from NASA's catalog based on keywords, time periods, and data providers like PO.DAAC.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CMR Model Context Protocol search for sea surface temperature datasets from the last 5 years"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Model Context Protocol (MCP) for NASA Earthdata Search (CMR)
This module is a model context protocol (MCP) for NASA's earthdata common metedata repository (CMR). The goal of this MCP server is to integrate AI retrievals with NASA Catalog of datasets by way of Earthaccess.
Dependencies
uv - a rust based python package manager a LLM client, such as Claude desktop or chatGPT desktop (for consuming the MCP)
Related MCP server: Google Earth Engine MCP Server
Install and Run
Clone the repository to your local environment, or where your LLM client is running.
git clone https://github.com/podaac/cmr-mcp.git
cd cmr-mcpInstall uv
curl -LsSf https://astral.sh/uv/install.sh | shuv venv
source .venv/bin/activateInstall packages with uv
uv syncuse the outputs of which uv (UV_LIB) and PWD (CMR_MCP_INSTALL) to update the following configuration.
Adding to AI Framework
In this example we'll use Claude desktop.
Update the claude_desktop_config.json file (sometimes this must be created). On a mac, this is often found in ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the following configuration, filling in the values of UV_LIB and CMR_MCP_INSTALL - don't use environment variables here.
{
"mcpServers": {
"cmr": {
"command": "$UV_LIB$",
"args": [
"--directory",
"$CMR_MCP_INSTALL$",
"run",
"cmr-search.py"
]
}
}
}Use the MCP Server
Simply prompt your agent to search cmr for... data. Below is a simple example of this in action.

Other prompts that can work:
Search CMR for datasets from 2024 to 2025
Search CMR for PO.DAAC datasets from 2020 to 2024 with keyword Climate
Available Tools
1 toolget_datasetsB
Get a list of datasets form CMR based on keywords.
Args:
startdate: (Optional) Start date of search request (like "2002" or "2022-03-22")
stopdate: (Optional) Stop date of search request (like "2002" or "2022-03-22")
daac: the daac to search, e.g. NSIDC or PODAAC
keywords: A list of keyword arguments to search collections for.
Inputs: daac, keyword, startdate, stopdate.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool has a clear, singular purpose of retrieving datasets from CMR based on search parameters.
The single tool name 'get_datasets' follows a clear verb_noun pattern, and there are no other tools to create inconsistency. The naming is straightforward and descriptive.
A single tool is too few for a server named 'CMR Model Context Protocol', which suggests a broader scope for interacting with CMR datasets. This minimal toolset feels thin and incomplete for the apparent domain.
The tool surface is severely incomplete for a CMR dataset server. There are obvious gaps: no tools for creating, updating, deleting, or managing datasets, and no support for operations like filtering, sorting, or detailed metadata retrieval beyond basic search.
Maintenance
Related MCP Connectors
Discover, verify, and access NASA Earth science datasets via the Common Metadata Repository (CMR)
MCP server for searching Airweave collections with natural language queries.
Cloud-hosted MCP server for secure AI access to enterprise data sources via CData Connect AI.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables LLMs to query data from various NASA APIs, allowing access to astronomical data, space weather information, Earth imagery, and exoplanet information directly from compatible AI clients.216MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Google Earth Engine, enabling geospatial analysis such as dataset visualization, statistics computation, and search via AI assistants.16MIT
- AlicenseAqualityDmaintenanceA Python MCP server that provides unified access to satellite and geospatial data through natural language queries, with automatic place name geocoding and support for raster, vector, and Zarr formats.24Apache 2.0
- FlicenseNot gradedqualityDmaintenanceMCP server for accessing SPEAR model output from various sources (AWS, STAC API, local) and integrating with AI assistants like Claude Desktop or a SPEAR Climate Chatbot.-