npm random-profiles-mcpstdioMITupdated 4mo ago
MCP server for the Random Profiles API — generate fake user profiles and companies directly from AI agents like Claude.
What can you do with random profiles?
random-profiles-mcp
MCP server for the Random Profiles API — generate fake user profiles and companies directly from AI agents like Claude.
Setup — zero config
Just install the MCP server and talk to it. The first time you ask for profiles, the agent will prompt you for an email once, claim a free key on your behalf, cache it locally, and use it for every future request. The key is also emailed to you as a receipt.
Add to your Claude Code MCP config (.mcp.json):
{
"mcpServers": {
"random-profiles": {
"type": "stdio",
"command": "npx",
"args": ["-y", "random-profiles-mcp"]
}
}
}
Restart Claude Code and ask "give me 5 random user profiles" — the agent will handle the key handshake automatically. No browser, no copy-paste.
The key is cached at ~/.random-profiles/config.json (mode 0600) so you
only do this once per machine.
Prefer to bring your own key?
If you already have an API key (or want to use a specific one for billing), set it via env var and skip the claim flow entirely:
{
"mcpServers": {
"random-profiles": {
"type": "stdio",
"command": "npx",
"args": ["-y", "random-profiles-mcp"],
"env": {
"RANDOM_PROFILES_API_KEY": "rp_your_key_here"
}
}
}
}
The env var takes precedence over the cached key.
Tools
| Tool | Description |
|---|---|
claim_api_key |
Claim a free API key using an email address (response returns the key; the agent also emails a copy as a receipt). Only used on first run when no key is configured — cached afterward. |
get_profiles |
Get random user profiles with filters (count, gender, country, age range, fields) |
get_profile |
Get a single profile by UUID |
get_companies |
Get random fake companies with filters (count, industry, country, size, fields) |
get_company |
Get a single company by UUID |
get_random_image |
Get a random profile photo (JPEG, optional size) |
get_image |
Get a specific profile photo by UUID (JPEG, optional size) |
get_usage |
Check your API key usage, tier, and daily limits |
Field Groups
Profiles: name, email, phone, identity, bio, social, physical, job, address, financial, network, documents, vehicle, contact, digital, interests, education, photo, relationships, meta
Companies: name, industry, size, location, contact, social, financial, tech, leadership, legal, operations, product, relationships, meta
The relationships group returns cross-resource UUIDs: profiles have company_uuid + colleague_uuids, companies have employee_uuids. Chain tools together to hydrate the graph (e.g. "give me 5 companies, then their employees").
Image formats
Both get_profiles and get_companies accept an optional photo_format / logo_format argument (jpg or webp). WebP is ~30% smaller than JPG with equivalent perceived quality and is supported by 96%+ of browsers. Default stays jpg for maximum compatibility.
Examples
Profiles
"Give me 5 random US profiles"
"Generate 10 female profiles between ages 25-35 from Germany"
"Get me profiles with only name and email fields"
"Show me a random profile photo"
Companies
"Give me 5 fake Technology companies from the US"
"Generate 10 Healthcare companies with 51-200 employees"
"Get 20 companies with only name, industry, and leadership fields"
"Give me 3 Finance companies from the UK with a fixed seed of 42"
"Give me 10 companies with 128px logos (for an icon grid)"
The logo_size argument on get_companies/get_company picks the size variant in meta.logo_url — same pattern as photo_size on profiles. Valid values: 64, 128, 256, 512, 1024 (default).
Environment Variables
| Variable | Required | Description |
|---|---|---|
RANDOM_PROFILES_API_KEY |
Yes | Your API key (get one at random-profiles.com) |
See also
random-profiles-types— TypeScript types for the API response shapes, if you're calling the API directly from TypeScript.random-profiles— CLI for the same API.
License
MIT
Install
Add random profiles to your client. Pick the one you use.
claude mcp add random-profiles-mcp -- npx -y random-profiles-mcpcodex mcp add random-profiles-mcp -- npx -y random-profiles-mcpamp mcp add random-profiles-mcp -- npx -y random-profiles-mcp{
"mcpServers": {
"random-profiles-mcp": {
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"random-profiles-mcp": {
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"random-profiles-mcp","command":"npx","args":["-y","random-profiles-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"random-profiles-mcp": {
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"random-profiles-mcp": {
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"random-profiles-mcp": {
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"random-profiles-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"random-profiles-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"random-profiles-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"random-profiles-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y random-profiles-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
8 tools
random profiles exposes 8 tools to a connected agent.
- claim_api_key
- Claim a free API key using an email address (response returns the key; the agent also emails a copy as a receipt). Only used on first run when no key is configured — cached afterward.
- get_profiles
- Get random user profiles with filters (count, gender, country, age range, fields)
- get_profile
- Get a single profile by UUID
- get_companies
- Get random fake companies with filters (count, industry, country, size, fields)
- get_company
- Get a single company by UUID
- get_random_image
- Get a random profile photo (JPEG, optional size)
- get_image
- Get a specific profile photo by UUID (JPEG, optional size)
- get_usage
- Check your API key usage, tier, and daily limits
Score
69 / 100
Good
- Documentation25/25
- Maintenance13/25
- Trust13/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 127 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.4.3Latest | Apr 23, 2026 |