{"_id":"@dennisk2025/random-space-fact","name":"@dennisk2025/random-space-fact","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-space-fact","version":"1.0.0","description":"Fetches a random interesting fact about space, astronomy, or the universe via MCP protocol.","type":"module","main":"index.js","bin":{"random-space-fact":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-space-fact@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-qLi6oLzUCMuptAOzTXMeBGbyEea1yCyAsajc3DUdiv66h9fRR1Zm0hxmm+NRHYDAFS7tfZ7kBEKDkaY4Bwmr1A==","shasum":"b7f97a34bfb7781f3866d827e90fe36677ed9157","tarball":"https://registry.npmjs.org/@dennisk2025/random-space-fact/-/random-space-fact-1.0.0.tgz","fileCount":3,"unpackedSize":6462,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEGQy/Mai9FwmrVnf3IB5+MhXslFKuBtDDVxEzwS9F6JAiEApy06g7kNGu6B4l/CM8OunkU8Y58whiJGx6SQuabp+RI="}]},"_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-fact_1.0.0_1761421363937_0.6977044361862219"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T19:42:43.864Z","1.0.0":"2025-10-25T19:42:44.124Z","modified":"2025-10-25T19:42:44.395Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Fetches a random interesting fact about space, astronomy, or the universe via MCP protocol.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-space-fact MCP Server\n\nFetches a random interesting fact about space, astronomy, or the universe.\n\nThis MCP server provides a tool for retrieving a random fact about a celestial body in our solar system using live data from the Le Systeme Solaire API.\n\n## Installation\n\nYou can use this package with [Claude Desktop](https://github.com/dennisk2025/claude-desktop) or any compatible MCP-compatible client.\n\nInstall globally with npm (recommended):\n\n    npm install -g @dennisk2025/random-space-fact\n\nOr run directly via npx (no install required):\n\n    npx @dennisk2025/random-space-fact\n\n## Adding to Claude Desktop\n\nAdd the following to your `claude_desktop_config.json` configuration file:\n\n```json\n{\n  \"mcpServers\": {\n    \"random-space-fact\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-space-fact\"]\n    }\n  }\n}\n```\n\n**Config file location:**\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n## Usage\n\nOnce added to Claude Desktop, you can invoke the tool directly by its tool name:\n\n### Available tool: `get_random_space_fact`\n\n**Description:**\nReturns a random fact about a celestial body in our solar system.\n\n**Parameters:**\nNone (no input required).\n\n### Example Tool Call\n\nTo request a random space fact:\n\n```json\n{\n  \"tool\": \"get_random_space_fact\",\n  \"parameters\": {}\n}\n```\n\n**Example response:**\n\n```json\n{\n  \"fact\": \"The surface gravity on Mars is approximately 3.71 m/s².\",\n  \"body\": {\n    \"englishName\": \"Mars\",\n    \"bodyType\": \"Planet\",\n    \"isPlanet\": true,\n    \"discoveryDate\": \"\",\n    \"discoveryBy\": \"\",\n    \"semimajorAxis\": 227943824,\n    \"density\": 3.94,\n    \"gravity\": 3.71,\n    \"meanRadius\": 3389.5\n  }\n}\n```\n\n## List of Available Tools\n\n- **get_random_space_fact**\n  - Parameters: *(none)*\n  - Returns: Random fact and details about a celestial body\n\n---\n\nEnjoy exploring our solar system!\n","readmeFilename":"README.md","_rev":"1-ad5c8dd15d16ae1793f108df53c74869"}