{"_id":"@dennisk2025/random-date-fact","name":"@dennisk2025/random-date-fact","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-date-fact","version":"1.0.0","description":"Fetches an interesting historical fact or notable event that occurred on a specific date (month and day). Great for daily fun facts and discovering what happened on this day in history.","type":"module","main":"index.js","bin":{"random-date-fact":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-date-fact@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-5jG6tgPq0xQogS4WzbUYfRlaD3WubTvHoMMX0auIGC0Lumrd2Mu5SYifwG7jhBdTBFu+KAiUQ215za9ph2/1ng==","shasum":"1c91d329400c93493504ec6a1f42eb66d2b50554","tarball":"https://registry.npmjs.org/@dennisk2025/random-date-fact/-/random-date-fact-1.0.0.tgz","fileCount":3,"unpackedSize":7752,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAFjrwXNNR7NqDcYSvGwT1WE7CgKsEwSAmCn2uDPlt2UAiBNlsDeIj2FZVwXrNgh+EXSA6QEMFxYVKMoHFCMNEEalg=="}]},"_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-date-fact_1.0.0_1761426195679_0.29031558714620886"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T21:03:15.618Z","1.0.0":"2025-10-25T21:03:15.885Z","modified":"2025-10-25T21:03:16.149Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Fetches an interesting historical fact or notable event that occurred on a specific date (month and day). Great for daily fun facts and discovering what happened on this day in history.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-date-fact\n\nFetches an interesting historical fact or notable event that occurred on a specific date (month and day). Great for daily fun facts and discovering what happened on this day in history.\n\n## Installation\n\nRun via NPX (no install needed):\n\n    npx @dennisk2025/random-date-fact\n\nOr install globally:\n\n    npm install -g @dennisk2025/random-date-fact\n\n## Adding to Claude Desktop\n\nAdd the following to your `claude_desktop_config.json` file:\n\n```json\n{\n  \"mcpServers\": {\n    \"random-date-fact\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-date-fact\"]\n    }\n  }\n}\n```\n\nPlace this file at:\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n## Usage & Available Tools\n\nThis MCP server provides the following tools:\n\n### 1. get_fact_for_date\n- **Description:** Gets a random historical fact or event for the given month and day.\n- **Parameters:**\n  - `month` (**integer**, required): Month of the year (1-12)\n  - `day` (**integer**, required): Day of the month (1-31)\n\n#### Example Call\n```json\n{\n  \"name\": \"get_fact_for_date\",\n  \"arguments\": { \"month\": 9, \"day\": 14 }\n}\n```\n\n#### Example Response\n```json\n{\n  \"year\": \"1814\",\n  \"description\": \"Francis Scott Key writes a poem which is later set to music and in 1931 becomes America's national anthem, 'The Star-Spangled Banner.'\",\n  \"link\": \"https://en.wikipedia.org/wiki/Francis_Scott_Key\"\n}\n```\n\n---\n\n### 2. get_fact_for_today\n- **Description:** Gets a random historical fact or event for today’s date (month and day).\n- **Parameters:** *(none)*\n\n#### Example Call\n```json\n{\n  \"name\": \"get_fact_for_today\",\n  \"arguments\": {}\n}\n```\n\n#### Example Response\n```json\n{\n  \"year\": \"1969\",\n  \"description\": \"Apollo 11 launches from Cape Kennedy, Florida, carrying Neil Armstrong, Buzz Aldrin and Michael Collins on the first mission to land on the Moon.\",\n  \"link\": \"https://en.wikipedia.org/wiki/Apollo_11\"\n}\n```\n\n## Error Handling\nIf there are no facts found or an API error occurs, you will receive an error message in the response.\n\n## License\nMIT\n","readmeFilename":"README.md","_rev":"1-d6684e6fcdf810b17acfb11cb16d7f8e"}