@dennisk2025/random-harry-potter-quote
v1.0.0
Published
Fetches a random quote from the Harry Potter books, including the quote text and its attributed character.
Readme
random-harry-potter-quote
Fetches a random quote from the Harry Potter books, including the quote text and its attributed character via PotterDB.
Features
- Retrieves genuine quotes from the Harry Potter books
- Returns both the quote and the character who said it
- One-click integration with Claude Desktop (or compatible MCP clients)
Installation
With npx
npx @dennisk2025/random-harry-potter-quote
With npm
npm install @dennisk2025/random-harry-potter-quote
Adding to Claude Desktop
Add the following configuration to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"harrypotterquotes": {
"command": "npx",
"args": ["@dennisk2025/random-harry-potter-quote"]
}
}
}Restart Claude Desktop after saving the file.
Usage
After setup, you can invoke the available tool from compatible clients.
Available Tool
get-random-harry-potter-quote
- Description: Retrieves a random quote from the Harry Potter series, including quote text and character name.
- Parameters: none
Example Call (from tools panel):
Tool: get-random-harry-potter-quote
Arguments: (none)Example Output
{
"quote": "The ones that love us never really leave us.",
"character": "Sirius Black"
}List of Tools and Parameters
| Tool Name | Parameters | Description | |------------------------------------|------------|--------------------------------------------------------------------| | get-random-harry-potter-quote | (none) | Retrieves a random quote from the Harry Potter series and character |
For support or updates, see the npm package page.
