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
          F
          license
          -
          quality
          An MCP server that integrates with SerpApi to retrieve search results from multiple search engines including Google, Bing, Yahoo, and others, enabling fast access to both live and archived search data.
          Last updated -
          11
          Python
        • -
          security
          A
          license
          -
          quality
          A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.
          Last updated -
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          An 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.
          Last updated -
          21
          3
          Python
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          An MCP server that allows users to efficiently search and reference user-configured documents through document listing, grep searching, semantic searching with OpenAI Embeddings, and full document retrieval.
          Last updated -
          4
          3
          Python
          MIT License
          • Apple
          • Linux

        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