{"_id":"@dennisk2025/space-picture-of-day","name":"@dennisk2025/space-picture-of-day","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/space-picture-of-day","version":"1.0.0","description":"Provides daily space and astronomy images along with explanations from NASA's Astronomy Picture of the Day (APOD)","main":"index.js","type":"module","bin":{"space-picture-of-day":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"^1.6.7"},"keywords":["mcp","astronomy","space","nasa","apod","picture-of-the-day"],"author":{"name":"Dennis K"},"license":"MIT","_id":"@dennisk2025/space-picture-of-day@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-3hBwL/+ObPB2jMb6syfLrMWKRl2qDm1Mfco8XfmYWraVSlEcAs3NpeDGGLfxGgJzZMMamFpZytQ/ZncjfdE6gw==","shasum":"ee0dfb5dfe41735bd4041c8b5b8648442442ce39","tarball":"https://registry.npmjs.org/@dennisk2025/space-picture-of-day/-/space-picture-of-day-1.0.0.tgz","fileCount":3,"unpackedSize":5941,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJHW8agXXxlFdd8nWZjgySe3I4Hnnb1jUJqZQKvIPA1gIhAJZ/1Vz8VuT34RalthNnneimxL2MDsy7GM4fCSgzMLFi"}]},"_npmUser":{"name":"dennisk2025","email":"4dennisk@gmail.com"},"directories":{},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/space-picture-of-day_1.0.0_1761420807375_0.9621461496796766"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T19:33:27.259Z","1.0.0":"2025-10-25T19:33:27.548Z","modified":"2025-10-25T19:33:27.844Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Provides daily space and astronomy images along with explanations from NASA's Astronomy Picture of the Day (APOD)","keywords":["mcp","astronomy","space","nasa","apod","picture-of-the-day"],"author":{"name":"Dennis K"},"license":"MIT","readme":"# Space Picture of the Day (MCP Server)\n\n**space-picture-of-day** is a Model Context Protocol (MCP) server that provides daily space and astronomy images along with detailed explanations fetched from NASA's Astronomy Picture of the Day (APOD) API.\n\n## Features\n\n- Fetch the current or specific day's Astronomy Picture of the Day\n- Get image URL, title, explanation, and media type\n- Simple MCP-compatible API for chatbots and automation\n\n## Installation\n\nYou can install and run this MCP server globally with npm, or use it via npx:\n\n```\nnpm install @dennisk2025/space-picture-of-day\n```\n\nOr run directly with npx:\n\n```\nnpx @dennisk2025/space-picture-of-day\n```\n\n## Adding to Claude Desktop\n\nTo add this MCP server to Claude Desktop, use the following command:\n\n```\nclaude --mcp add space-picture-of-day \"npx @dennisk2025/space-picture-of-day\"\n```\n\n## Usage Example (MCP Tool Call)\n\nCall the tool `get_picture_of_day` with or without a date:\n\n### Example: Today's Astronomy Picture\n\n```\n{\n  \"tool\": \"get_picture_of_day\",\n  \"input\": {}\n}\n```\n\n### Example: Picture for a Specific Date\n\n```\n{\n  \"tool\": \"get_picture_of_day\",\n  \"input\": { \"date\": \"2022-03-14\" }\n}\n```\n\n### Example Output\n\n```\n{\n  \"date\": \"2022-03-14\",\n  \"title\": \"NGC 2419: Intergalactic Wanderer\",\n  \"image_url\": \"https://apod.nasa.gov/apod/image/2203/NGC2419_Hubble_960.jpg\",\n  \"explanation\": \"Globular clusters once ruled the Milky Way...\",\n  \"media_type\": \"image\",\n  \"hdurl\": \"https://apod.nasa.gov/apod/image/2203/NGC2419_Hubble_1920.jpg\",\n  \"copyright\": \"NASA, ESA\"\n}\n```\n\n## Available Tools\n\n### get_picture_of_day\n\nFetches the Astronomy Picture of the Day, including image URL and explanation.\n\n**Input Parameters:**\n\n| Name  | Type   | Description                                                         | Required |\n|-------|--------|---------------------------------------------------------------------|----------|\n| date  | string | Optional. Date in YYYY-MM-DD format for a specific day's image.     | No       |\n\n**Returns:**\n- `date` (string): The date of the image\n- `title` (string): Title of the APOD\n- `image_url` (string): URL of the image or media\n- `explanation` (string): Description and explanation of the picture\n- `media_type` (string): Type of media (usually `image` or `video`)\n- `hdurl` (string|null): URL to high-definition image (if available)\n- `copyright` (string|null): Copyright holder (may not always be present)\n\n## Notes\n- The default NASA API key is used. For higher rate limits, set your own API key in the code.\n- The server uses stdio transport and should be compatible with any MCP-enabled client.\n","readmeFilename":"README.md","_rev":"1-9681fc135d21bcce7abf8aae74cc136f"}