@dennisk2025/random-advice-generator
v1.0.0
Published
Fetches a random piece of advice or life tip to inspire, motivate, or offer wisdom.
Readme
random-advice-generator
Fetches a random piece of advice or life tip to inspire, motivate, or offer wisdom. This Model Context Protocol (MCP) server provides a simple tool for getting random advice directly from the Advice Slip API.
Installation
You can use this MCP server instantly via npx, or install it globally:
One-time (recommended)
npx @dennisk2025/random-advice-generator
Or install globally
npm install -g @dennisk2025/random-advice-generator
Adding to Claude Desktop
To enable this MCP server in Claude Desktop, add the following to your Claude Desktop configuration file:
{
"mcpServers": {
"advice": {
"command": "npx",
"args": ["@dennisk2025/random-advice-generator"]
}
}
}Add this to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving your changes.
Usage
Once added, Claude can call the following tool provided by this server:
Tool: get-random-advice
Returns a random advice slip from the Advice Slip API.
Parameters:
- (none)
Example tool call
{
"tool_call": {
"name": "get-random-advice",
"arguments": {}
}
}Response:
{
"advice": "Don't count your chickens before they hatch."
}Available Tools
| Tool Name | Description | Parameters | |---------------------|--------------------------------------------------------|------------| | get-random-advice | Returns a random advice slip from the Advice Slip API. | none |
