
Real Fake Data
io.github.przeslijmi由 GitHub 账号 przeslijmi 发布v1.0.0更新于 Oct 24, 2026
Realistic synthetic test data — valid PESELs, NIPs, IBANs, addresses, people across 27 EU countries.
概览
通过托管 API 生成逼真的合成测试数据,如 PESEL、NIP、IBAN、地址、人物与公司,覆盖 27 个欧盟国家。
- 可以做什么
- 发现生成器:列出所有可用生成器的 id、说明与支持的语言区域。
- 生成记录:按 id 运行任意生成器,可传生成器专属选项、记录条数以及用于复现结果的 seed。
- 产出地区化测试数据:如波兰 PESEL、公司名、地址、邮箱与人物,也可生成校验位故意错误的无效数据用于测试校验器。
- 适用场景
- 适合需要格式合法但内容虚构的测试数据时使用,例如预发布数据库、演示、种子脚本或校验器测试,并希望以对话方式让助手生成,而不是在代码里直接调用 REST API。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node 22 或更高版本;需要能访问托管 API 的网络。REAL_FAKE_DATA_API_KEY 中的 API 密钥为可选项,不填则使用匿名通道。可用 REAL_FAKE_DATA_API_BASE_URL 覆盖接口地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Real Fake Data,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@przeslijmi/real-fake-data-mcp
A Model Context Protocol server for Real Fake Data — gives an AI assistant (Claude Desktop, Claude Code, Cursor, …) realistic, synthetic test data on demand: valid PESELs (correct checksums), NIPs, REGONs, IBANs, addresses drawn from real cities and streets, people, and company names across 27 EU countries.
Output looks real but is fake — safe for staging, demos, and seed data.
- Two tools, self-updating.
list_generatorsfor discovery,generateto run any generator by id. New generators on the API appear automatically — no client upgrade. - Thin and stateless. Calls the hosted Real Fake Data API over HTTPS; no data is generated or stored locally.
- Seeded when you want it. Pass a
seedfor reproducible output, or omit it to randomise each call.
Install
No global install needed — point your MCP client at the package via npx. It runs over stdio, so the client spawns it as a subprocess.
Claude Desktop / Claude Code
Add it to your MCP servers config (claude_desktop_config.json, or via claude mcp add):
Restart the client; the real-fake-data tools become available in any conversation.
Requires Node 22+.
Configuration
The client passes configuration through the server's env:
Tools
list_generators
Lists every available generator with its id, description, and supportedLocales. Call it first to discover which ids generate accepts.
You: What fake-data generators are available?
Claude (calls
list_generators) →pl.pesel,pl.company,pl.address,any.email,de.company-name, …
generate
Runs one generator and returns the API's { data, meta } envelope.
You: Generate 3 female Polish people for my staging DB.
Claude (calls
generatewith{ generator: "pl.person", count: 3, options: { sex: "f" } }) → three records of{ name, surname, initials, birthDate, pesel }.
options are the same query parameters the generator exposes on the REST API — list_generators describes each, and the API docs list them in full. Examples: { "format": "digits-only" } for a NIP, { "teryt": "14" } to anchor an address to a region, { "invalid": true } to get a deliberately-wrong checksum for testing your validators.
How it relates to the REST API
This server is a thin MCP front end over the same hosted endpoints the Playwright addon and REST API serve. A generator id maps directly to a route — pl.pesel → GET /v1/pl/pesel, any.email → GET /v1/email — and metering, plan limits, and validation all behave identically. Use this package when you want an AI assistant to produce test data conversationally; use the Playwright addon or the REST API directly from code.
License
MIT
This repository is auto-generated from a private upstream monorepo. Open issues here, but code changes are made upstream and re-synced — pull requests against this repo are applied upstream, not merged directly.
来源:README.md,提交 6183410
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分