# `nasa__nasa_cmr`

NASA Common Metadata Repository - search for NASA data collections

- Server: [NASA Open APIs](https://gateway.mcpharbor.dev/docs/servers/nasa) (`dev.mcpharbor.gateway/nasa`)
- Price per call: $0.0001 (100 micro-USD); only tools/call is charged
- Endpoint: `https://gateway.mcpharbor.dev/mcp` or `https://gateway.mcpharbor.dev/mcp/nasa`
- Upstream tool: exposed by the provider; called through this gateway as `nasa__nasa_cmr`
- Provider terms: <https://api.nasa.gov/> (verified 2026-09-19)
- Upstream API documentation: <https://api.nasa.gov/>
- Rate limit: 900 requests per hour
- Attribution required: NASA should be acknowledged as the source of the material

## Parameters

- `format` (string, required): Response format One of: `json`, `umm_json`, `atom`, `echo10`, `iso19115`, `iso_smap`, `kml`. Default: `json`.
- `keyword` (string, required): Search keyword
- `limit` (number, optional): Maximum number of results to return
- `page` (number, optional): Page number for pagination
- `search_type` (string, required): Search type (collections or granules) One of: `collections`, `granules`. Default: `collections`.
- `sort_key` (string, optional): Field to sort results by

## Example call

Request headers and body:

```http
POST /mcp HTTP/1.1
Host: gateway.mcpharbor.dev
Authorization: Bearer <your gateway API key>
Content-Type: application/json
Accept: application/json, text/event-stream
MCP-Protocol-Version: 2026-07-28
Mcp-Method: tools/call
Mcp-Name: nasa__nasa_cmr
```

```json
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "_meta": {
      "io.modelcontextprotocol/clientCapabilities": {},
      "io.modelcontextprotocol/clientInfo": {
        "name": "example-agent",
        "version": "1.0.0"
      },
      "io.modelcontextprotocol/protocolVersion": "2026-07-28"
    },
    "arguments": {
      "format": "json",
      "keyword": "example",
      "search_type": "collections"
    },
    "name": "nasa__nasa_cmr"
  }
}
```

A successful response:

```json
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "_meta": {
      "dev.mcpharbor.gateway/call": {
        "chargedMicroUsd": 100,
        "id": "<the id of this charge>"
      }
    },
    "content": [
      {
        "text": "<whatever the upstream tool returned>",
        "type": "text"
      }
    ],
    "resultType": "complete"
  }
}
```

This call costs $0.0001 (100 micro-USD). Reading this page and listing the tool cost nothing.
The `dev.mcpharbor.gateway/call` record in the result is the receipt for that charge. Each
POST is metered separately, so sending the same call again buys another one: see
[agent.txt](https://gateway.mcpharbor.dev/agent.txt), section 7, before retrying.

## Attribution

This provider requires the attribution below wherever you use results from its tools.
Reproduce it verbatim:

> NASA should be acknowledged as the source of the material

## Tool definition

Exactly as `tools/list` returns it (free):

```json
{
  "_meta": {
    "dev.mcpharbor.gateway/pricing": {
      "currency": "USD",
      "pricePerCallMicroUsd": 100
    }
  },
  "description": "NASA Common Metadata Repository - search for NASA data collections",
  "inputSchema": {
    "properties": {
      "format": {
        "default": "json",
        "description": "Response format",
        "enum": [
          "json",
          "umm_json",
          "atom",
          "echo10",
          "iso19115",
          "iso_smap",
          "kml"
        ],
        "type": "string"
      },
      "keyword": {
        "description": "Search keyword",
        "type": "string"
      },
      "limit": {
        "description": "Maximum number of results to return",
        "type": "number"
      },
      "page": {
        "description": "Page number for pagination",
        "type": "number"
      },
      "search_type": {
        "default": "collections",
        "description": "Search type (collections or granules)",
        "enum": [
          "collections",
          "granules"
        ],
        "type": "string"
      },
      "sort_key": {
        "description": "Field to sort results by",
        "type": "string"
      }
    },
    "required": [
      "keyword",
      "search_type",
      "format"
    ],
    "type": "object"
  },
  "name": "nasa__nasa_cmr"
}
```
