MCP server
by qianjue-cn
Generate cryptographically secure random numbers with Random.org's RNG generator—perfect for key generation, sampling, a
Generates cryptographically secure random data using Random.org's atmospheric noise API. Provides true randomness for security applications, statistical sampling, and cryptographic operations.
Random.org is a community-built MCP server published by qianjue-cn that provides AI assistants with tools and capabilities via the Model Context Protocol. Generate cryptographically secure random numbers with Random.org's RNG generator—perfect for key generation, sampling, a It is categorized under developer tools.
You can install Random.org in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Random.org is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Random.org is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
I recommend Random.org for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Random.org reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: Random.org surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Useful MCP listing: Random.org is the kind of server we cite when onboarding engineers to host + tool permissions.
Random.org has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Random.org benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Random.org has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Random.org benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Random.org has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
showing 1-10 of 30
A Model Context Protocol (MCP) server that provides access to the api.random.org service for generating true random numbers, strings, UUIDs, and more.
This MCP server provides the following tools:
# Install globally
npm install -g random-org-mcp-server
# Verify installation
random-org-mcp --version
# Run directly with npx (no installation required)
npx random-org-mcp-server
# Install in your project
npm install random-org-mcp-server
# Run from node_modules
npx random-org-mcp-server
git clone https://github.com/QianJue-CN/TRUERandomMCP.git
cd TRUERandomMCP
npm install
npm run build
Create a .env file in your working directory:
# Copy example file (if building from source)
cp .env.example .env
Edit .env file:
RANDOM_ORG_API_KEY=your_api_key_here
RATE_LIMIT_REQUESTS_PER_SECOND=1
RATE_LIMIT_BURST_SIZE=5
REQUEST_TIMEOUT_MS=10000
MAX_RETRIES=3
RETRY_DELAY_MS=1000
Configure directly in your MCP client (e.g., Claude Desktop):
{
"mcpServers": {
"random-org": {
"command": "npx",
"args": ["random-org-mcp-server"],
"env": {
"RANDOM_ORG_API_KEY": "your_api_key_here"
}
}
}
}
RANDOM_ORG_API_KEY (required) - Your api.random.org API keyRATE_LIMIT_REQUESTS_PER_SECOND (optional, default: 1) - Rate limitingRATE_LIMIT_BURST_SIZE (optional, default: 5) - Burst size for rate limitingREQUEST_TIMEOUT_MS (optional, default: 10000) - Request timeout in millisecondsMAX_RETRIES (optional, default: 3) - Maximum number of retriesRETRY_DELAY_MS (optional, default: 1000) - Delay between retriesLocate your Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd the Random.org MCP server configuration:
{
"mcpServers": {
"random-org": {
"command": "npx",
"args": ["random-org-mcp-server"],
"env": {
"RANDOM_ORG_API_KEY": "your_api_key_here"
}
}
}
}
{
"mcpServers": {
"random-org": {
"command": "random-org-mcp",
"env": {
"RANDOM_ORG_API_KEY": "your_api_key_here"
}
}
}
}
{
"mcpServers": {
"random-org": {
"command": "node",
"args": ["node_modules/random-org-mcp-server/dist/index.js"],
"env": {
"RANDOM_ORG_API_KEY": "your_api_key_here"
}
}
}
}
random-org-mcp
npx random-org-mcp-server
npm start
For development with auto-reload:
npm run dev
{
"name": "generateIntegers",
"arguments": {
"n": 5,
"min": 1,
"max": 100,
"replacement": true,
"base": 10
}
}
{
"name": "generateStrings",
"arguments": {
"n": 3,
"length": 8,
"characters": "abcdefghijklmnopqrstuvwxyz0123456789",
"replacement": true
}
}
{
"name": "generateUUIDs",
"arguments": {
"n": 5
}
}
{
"name": "generateGaussians",
"arguments": {
"n": 10,
"mean": 0,
"standardDeviation": 1,
"significantDigits": 6
}
}
{
"name": "getUsage",
"arguments": {}
}
The api.random.org service has the following limits:
The server includes comprehensive error handling:
npm run build - Build the TypeScript codenpm start - Run the compiled servernpm run dev - Run in development mode with auto-reloadnpm run clean - Clean the build directorysrc/
├── index.ts # Main entry point
├── server.ts # MCP server implementation
├── randomOrgClient.ts # API client for random.org
├── rateLimiter.ts # Rate limiting implementation
├── config.ts # Configuration management
└── types.ts # TypeScript type definitions
MIT License - see LICENSE file for details.
For issues related to this MCP server, please open an issue on GitHub. For api.random.org API issues, please refer to their documentation.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.