@dennisk2025/palindromic-number-generator
v1.0.0
Published
Generates random palindromic numbers of a specified digit length, useful for educational tools, coding challenges, or generating interesting data patterns.
Downloads
6
Readme
Palindromic Number Generator MCP Server
Generates random palindromic numbers of a specified digit length. Useful for educational tools, coding challenges, or generating interesting data patterns.
Installation
You can run this MCP server instantly via npx (recommended):
npx @dennisk2025/palindromic-number-generatorOr install locally:
npm install @dennisk2025/palindromic-number-generatorThis will auto-install all dependencies.
Adding to Claude Desktop
Add the following block to your Claude Desktop config file:
{
"mcpServers": {
"palindromic": {
"command": "npx",
"args": ["@dennisk2025/palindromic-number-generator"]
}
}
}Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Usage & Available Tools
1. generate_palindromic_numbers
Description: Generates a list of random palindromic numbers with a given digit length and count.
Parameters:
digits(integer, required): Number of digits for each palindromic number (min: 2, max: 12)count(integer, required): How many palindromic numbers to generate (min: 1, max: 100)
Example Tool Call:
{
"tool_name": "generate_palindromic_numbers",
"arguments": {
"digits": 4,
"count": 5
}
}Example Output:
{
"numbers": ["2112", "9779", "9009", "2882", "1331"]
}Tool List Summary
- generate_palindromic_numbers
- Description: Generates a list of random palindromic numbers with given digit length and count.
- Input:
digits: integer (2-12), requiredcount: integer (1-100), required
- Output:
numbers: array of strings, guaranteed palindromic numbers
For any issues or questions, please open an issue on npm's Community tab or consult with your Claude Desktop setup.
