假数据生成工具

fakedata-mcp是一个用于生成逼真假数据的工具,支持创建用户资料、公司信息、交易记录、地址数据以及自定义数据集,适用于测试和开发场景。

  • by gmoneyn
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 gmoneyn/fakedata-mcp

使用说明

fakedata-mcp

Generate realistic fake data for testing and development. Create users, companies, transactions, addresses, and custom datasets in JSON or CSV format.

Install

uvx fakedata-mcp

Or install permanently:

pip install fakedata-mcp

Tools

  • generate_users — Generate realistic fake user profiles with name, email, phone, address, date of birth, and username
  • generate_companies — Generate fake company profiles with name, industry, revenue, employee count, founded date, and website
  • generate_transactions — Generate fake financial transactions with amount, date, merchant, category, payment method, and status
  • generate_addresses — Generate fake street addresses with street, city, state, zip, country, and coordinates
  • generate_text — Generate placeholder text: lorem ipsum paragraphs, realistic sentences, or random words
  • generate_dataset — Generate a custom dataset with user-defined columns and types. Supports: string, integer, float, boolean, email, name, phone, date, url, uuid, ip_address, color, company, job_title

Usage with Claude Code

claude mcp add fakedata-mcp -- uvx fakedata-mcp

Or add to your MCP config (~/.claude/settings.json):

{{
  "mcpServers": {{
    "fakedata-mcp": {
      "command": "uvx",
      "args": ["fakedata-mcp"]
    }}
  }}
}}

Development

git clone https://github.com/YOUR_USERNAME/fakedata-mcp.git
cd fakedata-mcp
uv venv .venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest -v