{"_id":"@dennisk2025/random-space-object-facts","name":"@dennisk2025/random-space-object-facts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-space-object-facts","version":"1.0.0","description":"Fetches a random fun fact about a planet or other celestial body in our solar system, helping users learn cool space trivia from real data.","type":"module","main":"index.js","bin":{"random-space-object-facts":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-space-object-facts@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-g3ITgNIYAKtsWlZYO/qGuy5uorBDdrzOL1A+qY506EFv1oJES4KB8MIF2vJDp+b6E+oDpg9R2tP0vlg5i786iQ==","shasum":"0f47bf6c63677d83da6c89ad4e908fe7554fbc1a","tarball":"https://registry.npmjs.org/@dennisk2025/random-space-object-facts/-/random-space-object-facts-1.0.0.tgz","fileCount":3,"unpackedSize":8982,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBRZOQIjKKWRJHGT4KnMxM+K0kmJctN6vKbQDUmwtWSgIhAI4P5YgHSY2Hee6ecWJECNPlUJZh0eYJ7qO6b9bkxSql"}]},"_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/random-space-object-facts_1.0.0_1761425575459_0.9327160200860123"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T20:52:55.380Z","1.0.0":"2025-10-25T20:52:55.675Z","modified":"2025-10-25T20:52:55.986Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Fetches a random fun fact about a planet or other celestial body in our solar system, helping users learn cool space trivia from real data.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-space-object-facts\n\nFetches a random fun fact about a planet or other significant celestial body (such as moons and dwarf planets) in our solar system. Uses real data from the le-systeme-solaire.net open API to deliver space trivia in the form of short, interesting facts.\n\n## Features\n- One-shot tool: get_random_space_object_fact\n- Returns a random, accurate fact about a planet, moon, dwarf planet, or asteroid in the solar system\n- Facts may include discovery info, physical properties, orbits, moons, and more\n- Powered by the public le-systeme-solaire.net database (no API key needed)\n\n## Installation\n\n**With npm:**\n\nnpm install -g @dennisk2025/random-space-object-facts\n\n**Or via npx:**\n\nnpx @dennisk2025/random-space-object-facts\n\n## Adding to Claude Desktop\n\nTo use this MCP server in Claude Desktop, add the following to your `claude_desktop_config.json` configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"spacefacts\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-space-object-facts\"]\n    }\n  }\n}\n```\n\nAdd this to your Claude Desktop config file at:\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\nRestart Claude Desktop for changes to take effect.\n\n## Usage\n\nOnce added, Claude will be able to call the following tool:\n\n### Tool: get_random_space_object_fact\n**Description:** Returns a random fact about a planet or significant celestial body (e.g. moons, dwarf planets) in our solar system, sourced from a public open database.\n\n#### Parameters:\nNone. (No input fields.)\n\n#### Example tool call from Claude:\n\n- **Tool name:** `get_random_space_object_fact`\n- **Parameters:** `{}`\n\n#### Example result:\n\n```\n{\"name\":\"Jupiter\",\"fact\":\"Jupiter is a planet. Its orbital period is around 4332.59 Earth days.\",\"bodyType\":\"Planet\",\"id\":\"jupiter\"}\n```\n\n#### Another possible result:\n\n```\n{\"name\":\"Ceres\",\"fact\":\"Ceres is a dwarf planet. It is classified as a dwarf planet.\",\"bodyType\":\"Dwarf Planet\",\"id\":\"ceres\"}\n```\n\n## Available Tools\n\n| Tool Name                     | Description                                                                            | Parameters    |\n|------------------------------|----------------------------------------------------------------------------------------|---------------|\n| get_random_space_object_fact  | Returns a random fact about a planet or significant celestial body in our solar system. | *None*        |\n\nParameters: This tool accepts **no parameters** (just pass an empty object `{}`).\n","readmeFilename":"README.md","_rev":"1-aad21fb7f346493ac60b8736159e7ba4"}