{"_id":"@dennisk2025/random-trivia-fact-history","name":"@dennisk2025/random-trivia-fact-history","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-trivia-fact-history","version":"1.0.0","description":"Fetches a random historical trivia fact, including the event, date, and a short description.","type":"module","main":"index.js","bin":{"random-trivia-fact-history":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-trivia-fact-history@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-wiOIuPWkK37wo2+VcZRY4Ea1TK/G6UGJ3l2PQAg7vMZ2/Aar2HgnNnmC6KdBpAMyjXxsCGZu39tMcGJql6yiiA==","shasum":"129d299b74cd40e44d5ae086c29dc39856e89b21","tarball":"https://registry.npmjs.org/@dennisk2025/random-trivia-fact-history/-/random-trivia-fact-history-1.0.0.tgz","fileCount":3,"unpackedSize":6538,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAETxQbwR3Umf+AD3d/AMAinMUSE1SAh/OHXUZi2YMY+AiEAuIZApfgVV6EF7QPafMHiFpQz2UVrOkjnbiGyWniPhgI="}]},"_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-trivia-fact-history_1.0.0_1761426195381_0.6726469903850987"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T21:03:15.319Z","1.0.0":"2025-10-25T21:03:15.576Z","modified":"2025-10-25T21:03:15.816Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Fetches a random historical trivia fact, including the event, date, and a short description.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-trivia-fact-history\n\nFetches a random historical trivia fact, including the event, date, and a short description.\n\n## Features\n\n- Retrieves a random, notable event from world history from the MuffinLabs API\n- Includes date, summary, year, and related links\n- Designed for Claude Desktop and any MCP-compatible client\n\n## Installation\n\n### Using npx (Preferred)\n\n    npx @dennisk2025/random-trivia-fact-history\n\n### Or Install Globally\n\n    npm install -g @dennisk2025/random-trivia-fact-history\n    random-trivia-fact-history\n\n## Adding to Claude Desktop\n\nAdd the following configuration to your Claude Desktop config file at one of these locations:\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"history-facts\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-trivia-fact-history\"]\n    }\n  }\n}\n```\n\n## Usage\n\nAfter adding to Claude Desktop or running via CLI, you can use the available tool:\n\n### Available Tool\n\n- **random_historical_fact**: Returns a random trivia fact from history, including the date, summary, and event details.\n\n#### Parameters\n- _This tool takes no parameters._\n\n### Example Tool Call\n\n**Tool name:** `random_historical_fact`\n**Parameters:** `{}`\n\n**Example Result:**\n\n```json\n{\n  \"year\": \"1896\",\n  \"date\": \"6/12\",\n  \"title\": \"Japan annexes the Ryukyu Islands\",\n  \"summary\": \"1896 – Japan formally annexes the Ryukyu Islands, ending the Ryukyu Kingdom.\",\n  \"links\": [\n    {\n      \"title\": \"Ryukyu Kingdom\",\n      \"link\": \"https://en.wikipedia.org/wiki/Ryukyu_Kingdom\"\n    }\n  ]\n}\n```\n\n## Error Handling\n\nIf the API is unavailable or an error occurs, a friendly error message will be returned.\n\n## Tool Reference\n\n| Tool Name                 | Description                                                              | Parameters   |\n|--------------------------|--------------------------------------------------------------------------|--------------|\n| random_historical_fact    | Returns a random trivia fact from history, including date and description | (none)       |\n\n","readmeFilename":"README.md","_rev":"1-1389d3df4acd07497023e54a60e597c1"}