faker-server MCP Server
Description
# faker-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…
About
# faker-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…
Details
- Author
- kentrino
- GitHub stars
- 3
- Downloads
- 256
- Categories
- Other, Developer Tools
Jump to
- Tools for generating person, lorem, internet, date, and commerce data
- Support for multiple locales (en, ja, fr, etc.)
- Customizable field selection and configurable parameters
- Written in TypeScript with full test coverage
Install dependencies with npm install, build the server with npm run build, then configure it for use with Claude Desktop by adding a JSON entry pointing to the built index.js file. Alternatively, run npm run inspector for debugging.
generate-person
Generates fake person data including names, emails, phone numbers, and addresses
generate-company
Generates fake company data including names, industries, contact information, and addresses
generate-dataset
Generate a structured dataset with multiple related entities and referential integrity. Supports person, company, and custom entity types with one-to-many and many-to-many relationships. Perfect for creating test databases, mock APIs, and complex data scenarios.
generate-custom
Generates fake data following custom patterns, including regex patterns, enums, formats, and ranges
faker-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 text
- generate_internet - Generate fake internet data (emails, usernames, URLs, etc.)
- generate_date - Generate fake dates
- generate_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.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





