Skip to main content
Glama
RandomUser MCP Server

RandomUser MCP Server

by rycid

RandomUser MCP 서버

사용자 정의 서식, 비밀번호 생성, 가중 국적 분포와 같은 추가 기능을 통해 randomuser.me API에 대한 향상된 액세스를 제공하는 MCP 서버입니다.

설치

저장소를 복제합니다.

지엑스피1

Related 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"]
    }
  }
}

사용 가능한 도구

무작위 사용자 가져오기

사용자 정의 옵션을 통해 무작위로 선택된 사용자를 얻으세요.

{
  "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, formatted)

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

특허

MIT

Available Tools

2 tools
get_multiple_usersC

Get multiple random users

Inputs: count (required), gender, nationality, nationalityWeights, +3 more.

get_random_userC

Get a single random user

Inputs: gender, nationality, fields, format, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one retrieves a single random user, while the other retrieves multiple random users. There is no overlap or ambiguity in their functions, making it easy for an agent to select the appropriate tool based on the desired outcome.

    Naming Consistency5/5

    Both tool names follow a consistent verb_noun pattern with 'get' as the verb and descriptive nouns ('random_user', 'multiple_users'). The naming is uniform and predictable, using snake_case throughout without any deviations.

    Tool Count2/5

    With only 2 tools, the server feels thin for a 'RandomUser' domain, as it lacks operations like filtering users by criteria, updating user data, or handling user-related workflows. While the tools cover basic retrieval, the count is too low for a comprehensive user management or data generation scope.

    Completeness2/5

    The tool surface is severely incomplete for a user-related server, offering only retrieval of random users without any ability to create, update, delete, or filter users. There are significant gaps that would limit agent functionality, such as no way to specify user attributes or manage user data beyond basic fetching.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Wraps the randomuser.me API to generate random user profiles with names, contact info, and demographics, optionally filtered by gender and count.
      278 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Cryptographically secure random number generation and randomized resources, including tools for numbers, strings, dice rolls, UUIDs, and passphrases.
      4
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Generates passwords with customizable length, special characters, numbers, and umlauts via the Password Generator20 API.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables generation of UUIDs (v4, v7) and ULIDs, UTC time retrieval, and customizable random string creation with options for length, case, numbers, and special characters.
      MIT