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
| Name | Type | Required | Description |
|---|---|---|---|
date | string | no | Date 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
| Field | Type | Description |
|---|---|---|
title | string | Title of the astronomy picture |
date | string | Date in YYYY-MM-DD format |
explanation | string | Explanation of the astronomy picture |
image_url | string | URL to the image |
hd_url | string | null | URL to high-definition version or null |
media_type | string | Type of media (image or video) |
copyright | string | null | Copyright 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.