RandomUser MCP Server
RandomUser MCP サーバー
カスタム フォーマット、パスワード生成、加重国籍分布などの追加機能により、randomuser.me API への拡張アクセスを提供する MCP サーバー。
インストール
リポジトリをクローンします。
git clone https://github.com/rycid/randomuserMCP.git
cd randomuserMCP
# Install dependencies
npm install
# Build the project
npm run buildRelated MCP server: mcp-rando-server
使用法
MCP 設定ファイル ( claude_desktop_config.jsonまたはcline_mcp_settings.json ) に追加します。
{
"mcpServers": {
"randomuser": {
"command": "node",
"args": ["path/to/randomuserMCP/build/index.js"]
}
}
}利用可能なツール
get_random_user
カスタマイズ可能なオプションを持つランダムなユーザーを 1 人取得します。
{
"gender": "female",
"nationality": "US",
"fields": {
"mode": "include",
"values": ["name", "email", "phone"]
},
"format": {
"type": "json",
"structure": {
"flattenObjects": true,
"nameFormat": "full"
}
},
"password": {
"charsets": ["special", "upper", "lower", "number"],
"minLength": 8,
"maxLength": 12
}
}複数のユーザーを取得する
重み付けされた国籍分布を持つ複数のランダムなユーザーを取得します。
{
"count": 10,
"nationality": ["US", "GB", "FR"],
"nationalityWeights": {
"US": 0.5,
"GB": 0.3,
"FR": 0.2
},
"fields": {
"mode": "include",
"values": ["name", "email", "nat"]
},
"format": {
"type": "csv",
"csv": {
"delimiter": ",",
"includeHeader": true
}
}
}出力形式
サーバーは複数の出力形式をサポートしています。
JSON(デフォルト)
ネストされたオブジェクトまたはフラット化されたオブジェクト
カスタマイズ可能な名前の形式(フルネーム、名字と姓、別姓)
日付フォーマットオプション(ISO、UNIX、フォーマット済み)
CSV
カスタマイズ可能な区切り文字
オプションのヘッダー
自動的にフラット化されたデータ構造
SQL
複数の方言のサポート (MySQL、PostgreSQL、SQLite)
オプションのCREATE TABLE文
適切なエスケープと型処理
XML
標準XML形式
ネストされたデータ構造
特殊文字の適切なエスケープ
フィールド選択
特定のフィールドを含めるか除外する:
{
"fields": {
"mode": "include", // or "exclude"
"values": [
"name",
"phone",
"email",
"location",
"picture",
"dob",
"login",
"registered",
"id",
"cell",
"nat"
]
}
}サポートされている国籍
AU: オーストラリア
BR: ブラジル
CA: カナダ
CH: スイス
DE: ドイツ
DK: デンマーク
ES: スペイン
FI: フィンランド
FR: フランス
GB: イギリス
IE: アイルランド
IN: インド
IR: イラン
MX: メキシコ
NL: オランダ
いいえ: ノルウェー
NZ: ニュージーランド
RS: セルビア
TR: トルコ
UA: ウクライナ
米国: アメリカ合衆国
発達
# Install dependencies
npm install
# Build the project
npm run build
# Start in development mode (with watch mode)
npm run dev
# Start the server
npm startライセンス
マサチューセッツ工科大学
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceWraps the randomuser.me API to generate random user profiles with names, contact info, and demographics, optionally filtered by gender and count.7MIT
- FlicenseNot gradedqualityDmaintenanceCryptographically secure random number generation and randomized resources, including tools for numbers, strings, dice rolls, UUIDs, and passphrases.4
- AlicenseCqualityDmaintenanceGenerates passwords with customizable length, special characters, numbers, and umlauts via the Password Generator20 API.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for generating fake data using Faker.js, including person, lorem, internet, and more, with support for multiple locales and customizable options.129MIT
Related MCP Connectors
Random User MCP — wraps randomuser.me (free, no auth)
Generate IDs, QR codes, and hashes, encode values, geolocate IPs, plus gated host diagnostics.
Enrich user data by adding social network links based on provided personal information. Integrate…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rycid/randomuserMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server