{"_id":"@dennisk2025/random-hex-grid-generator","name":"@dennisk2025/random-hex-grid-generator","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/random-hex-grid-generator","version":"1.0.0","description":"Generates a 2D hexagonal grid of specified dimensions, filled with random hexadecimal values. Useful for game prototyping, visualizations, or data masking.","type":"module","main":"index.js","bin":{"random-hex-grid-generator":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/random-hex-grid-generator@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-i4PqXG0UCkJYnb69g54WneDAKyggZoNQkcqH5K4qUeAmvW+erIWn4/OJTKsqp/Xi0FptUvcNmtauuNlxnVYcAw==","shasum":"9f055ec8f90f0ae377e47c77919387cb639d66f0","tarball":"https://registry.npmjs.org/@dennisk2025/random-hex-grid-generator/-/random-hex-grid-generator-1.0.0.tgz","fileCount":3,"unpackedSize":7319,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD5YYbNe1R0/vHOD1kODeFN7wLB0xfI3dlQXAK5/67LjwIhAJiyCZ4pw2x1jNdcq62I2Lu+zS6WbtCVy1+r7XKO5h96"}]},"_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-hex-grid-generator_1.0.0_1761424940761_0.8160526699960218"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T20:42:20.686Z","1.0.0":"2025-10-25T20:42:20.945Z","modified":"2025-10-25T20:42:21.221Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Generates a 2D hexagonal grid of specified dimensions, filled with random hexadecimal values. Useful for game prototyping, visualizations, or data masking.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# random-hex-grid-generator\n\nGenerates a 2D hexagonal grid of specified dimensions, filled with random hexadecimal values. Useful for game prototyping, visualizations, or data masking.\n\n## Installation\n\nYou can run this MCP server without installing globally using npx:\n\n```\nnpx @dennisk2025/random-hex-grid-generator\n```\n\nOr install it with npm:\n\n```\nnpm install -g @dennisk2025/random-hex-grid-generator\n```\n\n## Adding to Claude Desktop\n\nAdd the following entry to your Claude Desktop config file at:\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"hexgrid\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/random-hex-grid-generator\"]\n    }\n  }\n}\n```\n\nReplace \"hexgrid\" with any short name you prefer for this MCP server.\n\n## Usage\n\nAsk Claude to use the following tool:\n\n### Tool: generate_hex_grid\nCreates a 2D array representing a hexagonal grid of random hex values. Each cell contains a random hex value of the specified length.\n\n**Parameters:**\n- `rows` (integer, required): Number of rows in the grid\n- `columns` (integer, required): Number of columns in the grid\n- `hex_length` (integer, optional, default 2): Length of each hexadecimal value (e.g., 2 for 00-FF, 6 for full RGB hex)\n\n### Example Tool Call\n\n```\nTool: generate_hex_grid\nParameters:\n{\n  \"rows\": 5,\n  \"columns\": 8,\n  \"hex_length\": 2\n}\n```\n\n**Sample output:**\n```\n{\n  \"grid\": [\n    [\"1f\", \"d3\", \"c5\", \"0a\", \"ee\", \"b2\", \"67\", \"8e\"],\n    [\"4c\", \"9a\", \"7e\", \"f0\", \"55\", \"3d\", \"b7\", \"62\"],\n    ...\n  ]\n}\n```\n\n## Available Tools\n\n| Name                | Description                                                                              |\n|---------------------|------------------------------------------------------------------------------------------|\n| generate_hex_grid   | Creates a 2D array representing a hexagonal grid of random hex values.                   |\n\n### generate_hex_grid Parameters\n| Name        | Type     | Required | Description                                                                    | Default |\n|-------------|----------|----------|--------------------------------------------------------------------------------|---------|\n| rows        | integer  | Yes      | Number of rows in the grid                                                     |         |\n| columns     | integer  | Yes      | Number of columns in the grid                                                  |         |\n| hex_length  | integer  | No       | Length of each hexadecimal value (e.g., 2 for 00-FF, 6 for full RGB hex)       |   2     |\n\n---\n\nIf you have issues or feature requests, please let us know!\n","readmeFilename":"README.md","_rev":"1-57ad86f1a0404abdc963e32965c66223"}