get_apod

Pack: science · Endpoint: https://gateway.pipeworx.io/science/mcp

NASA’s Astronomy Picture of the Day, with its explanation, from NASA APOD.

Tool description as the model sees it

Get NASA’s Astronomy Picture of the Day with image URL, title, and explanation. Optionally specify a date (e.g., ‘2024-01-15’).

Parameters

NameTypeRequiredDescription
datestringnoDate in YYYY-MM-DD format (default: today)

Example call

Arguments

{
  "date": "2024-01-15"
}

curl

curl -X POST https://gateway.pipeworx.io/science/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_apod","arguments":{"date":"2024-01-15"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_apod', {
  "date": "2024-01-15"
});

More examples

{}

Response shape

Always returns: title, date, explanation, image_url, hd_url, media_type, copyright

FieldTypeDescription
titlestringTitle of the astronomy picture
datestringDate in YYYY-MM-DD format
explanationstringExplanation of the astronomy picture
image_urlstringURL to the image
hd_urlstring | nullURL to high-definition version or null
media_typestringType of media (image or video)
copyrightstring | nullCopyright information or null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the astronomy picture"
    },
    "date": {
      "type": "string",
      "description": "Date in YYYY-MM-DD format"
    },
    "explanation": {
      "type": "string",
      "description": "Explanation of the astronomy picture"
    },
    "image_url": {
      "type": "string",
      "description": "URL to the image"
    },
    "hd_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL to high-definition version or null"
    },
    "media_type": {
      "type": "string",
      "description": "Type of media (image or video)"
    },
    "copyright": {
      "type": [
        "string",
        "null"
      ],
      "description": "Copyright information or null"
    }
  },
  "required": [
    "title",
    "date",
    "explanation",
    "image_url",
    "hd_url",
    "media_type",
    "copyright"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "science": {
      "url": "https://gateway.pipeworx.io/science/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 15, 2026