Skip to main content
Glama

CMR Model Context Protocol

Official
by podaac

用于 NASA 地球数据搜索 (CMR) 的模型上下文协议 (MCP)

该模块是 NASA EarthData 通用元数据存储库 (CMR) 的模型上下文协议(MCP)。该 MCP 服务器的目标是通过 EarthAccess 将 AI 检索与 NASA 数据集目录集成。

依赖项

uv - 基于 rust 的 python 包管理器 LLM 客户端,例如 Claude 桌面或 chatGPT 桌面(用于使用 MCP)

安装并运行

将存储库克隆到您的本地环境或 LLM 客户端正在运行的地方。

git clone https://github.com/podaac/cmr-mcp.git cd cmr-mcp

安装 uv

curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv source .venv/bin/activate

使用 uv 安装软件包

uv sync

使用which uv (UV_LIB) 和PWD (CMR_MCP_INSTALL) 的输出来更新以下配置。

添加到AI框架

在这个例子中,我们将使用 Claude 桌面。

更新claude_desktop_config.json文件(有时必须创建)。在 Mac 上,该文件通常位于~/Library/Application\ Support/Claude/claude_desktop_config.json

添加以下配置,填写 UV_LIB 和 CMR_MCP_INSTALL 的值 - 这里不要使用环境变量。

{ "mcpServers": { "cmr": { "command": "$UV_LIB$", "args": [ "--directory", "$CMR_MCP_INSTALL$", "run", "cmr-search.py" ] } } }

使用 MCP 服务器

只需提示您的代理在search cmr for...数据即可。以下是一个简单的实际操作示例。

Claude MCP 使用

其他可以起作用的提示:

  1. 在 CMR 中搜索 2024 年至 2025 年的数据集
  2. 使用关键词“气候”在 CMR 中搜索 2020 年至 2024 年的 PO.DAAC 数据集
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 服务器将 AI 检索与 NASA 的通用元数据存储库 (CMR) 相集成,允许用户通过自然语言查询搜索 NASA 的地球科学数据集目录。

  1. 依赖项
    1. 安装并运行
      1. 安装 uv
      2. 使用 uv 安装软件包
    2. 添加到AI框架
      1. 使用 MCP 服务器

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A feature-rich NASA data query tool that supports various NASA API services including astronomy pictures, Mars rover photos, Earth satellite images, near-Earth objects data, and space weather information through natural language queries.
          Last updated -
          47
          JavaScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          An MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.
          Last updated -
          Python
        • -
          security
          F
          license
          -
          quality
          An MCP server that provides AI assistants with access to Astro documentation, enabling them to search and reference Astro docs when helping users with Astro-related tasks.
          Last updated -
          JavaScript
          • Apple
        • -
          security
          A
          license
          -
          quality
          An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.
          Last updated -
          2
          Python
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/podaac/cmr-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server