
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that generates fake and mock data using the Faker.js library for seeding databases, testing APIs, and building demo and development environments.
Faker MCP Server is cataloged as an MCP server attributed to funsjanssen. A Model Context Protocol server that generates fake and mock data using the Faker.js library for seeding databases, testing APIs, and building demo and development environments. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Faker MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports English, French, German, Spanish, and Japanese.
Yes, seed-based generation allows consistent test data, as each tool accepts an optional seed for reproducible generation.
Custom fields can use regex, enum, format, or range patterns.
README.md · acedd08918d3 · Fetched 2026-11-13 13:27:03 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server that provides fake/mock data generation capabilities using the Faker.js library. Generate realistic test data for database seeding, API testing, demo applications, and development environments.
Read more about why and when to use this MCP server in my blog post.
Add the Faker MCP server to the mcpServers section:
{
"mcpServers": {
"faker": {
"command": "npx",
"args": ["faker-mcp-server"]
}
}
}
See the MCP Client Configurations section for detailed setup instructions for various MCP clients.
The Faker MCP Server provides four powerful tools for generating fake data:
Generate realistic person data including names, emails, phone numbers, and addresses.
Parameters:
count (number, optional): Number of person records to generate (1-10,000, default: 1)locale (string, optional): Locale for generated data - en, fr, de, es, ja (default: en)seed (number, optional): Seed for reproducible generationincludeAddress (boolean, optional): Whether to include address information (default: true)includePhone (boolean, optional): Whether to include phone number (default: true)includeDateOfBirth (boolean, optional): Whether to include date of birth (default: false)Example Usage:
Generate 10 fake person records with names, emails, and addresses
Example Request (MCP protocol):
{
"method": "tools/call",
"params": {
"name": "generate-person",
"arguments": {
"count": 5,
"locale": "en",
"seed": 12345,
"includeAddress": true,
"includePhone": true,
"includeDateOfBirth": false
}
}
}
Sample Output:
[
{
"id": "person_12345_0",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"email": "john.doe@example.com",
"phone": "+1-555-123-4567",
"address": {
"street": "123 Main St",
"city": "Springfield",
"state": "IL",
"postalCode": "62701",
"country": "United States"
}
}
]
Generate realistic company data including names, industries, contact information, and addresses.
Parameters:
count (number, optional): Number of company records to generate (1-10,000, default: 1)locale (string, optional): Locale for generated data - en, fr, de, es, ja (default: en)seed (number, optional): Seed for reproducible generationincludeAddress (boolean, optional): Whether to include address information (default: true)includeWebsite (boolean, optional): Whether to include website URL (default: true)includeFoundedYear (boolean, optional): Whether to include founded year (default: false)includeEmployeeCount (boolean, optional): Whether to include employee count (default: false)Example Usage:
Generate 5 company records with seed 54321 for reproducibility
Example Request (MCP protocol):
{
"method": "tools/call",
"params": {
"name": "generate-company",
"arguments": {
"count": 3,
"locale": "en",
"seed": 54321,
"includeAddress": true,
"includeWebsite": true,
"includeFoundedYear": true,
"includeEmployeeCount": true
}
}
}
Sample Output:
[
{
"id": "company_54321_0",
"name": "Acme Corporation",
"industry": "Technology",
"email": "contact@acme.example.com",
"phone": "+1-555-111-2222",
"website": "https://acme.example.com",
"address": {
"street": "100 Tech Blvd",
"city": "San Francisco",
"state": "CA",
"postalCode": "94105",
"country": "United States"
},
"founded": 2010,
"employeeCount": 250
}
]
Generate structured datasets with multiple entity types and referential integrity between them.
Parameters:
schema (object, required): Dataset schema defining entities and relationships
entities (object): Map of entity names to entity definitions
count (number): Number of records to generate for this entity (1-10,000)type (string): Entity type - person, company, or customfields (array, optional): List of fields to include (defaults to all)relationships (object, optional): Foreign key relationships to other entities
references (string): Name of the parent entitytype (string): Relationship type - one-to-many or many-to-manynullable (boolean, optional): Whether the foreign key can be null (default: false)locale (string, optional): Locale for generated data - en, fr, de, es, ja (default: en)seed (number, optional): Seed for reproducible generationExample Usage:
Generate a dataset with 20 users and 100 orders, where each order references a user
Example Request (MCP protocol):
{
"method": "tools/call",
"params": {
"name": "generate-dataset",
"arguments": {
"schema": {
"entities": {
"users": {
"count": 10,
"type": "person",
"fields": ["id", "fullName", "email", "phone"]
},
"orders": {
"count": 30,
"type": "custom",
"fields": ["id", "userId", "productName", "price", "orderDate"],
"relationships": {
"userId": {
"references": "users",
"type": "one-to-many",
"nullable": false
}
}
}
}
},
"locale": "en",
"seed": 99999
}
}
}
Sample Output:
{
"users": [
{
"id": "user_99999_0",
"fullName": "John Doe",
"email": "john.doe@example.com",
"phone": "+1-555-100-0001"
},
{
"id": "user_99999_1",
"fullName": "Jane Smith",
"email": "jane.smith@example.com",
"phone": "+1-555-100-0002"
}
],
"orders": [
{
"id": "order_99999_0",
"userId": "user_99999_0",
"productName": "Laptop",
"price": 1299.99,
"orderDate": "2024-03-15"
},
{
"id": "order_99999_1",
"userId": "user_99999_0",
"productName": "Mouse",
"price": 29.99,
"orderDate": "2024-03-16"
},
{
"id": "order_99999_2",
"userId": "user_99999_1",
"productName": "Keyboard",
"price": 89.99,
"orderDate": "2024-03-17"
}
]
}
Generate data following custom patterns including regex patterns, enums, formats, and ranges.
Parameters:
count (number, optional): Number of records to generate (1-10,000, default: 1)patterns (object, required): Map of field names to pattern definitions
type (string): Pattern type - regex, enum, format, or rangevalue: Pattern value (depends on pattern type):
regex: Regular expression string (e.g., "PRD-[0-9]{4}-[A-Z]{2}")enum: Array of string values to choose from (e.g., ["pending", "active", "completed"])format: Template string with placeholders (e.g., "REF-{{year}}-{{random:5}}")range: Object with min and max numeric values (e.g., {"min": 10, "max": 1000})locale (string, optional): Locale for generated data - affects format-based patterns (default: en)seed (number, optional): Seed for reproducible generationExample Usage:
Generate 50 product records with codes matching pattern PRD-####-XX where # is a digit and X is an uppercase letter
Example Request (MCP protocol):
{
"method": "tools/call",
"params": {
"name": "generate-custom",
"arguments": {
"count": 5,
"patterns": {
"productCode": {
"type": "regex",
"value": "PRD-[0-9]{4}-[A-Z]{2}"
},
"status": {
"type": "enum",
"value": ["pending", "active", "completed", "cancelled"]
},
"price": {
"type": "range",
"value": { "min": 10, "max": 1000 }
},
"reference": {
"type": "format",
"value": "REF-{{year}}-{{random:5}}"
}
},
"locale": "en",
"seed": 11111
}
}
}
Sample Output:
[
{
"id": "custom_11111_0",
"productCode": "PRD-1234-AB",
"status": "active",
"price": 456.78,
"reference": "REF-2024-A3B5C"
},
{
"id": "custom_11111_1",
"productCode": "PRD-5678-CD",
"status": "pending",
"price": 123.45,
"reference": "REF-2024-D7E9F"
}
]
Generate realistic test data to populate development databases:
Generate a dataset with 100 users, 500 orders, and 1000 order items with proper relationships, using seed 100
Create test payloads with realistic data structures:
Generate 20 user registration payloads with emails, passwords, and profile information
Build demo environments with locale-specific data:
Generate French locale data: 50 customers with addresses and 200 orders for a demo e-commerce site
Generate large volumes of data for load testing:
Generate 10000 person records for load testing my user import API
Always specify a seed when you need consistent test data across environments:
Generate 100 users with seed 12345
Match the locale to your target market for realistic data:
Generate 50 companies in German locale (de)
For very large datasets, consider generating in batches:
Generate 3000 records with seed 111 (first batch)
Generate 3000 records with seed 222 (second batch)
Generate 3000 records with seed 333 (third batch)
Ensure parent entities are generated before child entities:
{
"entities": {
"users": { "count": 10, "type": "person" },
"orders": {
"count": 50,
"type": "custom",
"relationships": {
"userId": { "references": "users", "type": "one-to-many" }
}
}
}
}
| Operation | Records | Expected Time | Memory Usage |
|---|---|---|---|
| Generate Person | 100 | <100ms | <5MB |
| Generate Person | 1,000 | <1s | <50MB |
| Generate Person | 10,000 | <10s | <100MB |
| Generate Company | 100 | <100ms | <5MB |
| Generate Dataset | 1,000 total | <2s | <50MB |
| Generate Custom | 1,000 | <1s | <30MB |
Performance may vary based on system resources and pattern complexity.
The server follows MCP standard error response format. Common errors include:
Invalid Parameters (code: -32602):
{
"error": {
"code": -32602,
"message": "Invalid count parameter: must be between 1 and 10000",
"data": {
"received": 50000,
"max": 10000
}
}
}
Unsupported Locale (code: -32001):
{
"error": {
"code": -32001,
"message": "Unsupported locale: zh. Supported locales: en, fr, de, es, ja",
"data": {
"received": "zh",
"supported": ["en", "fr", "de", "es", "ja"]
}
}
}
Schema Validation Error (code: -32602):
{
"error": {
"code": -32602,
"message": "Invalid schema: circular dependency detected in relationships",
"data": {
"cycle": ["orders", "items", "orders"]
}
}
}
Claude Desktop is an AI assistant application that supports MCP servers for extended functionality.
Configuration File Locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonConfiguration:
{
"mcpServers": {
"faker": {
"command": "npx",
"args": ["faker-mcp-server"]
}
}
}
Alternative (using installed global package):
{
"mcpServers": {
"faker": {
"command": "faker-mcp-server",
"args": []
}
}
}
After configuration: Restart Claude Desktop. You can verify the connection by asking "What MCP tools are available?"
Cline is a VS Code extension that brings AI assistance directly into your editor with MCP support.
Setup Steps:
Cmd/Ctrl + Shift + P → "Preferences: Open User Settings (JSON)"{
"cline.mcpServers": {
"faker": {
"command": "npx",
"args": ["faker-mcp-server"],
"transport": "stdio"
}
}
}
Alternative (workspace-specific configuration):
Create or edit .vscode/settings.json in your project:
{
"cline.mcpServers": {
"faker": {
"command": "npx",
"args": ["faker-mcp-server"],
"transport": "stdio"
}
}
}
After configuration: Reload VS Code window or restart Cline extension.
Continue is an open-source AI code assistant for VS Code with MCP support.
Configuration File Location: ~/.continue/config.json (or workspace-specific .continue/config.json)
Configuration:
{
"mcpServers": [
{
"name": "faker",
"command": "npx",
"args": ["faker-mcp-server"],
"transport": "stdio"
}
]
}
After configuration: Restart the Continue extension or reload VS Code.
Zed is a high-performance code editor with built-in AI and MCP support.
Configuration File Location: ~/.config/zed/settings.json
Configuration:
{
"context_servers": {
"faker-mcp-server": {
"command": "npx",
"args": ["faker-mcp-server"]
}
}
}
After configuration: Restart Zed editor.
MCP Inspector is an official debugging tool for testing MCP servers during development.
Usage:
# Install MCP Inspector globally
npm install -g @modelcontextprotocol/inspector
# Run with Faker MCP Server
mcp-inspector npx faker-mcp-server
This will open a web interface at http://localhost:5173 where you can:
For any MCP-compatible client not listed above, use these configuration parameters:
Connection Parameters:
npx faker-mcp-server (or faker-mcp-server if installed globally)stdio (standard input/output)Generic JSON Configuration:
{
"command": "npx",
"args": ["faker-mcp-server"],
"transport": "stdio",
"env": {
"NODE_ENV": "production"
}
}
Using Absolute Path (when npx is not available):
{
"command": "/usr/local/bin/faker-mcp-server",
"args": [],
"transport": "stdio"
}
With Custom Node Path:
{
"command": "/usr/local/bin/node",
"args": ["/path/to/node_modules/.bin/faker-mcp-server"],
"transport": "stdio",
"env": {
"NODE_ENV": "production",
"NODE_OPTIONS": "--max-old-space-size=512"
}
}
For containerized environments or CI/CD pipelines:
Dockerfile:
FROM node:18-alpine
RUN npm install -g faker-mcp-server
CMD ["faker-mcp-server"]
Build and Run:
docker build -t faker-mcp-server .
docker run -i faker-mcp-server
Docker Compose (for integration with other services):
version: '3.8'
services:
faker-mcp:
image: node:18-alpine
command: npx faker-mcp-server
stdin_open: true
tty: true
You can also use the MCP server programmatically in your Node.js applications:
import { spawn } from 'child_process';
// Start the MCP server process
const mcpServer = spawn('npx', ['faker-mcp-server'], {
stdio: ['pipe', 'pipe', 'inherit']
});
// Send MCP request to generate person data
const request = {
jsonrpc: '2.0',
id: 1,
method: 'tools/call',
params: {
name: 'generate-person',
arguments: {
count: 5,
locale: 'en',
seed: 12345
}
}
};
mcpServer.stdin.write(JSON.stringify(request) + '\n');
// Read response
mcpServer.stdout.on('data', (data) => {
const response = JSON.parse(data.toString());
console.log('Generated data:', response.result);
});
Problem: "Command not found: faker-mcp-server"
Solutions:
npx faker-mcp-server instead of faker-mcp-servernpm install -g faker-mcp-serverProblem: "MCP server connection timeout"
Solutions:
node --versionnpx faker-mcp-serverProblem: "Invalid JSON response from server"
Solutions:
stdio (not http or sse)macOS:
~/Library/Application Support/brew install node@18Windows:
%APPDATA%\ or %USERPROFILE%\.config\nvm-windowsLinux:
~/.config/chmod +x /path/to/faker-mcp-serverCause: Server not properly installed or configured.
Solution:
npm list -g faker-mcp-serverCause: Requested locale not supported.
Solution: Use one of the supported locales: en, fr, de, es, ja
Cause: Generating >5000 records may take several seconds.
Solution:
Cause: Schema defines relationships in wrong order or circular dependencies.
Solution:
# Clone the repository
git clone <repository-url>
cd faker-mcp
# Install dependencies
npm install
# Run tests
npm test
# Build the project
npm run build
# Run in development mode
npm run dev
npm run build - Build the project for productionnpm run dev - Build in watch mode for developmentnpm test - Run tests oncenpm run test:watch - Run tests in watch modenpm run test:coverage - Run tests with coverage reportnpm run lint - Lint the codenpm run lint:fix - Lint and fix issuesnpm run format - Format code with Prettiernpm run typecheck - Type-check without emittingMIT
Funs Janssen
Contributions are welcome! Please feel free to submit a Pull Request.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Faker MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/faker-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.