{"_id":"@dennisk2025/random-food-joke","name":"@dennisk2025/random-food-joke","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-food-joke","version":"1.0.0","description":"Fetches a random food-related joke to delight users with funny culinary humor.","type":"module","main":"index.js","bin":{"random-food-joke":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-food-joke@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-57RHPtAb+uZwj88e0+h6svNkkQ+dJ3j5Z1OFwgcOplDfqbngXO3bDuq66lrqVoqgKvJwGZ1h/ARk3Q/EkUcI4g==","shasum":"33e8e46d687f1138d59560424913b997ec805c59","tarball":"https://registry.npmjs.org/@dennisk2025/random-food-joke/-/random-food-joke-1.0.0.tgz","fileCount":3,"unpackedSize":6013,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG7J1SBf4d+R9HBu00+e2KYBR6Vz8XsMV3Fv6UtSivs3AiEA5Gx30WXmWeRZb/nCztix9nupv41JfWJH/0cpXVnSAUk="}]},"_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-food-joke_1.0.0_1761426097839_0.9562334988200707"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T21:01:37.729Z","1.0.0":"2025-10-25T21:01:38.001Z","modified":"2025-10-25T21:01:38.357Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Fetches a random food-related joke to delight users with funny culinary humor.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-food-joke\n\nFetches a random food-related joke to delight users with funny culinary humor. This is a production-ready MCP server providing a simple API for deliciously funny food jokes.\n\n## Installation\n\nUsing npx (recommended):\n\n    npx @dennisk2025/random-food-joke\n\nOr install locally:\n\n    npm install @dennisk2025/random-food-joke\n\nYou can then run it with:\n\n    npx random-food-joke\n\n---\n\n## Adding to Claude Desktop\n\nTo use this MCP server with Claude Desktop, add the following to your Claude Desktop config file:\n\n    ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)\n    %APPDATA%\\Claude\\claude_desktop_config.json (Windows)\n\nAdd this JSON under the \"mcpServers\" section (create the section if it doesn't exist):\n\n```json\n{\n  \"mcpServers\": {\n    \"foodjoke\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-food-joke\"]\n    }\n  }\n}\n```\n\n---\n\n## Usage Example\n\n### Available Tools\n\n- **get-random-food-joke**\n  - Description: Returns a random joke related to food, including the joke text and, if available, its source.\n  - Parameters: None\n\n### Example Tool Call\n\nCall the tool with no parameters:\n\n```json\n{\n  \"name\": \"get-random-food-joke\",\n  \"arguments\": {}\n}\n```\n\n### Example Response\n\n```json\n{\n  \"joke\": \"Why did the tomato turn red? Because it saw the salad dressing!\",\n  \"source\": \"Foodish API\"\n}\n```\n\n---\n\n## Tool Reference\n\n**get-random-food-joke**\n\n- **Description:** Returns a random joke related to food, including the joke text and, if available, its source.\n- **Input Schema:**\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {},\n  \"required\": []\n}\n```\n- **Returns:** Object with fields:\n  - `joke`: string (the joke text)\n  - `source`: string (optional; the author or API source)\n\n---\n\n## Support\n\nPlease use the foodish-api.com joke endpoint for API jokes. If there are network issues or you encounter an error, please try again. This MCP server is production-ready and suitable for both fun and development use!\n","readmeFilename":"README.md","_rev":"1-8941f70c30195cb67133d7bb2c63bca2"}