概要
What is faker-server?
faker-server is a TypeScript-based MCP server that provides tools for generating fake data using Faker.js. It helps developers quickly create realistic placeholder data for testing and development.
How to use faker-server?
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.
Key features of faker-server
- 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
Use cases of faker-server
- Generate fake names, addresses, or job titles for UI mockups
- Create dummy emails, usernames, and URLs for testing registration flows
- Fill databases with realistic-looking but synthetic data
- Produce lorem ipsum text for layout and design previews
FAQ from faker-server
What types of fake data can faker-server generate?
It provides tools for person data (names, job titles), lorem ipsum text, internet data (emails, usernames, URLs), dates, and commerce data (products, prices), among many other Faker.js modules.
What are the runtime requirements?
Node.js and npm are required to install dependencies and run the server. The server runs as a script using the built index.js file.
How do I debug faker-server?
Use the MCP Inspector by running npm run inspector. It provides a URL with debugging tools in the browser.
Where does the server configuration live?
For Claude Desktop, the configuration is added to claude_desktop_config.json located at ~/Library/Application Support/Claude/ on macOS or %APPDATA%/Claude/ on Windows.
Does faker-server support internationalization?
Yes, it supports multiple locales such as en, ja, fr, etc., for generating locale-specific fake data.