About faker-server MCP Server
A TypeScript MCP server that exposes Faker.js data generation for developers and test authors, with locale and field-level options.
Key features
- 01Generate person, lorem, internet, date, and commerce data
- 02Support multiple locales
- 03Select fields by data type
- 04Configure lengths, counts, and value ranges
Use cases
- 01Create realistic placeholder records for tests
- 02Generate localized sample data
- 03Populate prototypes with configurable fake content
MCP support
Exposes Faker.js data-generation tools to MCP clients, including person, lorem, internet, date, and commerce generators.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEfaker-server MCP Server
MCP server to get fake strings
This is a TypeScript-based MCP server that provides tools for generating fake data using Faker.js. It demonstrates core MCP concepts by providing:
- Tools for generating various types of fake data (person, lorem, internet, etc.)
- Support for different locales for internationalization
- Customizable options for each data type
Features
Tools
generate_person- Generate fake person data (names, job titles, etc.)generate_lorem- Generate fake lorem ipsum textgenerate_internet- Generate fake internet data (emails, usernames, URLs, etc.)generate_date- Generate fake datesgenerate_commerce- Generate fake commerce data (products, prices, etc.)- And many more modules from Faker.js
Features
- Support for multiple locales (en, ja, fr, etc.)
- Customizable field selection for each data type
- Configurable parameters (length, count, min/max values, etc.)
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Testing
Run all tests:
npm test
Run tests in watch mode:
npm run test:watch
Run integration tests specifically:
npm run test:integration
Generate test coverage report:
npm run test:coverage
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"faker-server": {
"command": "/path/to/faker-server/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.