Overview
Earthdata MCP Server is a Model Context Protocol (MCP) server implementation that provides tools to interact with NASA Earth Data, enabling efficient dataset discovery and retrieval for geospatial analysis.
To use the Earthdata MCP Server, configure it in your Claude Desktop by adding the necessary command to your claude_desktop_config.json file, and run the server using Docker.
- Search for datasets on NASA Earthdata. - Search for data granules on NASA Earthdata. - Supports temporal and spatial queries for dataset retrieval.
- Analyzing sea level rise using geospatial tools.
- Retrieving datasets for climate research.
- Accessing NASA Earth data for academic projects.
Add to your AI client
Use these steps to connect 🪐 ✨ Earthdata MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"earthdata-mcp-server-datalayer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"earthdata-mcp-server-datalayer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"earthdata-mcp-server-datalayer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"earthdata-mcp-server-datalayer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"earthdata-mcp-server-datalayer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"earthdata-mcp-server-datalayer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-earthdata-mcp-server-datalayer"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed to facilitate the interaction with model context data, particularly in geospatial applications.
How can I run the Earthdata MCP Server?
You can run the server using Docker by following the provided configuration instructions.
Is there a video tutorial available?
Yes! There is a video tutorial available that demonstrates how to analyze sea level rise with AI-powered geospatial tools.